IP Device info crashes
Bug #258310 reported by
Morten Brekkevold
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Network Administration Visualized |
Fix Released
|
Medium
|
Morten Brekkevold |
Bug Description
The IP Device Info beta preview in NAV 3.4.0 crashes out of the box.
Apparently, there is an error in the Django models: The module class
contains a "community_suffix" field which doesn't exist in manage.sql. It
did, however, exist on the development database where the IP Device Info
tool was developed, which is probably why the model is faulty.
[http://
Changed in nav: | |
milestone: | v3.4 → v3.4.1 |
To post a comment you must log in.
Originator: YES
The Django DEBUG setting is set to False by default in the 3.4.0 release,
which causes the IP Device Info tool to crash with this, very little
informative, traceback:
Mod_python error: "PythonHandler django. core.handlers. modpython"
Traceback (most recent call last):
File "/usr/lib/ python2. 4/site- packages/ mod_python/ apache. py", line 299,
in HandlerDispatch
result = object(req)
File python- support/ python2. 4/django/ core/handlers/ modpython. py", line r()(req)
"/var/lib/
189, in handler
return ModPythonHandle
File python- support/ python2. 4/django/ core/handlers/ modpython. py", line response( request)
"/var/lib/
162, in __call__
response = self.get_
File "/var/lib/ python- support/ python2. 4/django/ core/handlers/ base.py" ,
line 132, in get_response
return callback(request, **param_dict)
File "/var/lib/ python- support/ python2. 4/django/ views/defaults. py", line get_template( template_ name) # You need to create a 500.html
89, in server_error
t = loader.
template.
File "/var/lib/ python- support/ python2. 4/django/ template/ loader. py", line source( template_ name)
79, in get_template
source, origin = find_template_
File "/var/lib/ python- support/ python2. 4/django/ template/ loader. py", line source Exist, name
72, in find_template_
raise TemplateDoesNot
TemplateDoesNot Exist: 500.html