You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Say you have an MIB in source form, e.g. VOGON-POEM-MIB. It has dependencies that are already available in compiled form but not (currently) in source form, e.g. SNMPv2-SMI.py since that's bundled with PySNMP.
Create a MibCompiler and addSource such that only the first MIB can be found in source form. Then addSearchers such that the dependencies can be found in compiled form.
MibCompiler.compile will then fail because it will only check the searchers if the sources for the dependencies are also available.
This makes it hard to use the precompiled files in pysnmp.smi.mibs. No combination of searchers and borrowers will fix this situation as far as I can tell.
This may be working as intended or I may be misunderstanding something.
The text was updated successfully, but these errors were encountered:
Say you have an MIB in source form, e.g.
VOGON-POEM-MIB
. It has dependencies that are already available in compiled form but not (currently) in source form, e.g.SNMPv2-SMI.py
since that's bundled with PySNMP.Create a
MibCompiler
andaddSource
such that only the first MIB can be found in source form. ThenaddSearchers
such that the dependencies can be found in compiled form.MibCompiler.compile
will then fail because it will only check the searchers if the sources for the dependencies are also available.This makes it hard to use the precompiled files in
pysnmp.smi.mibs
. No combination of searchers and borrowers will fix this situation as far as I can tell.This may be working as intended or I may be misunderstanding something.
The text was updated successfully, but these errors were encountered: