Closed umair-zink closed 1 month ago
pip list output
Package Version
boto3 1.35.16 botocore 1.35.16 certifi 2024.8.30 cffi 1.17.1 charset-normalizer 3.3.2 cryptography 43.0.1 idna 3.8 Jinja2 3.1.4 jmespath 1.0.1 MarkupSafe 2.1.5 pip 24.2 ply 3.11 pyasn1 0.6.1 pycparser 2.22 pysmi 1.5.0 pysnmp 7.1.0 pysnmpcrypto 0.0.4 python-dateutil 2.9.0.post0 requests 2.32.3 s3transfer 0.10.2 six 1.16.0 urllib3 2.2.2
The entire code base only contains a few protoModules
in comments, so not sure how you triggered this issue.
BTW, those comments have just been revised in the latest commit, so such shouldn't happen again.
Expected behavior
I copied the simple snmp trap listener code and its not running with the latest pysnmp and pyasn1 libraries.
Actual behavior
AttributeError: module 'pysnmp.proto.api' has no attribute 'protoModules'
Detailed steps
I copied and pasted the following code and its not running.
https://github.com/lextudio/pysnmp/blob/main/examples/v1arch/asyncio/manager/ntfrcv/listen-on-ipv4-and-ipv6-interfaces.py
Python package information
sdf
Operating system information
Linux Ubuntu
Python information
3.12.6
(Optional) Contents of your test script
No response
Relevant log output
No response