This is strange and I am sure I am doing something wrong, but i have
been starring at this for a while now and can't see it.
I am getting this mod_python error:

ProcessId:      31673
Interpreter:    'mysite'

ServerName:     'mysite'
DocumentRoot:   '/var/www/vhosts/mysite/httpdocs'

URI:            '/myapp'
Location:       '/myapp'
Directory:      None
Filename:       '/var/www/vhosts/mysite/httpdocs/myapp'
PathInfo:       ''

Phase:          'PythonHandler'
Handler:        'django.core.handlers.modpython'

Traceback (most recent call last):

  File "/usr/local/lib/python2.5/site-packages/mod_python/
importer.py", line 1537, in HandlerDispatch
    default=default_handler, arg=req, silent=hlist.silent)

  File "/usr/local/lib/python2.5/site-packages/mod_python/
importer.py", line 1202, in _process_target
    module = import_module(module_name, path=path)

  File "/usr/local/lib/python2.5/site-packages/mod_python/
importer.py", line 304, in import_module
    return __import__(module_name, {}, {}, ['*'])

ImportError: No module named django.core.handlers.modpython




my conf file is a basic:



<Location "/videoUploader">
    SetHandler python-program
    PythonHandler django.core.handlers.modpython
    SetEnv DJANGO_SETTINGS_MODULE videouploader.settings
    PythonDebug On
    PythonPath "['/home/django/myapp']+sys.path"
</Location>

can anyone see the stupid mistake that I am making?


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to