[snmpsim-users] mib2dev.py error
Brought to you by:
elie
|
From: <moh...@gm...> - 2013-09-19 05:20:12
|
Hi,
mib2dev.py reports the following error and stops running. Please help me
resolve this error.
*>mib2dev.py --mib-module=IF-MIB
# MIB module: IF-MIB
# Starting table IF-MIB::ifTable (1.3.6.1.2.1.2.2)
# Synthesizing row #1 of table 1.3.6.1.2.1.2.2.1
# Synthesizing row #2 of table 1.3.6.1.2.1.2.2.1
# Synthesizing row #3 of table 1.3.6.1.2.1.2.2.1
# Synthesizing row #4 of table 1.3.6.1.2.1.2.2.1
# Synthesizing row #5 of table 1.3.6.1.2.1.2.2.1
# Synthesizing row #6 of table 1.3.6.1.2.1.2.2.1
# Synthesizing row #7 of table 1.3.6.1.2.1.2.2.1
# Synthesizing row #8 of table 1.3.6.1.2.1.2.2.1
# Synthesizing row #9 of table 1.3.6.1.2.1.2.2.1
# Finished table 1.3.6.1.2.1.2.2.1 (10 rows)
Traceback (most recent call last):
File "C:\apps\Python33\Scripts\mib2dev.py", line 348, in <module>
dataFileHandler.format(oid, val)
TypeError: must be str, not bytes*
Using Python version 3.3.2
Thanks,
Kiran
|