mod_wsgi (pid=2639): Exception occurred processing WSGI script '/home/
webapps/apache/tinygraph.wsgi'.
Traceback (most recent call last):
  File "/home/webapps/.virtualenvs/tinygraph/lib/python2.6/site-
packages/Django-1.2.1-py2.6.egg/django/core/handlers/wsgi.py", line
241, in __call__
    response = self.get_response(request)
  File "/home/webapps/.virtualenvs/tinygraph/lib/python2.6/site-
packages/Django-1.2.1-py2.6.egg/django/core/handlers/base.py", line
142, in get_response
    return self.handle_uncaught_exception(request, resolver, exc_info)
UnboundLocalError: local variable 'resolver' referenced before
assignment

I have just set up a brand new Django project called tinygraph and I
am using WSGI and virutalenv in combination.

I have took a peak at the Django source code and resolver is not
assigned a value unless a urlconf is set,
I though this might be because I had defined no url tuples in the
urlpatterns variable, however that did not solve the issue.

I just cannot figure it out, I am sure it will be something really
simple,
Thanks for any help,

Marcus

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to