Giter Site home page Giter Site logo

Missing source MIB about pysmi HOT 4 CLOSED

etingof avatar etingof commented on August 28, 2024
Missing source MIB

from pysmi.

Comments (4)

etingof avatar etingof commented on August 28, 2024

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.

from pysmi.

mr-sven avatar mr-sven commented on August 28, 2024

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

from pysmi.

etingof avatar etingof commented on August 28, 2024

@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.

from pysmi.

etingof avatar etingof commented on August 28, 2024

@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!

from pysmi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.