Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

snmpsim: ModuleNotFoundError: No module named 'pyasn1.compat.octets' #117

Closed
Jellyfrog opened this issue Sep 12, 2024 · 1 comment
Closed
Labels
area:snmpsim SNMP Simulator bug Something isn't working

Comments

@Jellyfrog
Copy link

Expected behavior

It working :)

Actual behavior

After pyasn1 releases 0.6.1 it broke snmpsim.
This is the same issue as in #113

$ ./bin/snmpsim-command-responder-lite
Traceback (most recent call last):
  File "/tmp/snmpsim/./bin/snmpsim-command-responder-lite", line 5, in <module>
    from snmpsim.commands.responder_lite import main
  File "/tmp/snmpsim/lib/python3.12/site-packages/snmpsim/commands/responder_lite.py", line 26, in <module>
    from snmpsim import controller
  File "/tmp/snmpsim/lib/python3.12/site-packages/snmpsim/controller.py", line 15, in <module>
    from snmpsim import datafile
  File "/tmp/snmpsim/lib/python3.12/site-packages/snmpsim/datafile.py", line 12, in <module>
    from pyasn1.compat.octets import str2octs
ModuleNotFoundError: No module named 'pyasn1.compat.octets'

Detailed steps

The steps are,

Python package information

snmpsim==1.1.5

Operating system information

Linux

Python information

3.12.3

(Optional) Contents of your test script

No response

Relevant log output

No response

@Jellyfrog Jellyfrog added bug Something isn't working triage New issues that need to be sorted out. labels Sep 12, 2024
@lextm lextm added the area:snmpsim SNMP Simulator label Sep 12, 2024
@lextm lextm closed this as completed Sep 12, 2024
@lextm
Copy link

lextm commented Sep 12, 2024

Fixed in release 1.1.6.

@lextm lextm removed the triage New issues that need to be sorted out. label Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:snmpsim SNMP Simulator bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants