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

rec2rec - AttributeError: 'Namespace' object has no attribute 'mib_source' #140

Open
dschultzca opened this issue Apr 30, 2020 · 2 comments

Comments

@dschultzca
Copy link

Running the command to convert snmpwalk to snmprec, I encounter this error.
I installed master from this repo 2 weeks ago. Using Python 3.6.8 on CentOS Linux release 7.7.1908 (Core)

[user@server data]$ snmpsim-manage-records --input-file=modem.snmpwalk --source-record-type=snmpwalk
Traceback (most recent call last):
  File "/home/dale/py3venv/snmp_sim/bin/snmpsim-manage-records", line 11, in <module>
    load_entry_point('snmpsim==1.0.0', 'console_scripts', 'snmpsim-manage-records')()
  File "/home/dale/py3venv/snmp_sim/lib64/python3.6/site-packages/snmpsim/commands/rec2rec.py", line 154, in main
    if not args.mib_source:
AttributeError: 'Namespace' object has no attribute 'mib_source'
@thekafkaf
Copy link

Its a typo and there are some more similar naming errors I fixed in #142

@gainskills
Copy link

Its a typo and there are some more similar naming errors I fixed in #142

Could you please suggest how you resolved the "AttributeError: 'Namespace' object has no attribute 'xxx'" issue?

There is a similar issue #147, want to see if I could fix it by follow your way.

Thanks,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants