Re: Another python problem in cygwin
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 26/12/2007, Jack G Atkinson Jr <[email protected]> wrote: >> It sounds suspiciously as if the python interface can't find the MIB >> definitions. Where is this file installed? > It is located in /usr/local/share/snmp/mibs directory or > (c:\tools\cygwin\usr\local\share\snmp\mibs from Windows' > perspective) OK - that sounds sensible. (Which is probably why the command-line tools are happy). The next thing to check is what path the python interface is using to look for MIB files. You need to set the debug token 'parse-mibs'. I'm not familiar with the python bindings myself, but the C call to do this would be debug_register_tokens("parse-mibs"); I'll leave the equivalent python incantation to those who know about such things. Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users