Hi.
/editdb gives following error in the latest bleeding edge version of nav:
Mod_python error: "PythonHandler editdb"
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 287, in HandlerDispatch log=debug)
File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 457, in import_module module = imp.load_module(mname, f, p, d)
File "/usr/local/nav/apache/webroot/editdb/editdb.py", line 29, in ? import editTables,nav.Snmp,sys,re,copy,initBox,forgetSQL,nav.web
File "/usr/local/nav/lib/python/nav/Snmp.py", line 34, in ? from pysnmp import role, v1, v2c, asn1
ImportError: cannot import name role
- odd arne hauge
Hauge Odd Arne wrote:
/editdb gives following error in the latest bleeding edge version of nav:
[...]
File "/usr/local/nav/lib/python/nav/Snmp.py", line 34, in ? from pysnmp import role, v1, v2c, asn1
ImportError: cannot import name role
Downgrade to the latest stable pysnmp library, pysnmp version 2: http://desperados.itea.ntnu.no/pipermail/nav-users/2006-March/001284.html