Dudes,

We have two fresh 2.1.1 installs one system is configured and a Zenpack 
exported, however when we try to load the zenpack on the other system it fails 
with this error;

raise BadRequest, 'Id %s is invalid or duplicate' % id
zExceptions.BadRequest: Id limit is invalid or duplicate

full error message follows at end.

Having edited the objects.xml top remove reference to 'limit' the zen pack 
fails on the Id 'format', then on the Id 'color' once reference to these Ids is 
removed the Zenpack will load. 

Tried loading the core HelloWorld Zenpack which also fails with the same 'Id 
limit' error

What's the problem?


Full error message;
INFO:zen.ZPLoader:Loading /opt/zenoss/Products/Oracle/objects/objects.xml
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 287, in ?
    zp.run()
  File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 55, in run
    self.install(packName)
  File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 129, in install
    zp.install(self.app)
  File "/opt/zenoss/Products/ZenModel/ZenPack.py", line 109, in install
    loader.load(self, app)
  File "/opt/zenoss/Products/ZenModel/ZenPackLoader.py", line 95, in load
    importer.loadObjectFromXML(xmlfile=f)
  File "/opt/zenoss/Products/ZenRelations/ImportRM.py", line 239, in 
loadObjectFromXML
    parser.parse(self.infile)
  File "/usr/lib/python2.3/xml/sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python2.3/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/lib/python2.3/xml/sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/lib/python2.3/xml/sax/expatreader.py", line 303, in end_element
    self._cont_handler.endElement(name)
  File "/opt/zenoss/Products/ZenModel/ZenPackLoader.py", line 90, in endElement
    ImportRM.endElement(self, name)
  File "/opt/zenoss/Products/ZenRelations/ImportRM.py", line 97, in endElement
    self.setProperty(self.context(), self.curattrs, self.charvalue)
  File "/opt/zenoss/Products/ZenRelations/ImportRM.py", line 158, in setProperty
    obj._setProperty(name, value, type=proptype, setter=setter)
  File "/opt/zenoss/Products/ZenRelations/ZenPropertyManager.py", line 78, in 
_setProperty
    raise BadRequest, 'Id %s is invalid or duplicate' % id
zExceptions.BadRequest: Id limit is invalid or duplicate

.




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

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

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



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

Reply via email to