This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jgatkinsn
Recipients jgatkinsn, loewis
Date 2007-12-17.02:28:29
SpamBayes Score 0.033355564
Marked as misclassified No
Message-id <1197858511.31.0.737075309025.issue1636@psf.upfronthosting.co.za>
In-reply-to
Content
Error message from ipython console:
In [28]: mibBuilder2 = builder.MibBuilder().loadModules('ADTRAN-TC')
---------------------------------------------------------------------------
<class 'pysnmp.smi.error.SmiError'>       Traceback (most recent call last)

C:\Documents and Settings\Jack Atkinson\<ipython console> in <module>()

c:\python25\lib\site-packages\pysnmp\v4\smi\builder.py in
loadModules(self, *mod
Names)
     80                     del self.__modPathsSeen[modPath]
     81                     raise error.SmiError(
---> 82                         'MIB module \"%s\" load error: %s' %
(modPath, why)
     83                         )
     84

<class 'pysnmp.smi.error.SmiError'>: MIB module
"c:\python25\lib\site-packages\p
ysnmp\v4\smi\mibs\ADTRAN-TC.py" load error: more than 255 arguments
(ADTRAN-TC.p
y, line 33)


Here's the code that loads it:
try:
execfile(modPath, g)
except StandardError,
why: del self.__modPathsSeen[modPath]
raise error.SmiError( 'MIB module \"%s\" load error: %s' % (modPath, why) )
Files
File name Uploaded
builder.py jgatkinsn, 2007-12-17.02:28:29
History
Date User Action Args
2007-12-17 02:28:31jgatkinsnsetspambayes_score: 0.0333556 -> 0.033355564
recipients: + jgatkinsn, loewis
2007-12-17 02:28:31jgatkinsnsetspambayes_score: 0.0333556 -> 0.0333556
messageid: <1197858511.31.0.737075309025.issue1636@psf.upfronthosting.co.za>
2007-12-17 02:28:31jgatkinsnlinkissue1636 messages
2007-12-17 02:28:30jgatkinsncreate