Hi Graham and everyone else I'm running a project on Django 1.6.7, Python 2.6.9, Centos, where I tried to install the latest mod_wsgi in a virtualenv. It seems however that there is some issue, either with the low Python version I'm being forced to use, or something else when I try to use "python manage.py runmodwsgi" to mount the site at the default (localhost:8000)
Under 4.3.0 I get the following error when trying to access the page [authz_core:debug] [pid 15107:tid 140184998303488] mod_authz_core.c(828): [client 127.0.0.1:59011] AH01628: authorization result: granted (no directives) [authz_core:debug] [pid 15107:tid 140184998303488] mod_authz_core.c(828): [client 127.0.0.1:59011] AH01628: authorization result: granted (no directives) [wsgi:info] [pid 15106:tid 140184939898624] [remote 127.0.0.1:35673] mod_wsgi (pid=15106, process='localhost:8000', application=''): Loading WSGI script '/tmp/mod_wsgi-localhost:8000:1000/handler.wsgi'. [wsgi:error] [pid 15106:tid 140184939898624] [remote 127.0.0.1:35673] mod_wsgi (pid=15106): Target WSGI script '/tmp/mod_wsgi-localhost:8000:1000/handler.wsgi' cannot be loaded as Python module. [wsgi:error] [pid 15106:tid 140184939898624] [remote 127.0.0.1:35673] mod_wsgi (pid=15106): Exception occurred processing WSGI script '/tmp/mod_wsgi-localhost:8000:1000/handler.wsgi'. [wsgi:error] [pid 15106:tid 140184939898624] [remote 127.0.0.1:35673] Traceback (most recent call last): [wsgi:error] [pid 15106:tid 140184939898624] [remote 127.0.0.1:35673] File "/tmp/mod_wsgi-localhost:8000:1000/handler.wsgi", line 16, in <module> [wsgi:error] [pid 15106:tid 140184939898624] [remote 127.0.0.1:35673] with_wdb=with_wdb, debug_mode=debug_mode) [wsgi:error] [pid 15106:tid 140184939898624] [remote 127.0.0.1:35673] TypeError: __init__() got an unexpected keyword argument 'mount_point' Whereas if I downgrade to 4.2.5, I can access the page without error (perhaps it has to do with the recent mount_point option added in). I have tried specifying the mount point, but I suspect either I am not doing this correctly, or it is not the problem. I would be most appreciative of any ideas or suggestions, as my searching did not turn up anything useful. Thanks Liam -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.
