After bulk importing 100 GSW devices with the same amount of locations ,also bulk imported, the status page failes. All other tools seems to be working. The error is:
Mod_python error: "PythonHandler status"
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch result = object(req)
File "/var/www/nav/status/status.py", line 71, in handler output = indexInternal(req)
File "/var/www/nav/status/status.py", line 108, in indexInternal statusPage = StatusPage(req,prefs)
File "/var/www/nav/status/status.py", line 130, in __init__ for section in prefs.sections:
TypeError: iteration over non-sequence
I tried a reboot of the server, but to no advantage
-- Rikard
Rikard Stemland Skjelsvik rskjels@pogostick.net wrote:
After bulk importing 100 GSW devices with the same amount of locations ,also bulk imported, the status page failes. All other tools seems to be working. The error is:
Mod_python error: "PythonHandler status"
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch result = object(req)
File "/var/www/nav/status/status.py", line 71, in handler output = indexInternal(req)
File "/var/www/nav/status/status.py", line 108, in indexInternal statusPage = StatusPage(req,prefs)
File "/var/www/nav/status/status.py", line 130, in __init__ for section in prefs.sections:
TypeError: iteration over non-sequence
I think you may have been affeceted by the regression error in NAV 3.4.3 mentioned in this bug report: https://bugs.launchpad.net/nav/+bug/263931 .
I just added this comment to the bug report about how to quickfix the problem locally:
To purge all status preference settings (for all users) from the database, connect to the navprofiles database using psql ("psql navprofiles nav"), and execute the following SQL:
DELETE FROM accountproperty WHERE property='statusprefs';
This should fix the status page crashes seen by some in NAV 3.4.3.
I tried a reboot of the server, but to no advantage
Unless you did something to your kernel, that was entirely unnecessary ;)
It worked like a charm!
Thank you so much!
Regards, Rikard
On Thu, 9 Oct 2008, Morten Brekkevold wrote:
Rikard Stemland Skjelsvik rskjels@pogostick.net wrote:
After bulk importing 100 GSW devices with the same amount of locations ,also bulk imported, the status page failes. All other tools seems to be working. The error is:
Mod_python error: "PythonHandler status"
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch result = object(req)
File "/var/www/nav/status/status.py", line 71, in handler output = indexInternal(req)
File "/var/www/nav/status/status.py", line 108, in indexInternal statusPage = StatusPage(req,prefs)
File "/var/www/nav/status/status.py", line 130, in __init__ for section in prefs.sections:
TypeError: iteration over non-sequence
I think you may have been affeceted by the regression error in NAV 3.4.3 mentioned in this bug report: https://bugs.launchpad.net/nav/+bug/263931 .
I just added this comment to the bug report about how to quickfix the problem locally:
To purge all status preference settings (for all users) from the database, connect to the navprofiles database using psql ("psql navprofiles nav"), and execute the following SQL:
DELETE FROM accountproperty WHERE property='statusprefs';
This should fix the status page crashes seen by some in NAV 3.4.3.
I tried a reboot of the server, but to no advantage
Unless you did something to your kernel, that was entirely unnecessary ;)
-- mvh Morten Brekkevold UNINETT