I am new to Django. I have done a new project called photoalbum in the
DocumentRoot directory and created a helloworld.py in the photoalbum
directory, and add a following line in urls.py
    (r'^helloworld/', 'helloworld.index')

When I open my browser for http://192.168.0.22/photoalbum/helloworld/

I run into the following error message:

=======================================================
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
"/usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/core/handlers/modpython.py",
line 163, in handler
    return ModPythonHandler()(req)

  File
"/usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/core/handlers/modpython.py",
line 119, in __call__
    os.environ.update(req.subprocess_env)

  File "os.py", line 478, in update
    self[k] = dict[k]

  File "os.py", line 463, in __setitem__
    putenv(key, item)

TypeError: putenv() argument 2 must be string, not list
=======================================================

I am on Debian, apache2, mod_python (3.2.10 I think), any help would be
appreciated, thanks.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to