Hello All, I'm trying Zenoss 0.22.2 with FC5 and I've found a problem adding a new Windows XP SP2 machine with the MS SNMP Service; zenmodeler collect all the device's info with no error but opening the OS Tab of the new device, Zope return a "Site Error" with a well know unicode error :-)
Error Type: UnicodeDecodeError Error Value: 'ascii' codec can't decode byte 0xe0 in position 61: ordinal not in range(128) This is the relative output from event.log : 2006-08-28T16:46:30 ERROR Zope.SiteErrorLog http://192.168.9.151:8080/zport/dmd/Devices/Server/Windows/devices/192.168.8.151/deviceOsDetail Traceback (most recent call last): File "/usr/local/zenoss/lib/python/ZPublisher/Publish.py", line 114, in publish request, bind=1) File "/usr/local/zenoss/lib/python/ZPublisher/mapply.py", line 88, in mapply if debug is not None: return debug(object,args,context) File "/usr/local/zenoss/lib/python/ZPublisher/Publish.py", line 40, in call_object result=apply(object,args) # Type s<cr> to step into published object. File "/usr/local/zenoss/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__ return self._bindAndExec(args, kw, None) File "/usr/local/zenoss/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec return self._exec(bound_data, args, kw) 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 105, in pt_render return output.getvalue() File "/usr/lib/python2.4/StringIO.py", line 271, in getvalue self.buf += ''.join(self.buflist) UnicodeDecodeError: 'ascii' codec can't decode byte 0xe0 in position 61: ordinal not in range(128) At the same time, zenperfsnmp stop working even if the process il alive; running the command "zenperfsnmp run -v 10" this is the output: ERROR:zen.zenperfsnmp:Error: Traceback (most recent call last): Failure: xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1475, column 76 I think the problem is with the full name of Ethernet interface published from the Windows XP machine in Zenoss; this interface cointains the accented "a" (ascii code 0xe0). So, my questions are: there is a way to rename this interface (from zport/manage)? Or is this a problem already resolved in svn tree (version 2216)? Thanks all. Gianpaolo. _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
