Ticket #2927 (closed defect: Won't Fix)
UnicodeDecodeError processing HRSWInstalledMap on a Windows server
| Reported by: | cluther | Owned by: | ian |
|---|---|---|---|
| Priority: | 2 - High | Milestone: | zenoss-2.2 |
| Component: | DataCollector | Version: | 2.1.72 |
| Keywords: | Cc: | ||
| Community Patch Attached: | Deployed @ Customer: | ||
| Installer: | Maintenance Target: | ||
| Specific ZenPack: | Maintenance Status: | ||
| Documentation Note?: | Not required | Regression: |
Description
This ticket is somewhat related to #2523, but is a UnicodeDecodeError instead of a UnicodeEncodeError. I believe these two errors must be handled differently.
2008-04-08 07:34:32 ERROR zen.ApplyDataMap plugin zenoss.snmp.HRSWInstalledMap device ********
Traceback (most recent call last): File "/home/zenoss/Products/DataCollector/ApplyDataMap.py", line 100, in processClient changed = self._applyDataMap(device, datamap) File "/home/zenoss/Products/DataCollector/ApplyDataMap.py", line 141, in _applyDataMap changed = self._updateRelationship(tobj, datamap) File "/home/zenoss/Products/DataCollector/ApplyDataMap.py", line 176, in _updateRelationship changed = self._createRelObject(device, objmap, rname) File "/home/zenoss/Products/DataCollector/ApplyDataMap.py", line 308, in _createRelObject self._updateObject(remoteObj, objmap) File "/home/zenoss/Products/DataCollector/ApplyDataMap.py", line 227, in _updateObject value.encode('ascii') UnicodeDecodeError: 'ascii' codec can't decode byte 0x96 in position 27: ordinal not in range(128)
Change History
Note: See
TracTickets for help on using
tickets.