Quickfix:

add the following 3 lines in zenoss/Products/DataCollector/ApplyDataMap.py:

                except UnicodeEncodeError:
                    decoding = obj.zCollectorDecoding
                    value = value.decode(decoding)


below (near line 224):
        for attname, value in objmap.items():
            if type(value) == type(''):
                try:
                    value.encode('ascii')
                except UnicodeDecodeError:
                    decoding = obj.zCollectorDecoding
                    value = value.decode(decoding)




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

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

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



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

Reply via email to