Hi Doug,
Thanks for reporting! That has been fixed in the repo.
-ilya
> On 09 Oct 2015, at 09:03, Doug O'Riordan <ori...@ma...> wrote:
>
> 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
|