Ticket #2927 (closed defect: Won't Fix)

Opened 9 months ago

Last modified 3 months ago

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

Changed 9 months ago by ian

  • status changed from new to closed
  • resolution set to wontfix

See r8942. This is properly fixed (at the moment) by modifying zCollectorEncoding. I've opened #2938 for future enhancement.

Changed 3 months ago by bbibeault

  • reviewed set to 0

Changed 3 months ago by bbibeault

  • reviewed changed from 0 to 1
Note: See TracTickets for help on using tickets.