According to Kristian Klette, this error has been fixed in the non-test version of the 3.4.0 release (to be called 3.4.1) You can bypass this error by removing the following line in the "/usr/local/nav/lib/python/nav/models/manage.py" file:
community_suffix = models.CharField(max_length=-1)
(line 268)
Although when I remove this line, I get another error saying "column vendor.enterpriseid does not exist".
Ideas?
/V
-----Opprinnelig melding----- Fra: Ingeborg Hellemo [mailto:Ingeborg.Hellemo@cc.uit.no] Sendt: 16. juni 2008 10:17 Til: nav-users@uninett.no Emne: Re: The new IP device Info interface (django based) fails
I don't know how many error-reports you want about the beta Ip Device Info feature?
I've got the same error as Vidar on FreeBSD (with some additional info):
MOD_PYTHON ERROR
ProcessId: 46292 Interpreter: 'po.uit.no'
ServerName: 'po.uit.no' DocumentRoot: '/usr/local/nav/apache/webroot'
URI: '/ipdevinfo/kahuka.cc.uit.no/' Location: None Directory: '/usr/local/nav/apache/webroot/ipdevinfo/' Filename: '/usr/local/nav/apache/webroot/ipdevinfo/kahuka.cc.uit.no' PathInfo: '/'
Phase: 'PythonHandler' Handler: 'django.core.handlers.modpython'
Traceback (most recent call last):
File "/usr/local/lib/python2.4/site-packages/mod_python/importer.py", line 1537, in HandlerDispatch default=default_handler, arg=req, silent=hlist.silent)
File "/usr/local/lib/python2.4/site-packages/mod_python/importer.py", line 1229, in _process_target result = _execute_target(config, req, object, arg)
File "/usr/local/lib/python2.4/site-packages/mod_python/importer.py", line 1128, in _execute_target result = object(arg)
File "/usr/local/lib/python2.4/site-packages/django/core/handlers/modpython.p y", line 189, in handler return ModPythonHandler()(req)
File "/usr/local/lib/python2.4/site-packages/django/core/handlers/modpython.p y", line 162, in __call__ response = self.get_response(request)
File "/usr/local/lib/python2.4/site-packages/django/core/handlers/base.py", line 135, in get_response return callback(request, **param_dict)
File "/usr/local/lib/python2.4/site-packages/django/views/defaults.py", line 89, in server_error t = loader.get_template(template_name) # You need to create a 500.html template.
File "/usr/local/lib/python2.4/site-packages/django/template/loader.py", line 80, in get_template source, origin = find_template_source(template_name)
File "/usr/local/lib/python2.4/site-packages/django/template/loader.py", line 73, in find_template_source raise TemplateDoesNotExist, name
TemplateDoesNotExist: 500.html
I do find a 500.html-template in /usr/local/lib/python2.4/site-packages/django/ contrib/admin/templates/admin/500.html.
Am I missing some soft-links or flags during installation of django?
Second question is why django is trying to return an error in the first place. Perhaps the attached error message means something to somebody?
--Ingeborg -- Ingeborg Østrem Hellemo -- ingeborg@cc.uit.no (Univ. of Tromsø, Norway)