Hi !
Downgraded to pysnmp-2.0.8 so now I'm able to click on the "Edit database" again.
But now I get this error message too often :
Mod_python error: "PythonHandler editdb"
Traceback (most recent call last):
File "/usr/local/lib/python2.4/site-packages/mod_python/apache.py", line 287, in HandlerDispatch log=debug)
File "/usr/local/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
File "/usr/local/lib/python2.4/site-packages/pysnmp/v1.py", line 14, in ? class Error(asn1.Error):
AttributeError: 'module' object has no attribute 'Error'
Click on the browser refresh button one or two times then it is okey.
-- Med vennlig hilsen / Regards;
Roar Pettersen Universitetet i Bergen - The University of Bergen Nygardsgt. 5 - N-5020 BERGEN - Norway Tlf: +47 55 58 40 55 VIP: 81503 fax: +47 55 58 40 70 roar.pettersen@it.uib.no - IT-Avd, UiB - http://www.uib.no
From morten.vold at uninett.no Mon Mar 27 17:03:28 2006
From: morten.vold at uninett.no (Morten Vold) Date: Mon Mar 27 16:03:38 2006 Subject: [Nav-users] Revision 3400 java compile errors In-Reply-To: Pine.SOC.4.64.0603271554210.25365@alf.uib.no References: Pine.SOC.4.64.0603271214001.25365@alf.uib.no 4427C44C.80608@uninett.no4427E95B.9030807@uninett.no Pine.SOC.4.64.0603271536340.25365@alf.uib.no Pine.SOC.4.64.0603271554210.25365@alf.uib.no Message-ID: 4427F0B0.9060707@uninett.no
Roar Pettersen wrote:
File "/usr/local/lib/python2.4/site-packages/pysnmp/v1.py", line 14, in ? class Error(asn1.Error):
AttributeError: 'module' object has no attribute 'Error'
Click on the browser refresh button one or two times then it is okey.
Your Apache server should be restarted, since parts of your previous pysnmp installation may still be loaded in these processes. I also hope you took care to properly uninstall the 3.3.5 version of pysnmp, or some files from that version might still be hanging around on your system.