Re: [pysnmp-users] PySNMP 4.3.1 strange prettyPrint() output
Brought to you by:
elie
From: Wei W. <ww...@9r...> - 2015-11-18 22:11:49
|
Ilya: Thanks for the amazing support. I just did all that, except I could not find pysmi 0.0.7 -- 0.0.6 seems to be the latest on Pypi. I am still getting the same SmiError (Value OctetString(hexValue='555320000000') to type 'OctetString' convertion failure: ...) and no other debug message from pysmi. On Wed, Nov 18, 2015 at 4:54 PM, Ilya Etingof <il...@gl...> wrote: > > To troubleshoot the MIB compilation issue I’d advise: > > * Not a solution, but a quick cure: just run mibdump.py and collect > compiled MIBs from where it stores them. > I just checked, it works out-of-the-box pulling this and all required > MIBs from web: > > $ mibdump.py AIRESPACE-WIRELESS-MIB > > * Make sure you are running the latest version of pysmi from pypi (0.0.7) > > * Enable pysmi debugging in your script and re-run your script to see > where exactly it looks for MIB files: > > from pysmi import debug > debug.setLogger(debug.Debug(‘reader')) > > There’s documentation on pysmi internals, but it may be too low level in > this case: > > http://pysmi.sf.net > > -ilya > |