Archived community.zenoss.org | full text search
Skip navigation
1251 Views 1 Reply Latest reply: Nov 4, 2011 1:43 PM by jmp242 RSS
dchenbecker Rank: White Belt 10 posts since
Feb 26, 2008
Currently Being Moderated

Nov 1, 2011 12:00 AM

Commas in names, now can't delete...

I have several devices with commas in the names and I tried the advice here: message/57828. The problem is that now I can still see the device names with commas, but I can't delete them anymore:

 

>>> for dev in dmd.Devices.getSubDevices():

...   print "OK"

...

Traceback (most recent call last):

  File "<console>", line 1, in <module>

  File "/usr/local/zenoss/zenoss/Products/ZenModel/DeviceOrganizer.py", line 116, in getSubDevices

return list(devices)

  File "/usr/local/zenoss/zenoss/Products/ZenModel/DeviceOrganizer.py", line 113, in <lambda>

devices = ifilter(lambda dev:self.checkRemotePerm(ZEN_VIEW, dev),

  File "/usr/local/zenoss/zenoss/Products/ZenModel/ZenModelBase.py", line 323, in checkRemotePerm

return user.has_permission(permission, robject.primaryAq())

  File "/usr/local/zenoss/zenoss/Products/ZenRelations/PrimaryPathObjectManager.py", line 80, in primaryAq

return getObjByPath(app, self.getPrimaryPath())

  File "/usr/local/zenoss/zenoss/Products/ZenUtils/Utils.py", line 294, in getObjByPath

raise NotFound( name )

NotFound: Wichita- KS B13 AP

 

That "-" should be a comma. Any ideas on how to undo the change? I tried going into the Zope admin console but it shows the device with a comma there. Clicking on the device gives me a zope error.

 

Thanks,

 

Derek

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points