Closed FrogAtGithub closed 5 years ago
Sorry for the late answer!
I believe you should use the --mib-source=
option to point mibdump
to the directory where you have your MIB. Perhaps something like --mib-source=file:///sandbox
though you may need to experiment with the URI syntax on Windows.
Hi, I faced the same problem on Windows. It is caused by urlparse.urlparse
in file pysmi/reader/url.py
urlparse result for file scheme in windows is leaving a slash at the beginning. Take a look at the following thread at stowfl: https://stackoverflow.com/questions/43911052/urlparse-on-a-windows-file-scheme-uri-leaves-extra-slash-at-start
@mr-sven Thanks! If you could push a PR working this around, I'd happily merge it. Otherwise I will address this a bit later.
@mr-sven I just added the same thing for Py2 and cherry-picked the entire patch chain to the older branch (0.3.5). Let me know if you need a release.
Thank you and sorry for sluggish responses!
Hi, Using a command prompt with Windows 10, with mibdump.py and MAV3-MIB.mib being in the same folder (C:/sandbox), i am running the following command :
It results in the following :
Could you please help understanding why the MIB appears as missing ?
Thanks F