Hi all,
forgetSQL is an unmaintained piece of shi^H^Hoftware that NAV versions up to 3.5 depend on. While we have removed this dependency from the coming NAV 3.6, some will experience warnings when running NAV under Python 2.5, and outright failures on Python 2.6, due to problems with the forgetSQL module.
The forgetSQL module raises string exceptions in three places, and these are deprecated in Python 2.5, and not supported in 2.6. You may see error messages such as these:
/var/lib/python-support/python2.5/forgetSQL.py:212: DeprecationWarning: raising a string exception is deprecated raise "NotFound"
or
File "/var/lib/python-support/python2.6/forgetSQL.py", line 212, in __new__ raise "NotFound"
TypeError: exceptions must be classes or instances, not str
I'm attaching a quick forgetSQL patch I've written to overcome these problems until NAV 3.6 has reached a stable release.