error with netsnmp.snmpwalk in libsnmp-python
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
net-snmp (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Here's the python code:
import netsnmp
oid = netsnmp.
result = netsnmp.
and, here's the output
[L:root@
error: walk: unknown python error (varlist)#
also,
[L:root@
Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import netsnmp
>>> oid = netsnmp.
>>> result = netsnmp.
error: walk: unknown python error (varlist)>>>
TypeError: expected string or Unicode object, NoneType found
(I pressed enter and TypeError line occured)
and,
[L:root@
SNMPv2-
So SNMP works.
System: Lucid amd64, with the most current packages.
Package: libsnmp-python dfsg0ubuntu1- 0ubuntu2. 1
New: yes
State: installed
Automatically installed: no
Version: 5.4.2.1~
Priority: optional
Section: universe/python
Maintainer: Ubuntu Core Developers <email address hidden>
Uncompressed Size: 1057k
Depends: python (< 2.7), python (>= 2.6), python-central (>= 0.6.11), libc6 (>= 2.4), libsnmp15 (>= 5.4.2.1~dfsg)
Description: SNMP (Simple Network Management Protocol) Python support
The Simple Network Management Protocol (SNMP) provides a framework for the exchange of management information between agents (servers) and clients.
The Net-SNMP Python support files provide the Python functions for integration of SNMP into applications written in Python. net-snmp. sourceforge. net/
Homepage: http://
This is the version.