snmpsim icon indicating copy to clipboard operation
snmpsim copied to clipboard

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

Open mmodenesi opened this issue 4 years ago • 2 comments

/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'

mmodenesi avatar Mar 22 '20 22:03 mmodenesi

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

gainskills avatar Aug 03 '20 21:08 gainskills

@gainskills it works

mmodenesi avatar Aug 04 '20 00:08 mmodenesi