TypeError: MyStaticMibScalarInstance.getValue() got an unexpected keyword argument 'snmpEngine' #136
Labels
bug
Something isn't working
priority:low
Low priority items.
triage
New issues that need to be sorted out.
Expected behavior
When running the example available in the documentation (agent-side-mib-implementations#agent-side-mib-implementations), I should be able to retrieve the value defined in the function getValue (class MyStaticMibScalarInstance)
Actual behavior
When running the example, I get the following error:
TypeError: MyStaticMibScalarInstance.getValue() got an unexpected keyword argument 'snmpEngine'
Detailed steps
Once the script is running, I performed the following command:
snmpget -v 2c -c public 127.0.0.1:20161 1.3.6.5.1.0
Python package information
certifi 2024.7.4 cffi 1.17.0 charset-normalizer 3.3.2 cryptography 43.0.0 idna 3.8 Jinja2 3.1.4 MarkupSafe 2.1.5 pip 24.2 ply 3.11 pyasn1 0.6.0 pycparser 2.22 pysmi 1.5.4 pysnmp 7.1.8 pysnmpcrypto 0.0.4 requests 2.32.3 setuptools 59.6.0 snmpsim 1.1.7 urllib3 2.2.2
Operating system information
Linux
Python information
3.10.12
(Optional) Contents of your test script
No response
Relevant log output
The text was updated successfully, but these errors were encountered: