Opened 17 years ago

Last modified 17 years ago

#4673 closed

Svn revision 5515 seems to be faulty: mod_name is not defined — at Initial Version

Reported by: hans.rauch@… Owned by: Adrian Holovaty
Component: Core (Other) Version: dev
Severity: Keywords: mod_name
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

If I update my django-trunk to revision 5515, I get the following error:

[Sun Jun 24 10:34:57 2007] [error] [client 192.168.0.222] PythonHandler django.core.handlers.modpython: Traceback (most recent call last):
[Sun Jun 24 10:34:57 2007] [error] [client 192.168.0.222] PythonHandler django.core.handlers.modpython: File "/usr/lib64/python2.5/site-packages/mod_python/apache.py", line 299, in HandlerDispatch\n result = object(req)
[Sun Jun 24 10:34:57 2007] [error] [client 192.168.0.222] PythonHandler django.core.handlers.modpython: File "/usr/local/lib64/python2.5/site-packages/django/core/handlers/modpython.py", line 177, in handler\n return ModPythonHandler()(req)
[Sun Jun 24 10:34:57 2007] [error] [client 192.168.0.222] PythonHandler django.core.handlers.modpython: File "/usr/local/lib64/python2.5/site-packages/django/core/handlers/modpython.py", line 150, in call\n response = self.get_response(request)
[Sun Jun 24 10:34:57 2007] [error] [client 192.168.0.222] PythonHandler django.core.handlers.modpython: File "/usr/local/lib64/python2.5/site-packages/django/core/handlers/base.py", line 66, in get_response\n resolver = urlresolvers.RegexURLResolver(r'/', urlconf)
[Sun Jun 24 10:34:57 2007] [error] [client 192.168.0.222] PythonHandler django.core.handlers.modpython: File "/usr/local/lib64/python2.5/site-packages/django/core/urlresolvers.py", line 188, in init\n self.reverse_dict[pattern.callback] = (pattern,)
[Sun Jun 24 10:34:57 2007] [error] [client 192.168.0.222] PythonHandler django.core.handlers.modpython: File "/usr/local/lib64/python2.5/site-packages/django/core/urlresolvers.py", line 154, in _get_callback\n raise ViewDoesNotExist, "Could not import %s. Error was: %s" % (mod_name, str(e))
[Sun Jun 24 10:34:57 2007] [error] [client 192.168.0.222] PythonHandler django.core.handlers.modpython: NameError: global name 'mod_name' is not defined
[Sun Jun 24 10:34:57 2007] [error] [client 192.168.0.222] PythonHandler django.core.handlers.modpython: Traceback (most recent call last):
[Sun Jun 24 10:34:57 2007] [error] [client 192.168.0.222] PythonHandler django.core.handlers.modpython: File "/usr/lib64/python2.5/site-packages/mod_python/apache.py", line 299, in HandlerDispatch\n result = object(req)
[Sun Jun 24 10:34:57 2007] [error] [client 192.168.0.222] PythonHandler django.core.handlers.modpython: File "/usr/local/lib64/python2.5/site-packages/django/core/handlers/modpython.py", line 177, in handler\n return ModPythonHandler()(req)
[Sun Jun 24 10:34:57 2007] [error] [client 192.168.0.222] PythonHandler django.core.handlers.modpython: File "/usr/local/lib64/python2.5/site-packages/django/core/handlers/modpython.py", line 150, in call\n response = self.get_response(request)
[Sun Jun 24 10:34:57 2007] [error] [client 192.168.0.222] PythonHandler django.core.handlers.modpython: File "/usr/local/lib64/python2.5/site-packages/django/core/handlers/base.py", line 66, in get_response\n resolver = urlresolvers.RegexURLResolver(r'
/', urlconf)
[Sun Jun 24 10:34:57 2007] [error] [client 192.168.0.222] PythonHandler django.core.handlers.modpython: File "/usr/local/lib64/python2.5/site-packages/django/core/urlresolvers.py", line 188, in init\n self.reverse_dict[pattern.callback] = (pattern,)
[Sun Jun 24 10:34:57 2007] [error] [client 192.168.0.222] PythonHandler django.core.handlers.modpython: File "/usr/local/lib64/python2.5/site-packages/django/core/urlresolvers.py", line 154, in _get_callback\n raise ViewDoesNotExist, "Could not import %s. Error was: %s" % (mod_name, str(e))
[Sun Jun 24 10:34:57 2007] [error] [client 192.168.0.222] PythonHandler django.core.handlers.modpython: NameError: global name 'mod_name' is not defined

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top