Begin with the lasr, install the patch. That doesn't work, still the error page with status. When I comment out the next two lines in /usr/lib/python2.5/site-packages/mod_python/importer.py # Check for an attempt by the module to import # itself.
=> # if parent_info: => # assert(file != parent_info.file), "Import cycle in %s." % file
Status seems to be working.
The toolbox/alert profiles page is complete empty, only a white page is displaying.
I see the problem in the apache log: PHP Fatal error: Call to undefined function pg_connect() I forget the php_pg, I think
Anmd I use the source nav-3.3.0.tar.gz
Morten Brekkevold wrote:
On Thu, 01 Nov 2007 17:47:41 +0100 mels firstname.lastname@example.org wrote:
Nav is starting without errors, but in the toolbox Alert Profiles is empty.
What do you mean by empty? Is the descriptive text missing, or the icon?
And Status give the following error page: MOD_PYTHON ERROR
AssertionError: Import cycle in /usr/local/nav/apache/webroot/status/StatusPrefs.py. Any idea what's wrong?
Yes. The same problem was discussed on this list in May. See http://desperados.itea.ntnu.no/pipermail/nav-users/2007-May/001635.html . Basically this error comes up on newer versions of mod_python.
Your options are:
Upgrade to NAV 3.3 (I don't think anyone has made an RPM of this version yet, though. Mr. Krapivin has been strangely silent)
Or apply this patch: http://desperados.itea.ntnu.no/pipermail/nav-users/2007-May/001639.html
nav-users mailing list email@example.com http://mailman.itea.ntnu.no/mailman/listinfo/nav-users