That's interesting....

What version of python are you using? I believe sets were introduced in 2.4. Maybe it was 2.3 tho...

On my python 2.4 it looks like this:
Python 2.4.4 (#1, Oct 18 2006, 10:34:39)
[GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> foo = set('a')
>>> foo
set(['a'])



-c

On Apr 26, 2007, at 9:33 AM, Smith, Richard - IT wrote:


Just FYI .. ..



2007-04-26 09:31:40     ERROR    zen.Device     exception collecting data
for device XXX.XXX.XXX.XXX      
Traceback (most recent call last): File
"/opt/zenoss/Products/ZenModel/Device.py", line 1176, in collectDevice
sc.collectSingle(self) File
"/opt/zenoss/Products/DataCollector/zenmodeler.py", line 440, in
collectSingle self.fillCollectionSlots() File
"/opt/zenoss/Products/DataCollector/zenmodeler.py", line 306, in
fillCollectionSlots self.collectDevice(device) File
"/opt/zenoss/Products/DataCollector/zenmodeler.py", line 138, in
collectDevice self.snmpCollect(device, ip, timeout) File
"/opt/zenoss/Products/DataCollector/zenmodeler.py", line 209, in snmpCollect
self.addClient(client, timeout, 'snmp', device.id) File
"/opt/zenoss/Products/DataCollector/zenmodeler.py", line 215, in addClient obj.run() File "/opt/zenoss/Products/DataCollector/SnmpClient.py", line 70,
in run self.proxy.open() File
"opt/zenoss/lib/python/pynetsnmp/twistedsnmp.py", line 163, in open File "opt/zenoss/lib/python/pynetsnmp/twistedsnmp.py", line 76, in updateReactor
NameError: global name 'set' is not defined     

Sincerely,

Richard J. Smith

_______________________________________________
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