We get these incredibly bizarre errors every once and a while where a
single character of python gets transformed. The code itself isn't
changing, and the area where it pops up changes each time. Any ideas?
MOD_PYTHON ERROR
ProcessId: 28165
Interpreter: '****'
ServerName: '*****'
DocumentRoot: '/var/www/'
URI: '/'
Location: '/'
Directory: None
Filename: '/var/www/'
PathInfo: ''
Phase: 'PythonHandler'
Handler: 'django.core.handlers.modpython'
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line
1537, in HandlerDispatch
default=default_handler, arg=req, silent=hlist.silent)
File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line
1229, in _process_target
result = _execute_target(config, req, object, arg)
File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line
1128, in _execute_target
result = object(arg)
File "/usr/local/lib/python2.5/site-packages/django/core/handlers/
modpython.py", line 222, in handler
return ModPythonHandler()(req)
File "/usr/local/lib/python2.5/site-packages/django/core/handlers/
modpython.py", line 185, in __call__
self.load_middleware()
File "/usr/local/lib/python2.5/site-packages/django/core/handlers/
base.py", line 38, in load_middleware
mod = __import__(mw_module, {}, {}, [''])
File "/usr/local/lib/python2.5/site-packages/panda/main/
middleware.py", line 9, in <module>
from panda.main.alert import get_alert_numnew
File "/usr/local/lib/python2.5/site-packages/panda/main/alert.py",
line 5, in <module>
from django.contrib.auth.models import User
File "/usr/local/lib/python2.5/site-packages/django/contrib/auth/
models.py", line 5, in <module>
from django.contrib.contenttypes.models import ContentType
File "/usr/local/lib/python2.5/site-packages/django/contrib/
contenttypes/models.py", line 64, in <module>
class ContentType(models.Model):
File "/usr/local/lib/python2.5/site-packages/django/db/models/
base.py", line 80, in __new__
new_class.add_to_class(obj_name, obj)
NameError: global name 'obj_na}e' is not defined
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---