Hi Morten
networker2:~ # python Python 2.3.3 (#1, Feb 5 2005, 16:46:56) [GCC 3.3.3 (SuSE Linux)] on linux2 Type "help", "copyright", "credits" or "license" for more information
Pete Hoffswell 616-732-1101 (Grand Rapids, x1101) University LAN/WAN Coordinator 616-510-1198 (Mobile) IT Services pete.hoffswell@davenport.edu Davenport University http://www.davenport.edu
Davenport University. It's working. .
from nav.db.navprofiles import Account
Traceback (most recent call last): File "<stdin>", line 1, in ? ImportError: cannot import name Account
Aditya Rajgarhia arajgarh@iwu.edu did mention software versions. Do you have any suggestions as to which packages I should maybe look at?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 01/08/2005 13:21, Pete Hoffswell uttered:
I get this directly after restarting apache:
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 45, in headerparserhandler import nav.web.auth File "/usr/local/nav/lib/python/nav/web/auth.py", line 34, in ? from nav.db.navprofiles import Account, Accountnavbar, NavbarlinkImportError: cannot import name Account
Looks like more strange circular import problems, but we see none of those here. What happens if you start your python interpreter and just enter this line: "from nav.db.navprofiles import Account"?
BTW; Please do not post HTML to the list (as mentioned on http://mailman.itea.ntnu.no/mailman/listinfo/nav-users) - although your mailer produces an alternative plaintext content, it mucks up the text formatting of the errors you quoted, making them harder to read.
- -- Morten Vold NTNU ITEA Integrasjonsgruppen