Skip to content

AttributeError: 'module' object has no attribute 'FLAG_MAP' #12

Open
@wiemp

Description

@wiemp

Executing
snmpsim-command-responder --data-dir=./data --agent-udpv4-endpoint=127.0.0.1:1024

results in

Traceback (most recent call last): File "/bin/snmpsim-command-responder", line 9, in <module> load_entry_point('thola-snmpsim==1.0.0', 'console_scripts', 'snmpsim-command-responder')() File "/usr/lib/python2.7/site-packages/thola_snmpsim-1.0.0-py2.7.egg/snmpsim/commands/responder.py", line 236, in main '--debug-asn1', choices=pyasn1_debug.FLAG_MAP, AttributeError: 'module' object has no attribute 'FLAG_MAP'

Suggested fix:
snmpsim/commands/responder.py:236

   ` '--debug-asn1', choices=pyasn1_debug.FLAG_MAP,`

to

    `'--debug-asn1', choices=pyasn1_debug.flagMap,`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions