etingof / snmpsim

SNMP Simulator
http://snmplabs.com/snmpsim/
BSD 2-Clause "Simplified" License
376 stars 119 forks source link

arg parser missing `row_hint` or `row-hint` #133

Open mmodenesi opened 4 years ago

mmodenesi commented 4 years ago
/app # snmpsim-record-mibs --mib-module=IF-MIB
# MIB module: IF-MIB, from the beginning till the end
Traceback (most recent call last):
  File "/usr/local/bin/snmpsim-record-mibs", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.7/site-packages/snmpsim/commands/mib2rec.py", line 461, in main
    if not args.row_hint:
AttributeError: 'Namespace' object has no attribute 'row_hint'
gainskills commented 3 years ago

can you try the fork: https://github.com/gainskills/snmpsim to see if it works as expected?

mmodenesi commented 3 years ago

@gainskills it works