i sent an email on the mailing list yesterday with an error. Seems someone has had the error before, but it's in Norweigan. Can anyone help or translate? http://desperados.itea.ntnu.no/pipermail/nav-users/2004-May.txt The error is the following: *** Mod_python error: "PythonHeaderParserHandler nav.web" Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 299, in HandlerDispatch result = object(req) File "/usr/local/nav/lib/python/nav/web/__init__.py", line 55, in headerparserhandler nav.web.auth.authenticate(req) AttributeError: 'module' object has no attribute 'authenticate' *** Thanks, Aditya Assistant System Administrator Illinois Wesleyan University
From tlan at itea.ntnu.no Fri Jul 8 09:12:33 2005 From: tlan at itea.ntnu.no (Thomas =?iso-8859-1?Q?Lang=E5s?=) Date: Fri Jul 8 08:12:41 2005 Subject: [Nav-users] In-Reply-To: <7815918.1120765731058.JavaMail.arajgarh@iwu.edu> References: <7815918.1120765731058.JavaMail.arajgarh@iwu.edu> Message-ID: <20050708061233.GA8049@stud.ntnu.no>
Aditya Rajgarhia:
i sent an email on the mailing list yesterday with an error. Seems someone has had the error before, but it's in Norweigan. Can anyone help or translate?
http://desperados.itea.ntnu.no/pipermail/nav-users/2004-May.txt
The error is the following: ***
Mod_python error: "PythonHeaderParserHandler nav.web"
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 299, in HandlerDispatch result = object(req)
File "/usr/local/nav/lib/python/nav/web/__init__.py", line 55, in headerparserhandler nav.web.auth.authenticate(req)
AttributeError: 'module' object has no attribute 'authenticate' ***
Which version of nav are you using? There's one fix to such an error-message, but that's related to an old version of NAV (afaik). Which you found parts of the mailinglist-thread for, here's the mentioned solution in that thread: Open /usr/local/nav/lib/python/nav/web/auth.py in an editor and remove the line that says: from nav import users -- Thomas
From werner at skolelinux.no Fri Jul 8 09:22:35 2005 From: werner at skolelinux.no (Morten Werner Olsen) Date: Fri Jul 8 08:22:44 2005 Subject: [Nav-users] traffic map / configuring vlan In-Reply-To: <42CD78FD.8050903@ll.mit.edu> References: <42CD629E.9080307@ll.mit.edu> <b4c110fd0507071053c561cf5@mail.gmail.com> <42CD6F87.4090000@ll.mit.edu> <b4c110fd05070711224abf8139@mail.gmail.com> <42CD78FD.8050903@ll.mit.edu> Message-ID: <20050708062235.GD9990@debra.uio.no>
On Thu, Jul 07, 2005 at 02:48:29PM -0400, Elizabeth Bodine wrote:
I believe I have found the error - getDeviceData.log says:
/usr/lib/nav/getDeviceData.sh: line 48: /usr/lib/j2sdk1.4-sun/jre/bin/java: No such file or directory
The actual path needed is /usr/lib/j2sdk1.4/.... Is there a variable I can set and/or a file I can change to reflect the actual path, or should I just add a symbolic link?
How have you installed Java? If you follow the instructions in README.Debian following the Debian package, Java is installed in /usr/lib/j2sdk1.4-sun/.. so if you've installed Java another way, a symlink might be just ok. :) - Werner
From arajgarh at iwu.edu Fri Jul 8 10:35:30 2005 From: arajgarh at iwu.edu (Aditya Rajgarhia) Date: Fri Jul 8 16:35:44 2005 Subject: [Nav-users] Message-ID: <2095394.1120833330918.JavaMail.arajgarh@iwu.edu>
Thanks for the reply. I'm using NAV 3.0 rc1, and the solution which you wrote for the old one is not valid because that line isn't there in the new NAV. Any other ideas? I don't know why its giving this error, in the python I can import the module nav.web.auth. However I cannot import nav.web.auth.authenticate, it says that the module doesn't exist. How to fix? Thanks Aditya ---------- Thomas Lang?s wrote:
Aditya Rajgarhia:
i sent an email on the mailing list yesterday with an error. Seems someone has had the error before, but it's in Norweigan. Can anyone help or translate?
http://desperados.itea.ntnu.no/pipermail/nav-users/2004-May.txt
The error is the following: ***
Mod_python error: "PythonHeaderParserHandler nav.web"
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 299, in HandlerDispatch result = object(req)
File "/usr/local/nav/lib/python/nav/web/__init__.py", line 55, in headerparserhandler nav.web.auth.authenticate(req)
AttributeError: 'module' object has no attribute 'authenticate' ***
Which version of nav are you using? There's one fix to such an error-message, but that's related to an old version of NAV (afaik). Which you found parts of the mailinglist-thread for, here's the mentioned solution in that thread:
Open /usr/local/nav/lib/python/nav/web/auth.py in an editor and remove the line that says: from nav import users
-- Thomas
participants (1)
-
arajgarh@iwu.edu