[pysnmp-users] Bug in 4.3.0 ('errorIndication' referenced before assignment)
Brought to you by:
elie
From: Doug O'R. <ori...@ma...> - 2015-10-09 07:23:02
|
Hi Ilya, Found a bug(?) in the latest release. If you try to walk / getnext an OID tree which doesn't exist, the code throws the following exception: File "/opt/python/3.4/lib/python3.4/site-packages/pysnmp/entity/rfc3413/oneliner/cmdgen.py", line 248, in bulkCmd return errorIndication, errorStatus, errorIndex, varBindTable UnboundLocalError: local variable 'errorIndication' referenced before assignment GET returns a NoSuchObject properly. Hope this helps. Cheers, Doug ----------------------------------------------------- Mail.be, WebMail and Virtual Office http://www.mail.be |