As a rookie studying and using Zenoss, i was trying to dump the dev xml file.
But there is the error:
=========================================
# /opt/zenoss/bin/zendevicedump -o /tmp/dev.xml
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenRelations/ExportDevices.py", line 229, in ?
    ex.export()
  File "/opt/zenoss/Products/ZenRelations/ExportDevices.py", line 209, in export
    root.exportXml( buffer, self.options.ignorerels, True )
  File "/opt/zenoss/Products/ZenRelations/RelationshipManager.py", line 292, in 
exportXml
    self.exportXmlRelationships(ofile, ignorerels)
  File "/opt/zenoss/Products/ZenRelations/RelationshipManager.py", line 332, in 
exportXmlRelationships
    rel.exportXml(ofile, ignorerels)
  File "/opt/zenoss/Products/ZenRelations/ToManyContRelationship.py", line 284, 
in exportXml
    obj.exportXml(ofile, ignorerels)
  File "/opt/zenoss/Products/ZenRelations/RelationshipManager.py", line 292, in 
exportXml
    self.exportXmlRelationships(ofile, ignorerels)
  File "/opt/zenoss/Products/ZenRelations/RelationshipManager.py", line 332, in 
exportXmlRelationships
    rel.exportXml(ofile, ignorerels)
  File "/opt/zenoss/Products/ZenRelations/ToManyContRelationship.py", line 283, 
in exportXml
    for obj in self.objectValues():
  File "/opt/zenoss/Products/ZenRelations/ToManyContRelationship.py", line 222, 
in objectValues
    return [ob.__of__(self) for ob in self._objects.values()]
AttributeError: 'MinMaxThreshold' object has no attribute '__of__'
=====================================
and i greped the py file.
#cat /opt/zenoss/Products/ZenRelations/ToManyContRelationship.py|grep __of__
        return [ob.__of__(self) for ob in self._objects.values()]
        obj = obj.__of__(self)
        obj = aq_base(obj).__of__(self)
            return self._objects[id].__of__(self)
            return [ob.__of__(self) for ob in self._objects.values() \
        return [ob.__of__(self) for ob in self._objects.values()]
            yield obj.__of__(self)
            return [(key,value.__of__(self)) \
        return [(key,value.__of__(self)) \
        rel = rel.__of__(container)
======================================
seemed something wrong here :
return [ob.__of__(self) for ob in self._objects.values()]
I guess the ob is NULL so there being no __of__ function here.

Could somebody help? 
thanks soooooo much.
-Alex




-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=39015#39015

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to