Re: [pysnmp-users] Traceback with Asyncio pysnmp
Brought to you by:
elie
|
From: Ilya E. <et...@gm...> - 2018-07-22 15:31:09
|
Hi
It would be best to open a GutHub issue against pysnmp and include a short reproducer snippet if possible.
Thanks!
> On 22 Jul 2018, at 16:39, Bharat Joshi <bha...@gm...> wrote:
>
> Hi,
>
> We are using asyncio pysnmp in our project and we sometime get the
> following traceback.
>
> 2018-07-22 01:50:21,125 - 24760 - asyncio - ERROR - Exception in
> callback AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7f7b54c214e0>,
> ('10.0.2.66', 161), b'01\x02\x01\...:\x04\x04eth0')
> handle: <Handle
> AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7f7b54c214e0>,
> ('10.0.2.66', 161), b'01\x02\x01\...:\x04\x04eth0')>
> Traceback (most recent call last):
> File "/usr/lib/python3.4/asyncio/events.py", line 120, in _run
> self._callback(*self._args)
> File "/home/vunet/workspace/vunetenv/lib/python3.4/site-packages/pysnmp/carrier/base.py",
> line 58, in _cbFun
> 'Unregistered transport %s' % (incomingTransport,)
> pysnmp.carrier.error.CarrierError: Unregistered transport
> <pysnmp.carrier.asyncio.dgram.udp.UdpAsyncioTransport object at
> 0x7f7b54c214e0>
>
> We are using asyncio to do SNMP to multiple devices simultaneously and
> we see the above error and data for that device is not collected.
>
> It would be great if someone can help us with this issue.
>
> Regards,
> Bharat Joshi
> http://iiesoc.in
> http://bite-the-bytes.blogspot.com/
> https://twitter.com/Bite_the_bytes
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> pysnmp-users mailing list
> pys...@li...
> https://lists.sourceforge.net/lists/listinfo/pysnmp-users
|