Hi Gianpaolo,

We're stumped on this one. Does the problem clear up when you remove and add the device?

-Eric

dreamer wrote:
Hi Eric,
I tried with the svn revision 2221 and the problem magicallyHi
disappeared... Thanks to Microsoft for this Italian translation. :-)

Now, adding some network devices, I found another problem with the
interfaces status page; the device is a Cisco Aironet AP 1121 with snmp
configured, and this is the zope's error reported when I click on any
network interfaces:

Site Error

An error was encountered while publishing this resource.

Error Type: BadRequest
Error Value: ('Empty or invalid id specified', '')

And this is the entry reported in event.log:

2006-08-30T18:02:25 ERROR Zope.SiteErrorLog
http://192.168.9.151:8080/zport/dmd/Devices/Network/Switch/devices/dimensysap.dimensys.priv/os/interfaces/BVI1
Traceback (most recent call last):
  File "usr/local/zenoss/lib/python/ZPublisher/Publish.py", line 114, in
publish
  File "usr/local/zenoss/lib/python/ZPublisher/mapply.py", line 88, in
mapply
  File "usr/local/zenoss/lib/python/ZPublisher/Publish.py", line 40, in
call_object
  File "/usr/local/zenoss/Products/ZenModel/ZenModelBase.py", line 49,
in __call__
    return self.restrictedTraverse(view)()
  File "usr/local/zenoss/lib/python/Shared/DC/Scripts/Bindings.py", line
311, in __call__
  File "usr/local/zenoss/lib/python/Shared/DC/Scripts/Bindings.py", line
348, in _bindAndExec
  File "/usr/local/zenoss/Products/CMFCore/FSPageTemplate.py", line 195,
in _exec
    result = self.pt_render(extra_context=bound_names)
  File "/usr/local/zenoss/Products/CMFCore/FSPageTemplate.py", line 134,
in pt_render
    result = FSPageTemplate.inheritedAttribute('pt_render')(
  File
"usr/local/zenoss/lib/python/Products/PageTemplates/PageTemplate.py",
line 104, in pt_render
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 206, in
__call__
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 250, in
interpret
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 711, in
do_useMacro
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 250, in
interpret
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 426, in
do_optTag_tal
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 411, in
do_optTag
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 406, in
no_tag
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 250, in
interpret
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 711, in
do_useMacro
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 250, in
interpret
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 426, in
do_optTag_tal
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 411, in
do_optTag
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 406, in
no_tag
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 250, in
interpret
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 734, in
do_defineSlot
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 250, in
interpret
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 426, in
do_optTag_tal
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 411, in
do_optTag
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 406, in
no_tag
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 250, in
interpret
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 734, in
do_defineSlot
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 250, in
interpret
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 426, in
do_optTag_tal
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 411, in
do_optTag
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 406, in
no_tag
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 250, in
interpret
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 677, in
do_condition
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 250, in
interpret
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 426, in
do_optTag_tal
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 411, in
do_optTag
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 406, in
no_tag
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 250, in
interpret
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 711, in
do_useMacro
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 250, in
interpret
  File "usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 651, in
do_loop_tal
  File "usr/local/zenoss/lib/python/Products/PageTemplates/TALES.py",
line 206, in setRepeat
  File "usr/local/zenoss/lib/python/Products/PageTemplates/TALES.py",
line 221, in evaluate
  File
"usr/local/zenoss/lib/python/Products/PageTemplates/ZRPythonExpr.py",
line 47, in __call__
  File "Python expression "here.getDefaultGraphs(drange=drange)"", line
1, in <expression>
  File "/usr/local/zenoss/Products/ZenModel/RRDView.py", line 90, in
getDefaultGraphs
    template = self.getRRDTemplate()
  File "/usr/local/zenoss/Products/ZenModel/DeviceComponent.py", line
89, in getRRDTemplate
    templ = super(DeviceComponent, self).getRRDTemplate(name)
  File "/usr/local/zenoss/Products/ZenModel/RRDView.py", line 137, in
getRRDTemplate
    devs.rrdTemplates._setObject(name, templ)
  File
"/usr/local/zenoss/Products/ZenRelations/ToManyContRelationship.py",
line 89, in _setObject
    self.addRelation(object)
  File
"/usr/local/zenoss/Products/ZenRelations/ToManyContRelationship.py",
line 81, in addRelation
    ToManyRelationshipBase.addRelation(self, obj)
  File "/usr/local/zenoss/Products/ZenRelations/RelationshipBase.py",
line 72, in addRelation
    self._add(obj)
  File
"/usr/local/zenoss/Products/ZenRelations/ToManyContRelationship.py",
line 112, in _add
    v=self._checkId(id)
  File "usr/local/zenoss/lib/python/OFS/ObjectManager.py", line 63, in
checkValidId
BadRequest: ('Empty or invalid id specified', '')



Tell me in you need further info.

Thanks.
Gianpaolo


Eric Newton ha scritto:
Hi Gianpaolo,

This should be working better as of 2201:

   http://dev.zenoss.org/trac/changeset/2201

You will probably have to remodel your device if it hasn't been modeled
since then.

Unfortunately, my windows machines tend not to name things outside the
ascii range.  If you are in a position to update your system to the
latest version and re-model the device, I would appreciate any feedback
you can provide.

-Eric


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


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

Reply via email to