Hey Morten,
Am Donnerstag, den 22.07.2010, 19:10 +0100 schrieb Morten Brekkevold:
On Wed, Jul 21, 2010 at 02:25:02PM +0200, Rudolph Bott wrote:
information etc - but as soon as I click on 'Toolbox' I receive an error message.
It thought it might be related to the 'ForgetSQL thing' but according to this list, ForgetSQL is not a requirement any more (starting with 3.6) - or am I wrong on this one?
forgetSQL is no longer used by NAV, correct.
File "/usr/local/nav/lib/python/nav/auth.py", line 58, in hasPrivilege raise "user parameter is of invalid type %s" % type(user)
TypeError: exceptions must be classes or instances, not str
This is Python 2.6 complaining (this was deprecated in 2.5, but removed entirely from 2.6, hence the error). The referenced code, however, is not present in NAV 3.6.0b4, which leads me to think:
- Some old, deprecated modules might be still be around in your file system.
Did you delete all the ones specified in the release notes?
oops, I did a make install and did not move the old /usr/local/nav folder out of the way. I did that now, replaced the fresh etc-folder with the backuped-one but now I cannot start nav alltogether:
root@dkvfs033:/usr/local/nav# nav start /usr/local/nav/lib/python/nav/models/profiles.py:23: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 Starting: cricket logengine mactrace maintengine networkDiscovery thresholdMon Failed: alertengine eventengine getDeviceData ipdevpoll pping servicemon smsd snmptrapd
Nothing in the var/log folder whatsoever :(
- Apache/mod_python may in part still be serving old code. Please restart
Apache after upgrading.
Did that several times already :)
Any help would be appreciated!
Hope this helps :)