I am struggling with getting Apache to serve my Pootle instance. I have
followed most of the quick guide, thus the PATHs are standard.
Base system is a debian stable.
This is my apache error.log. It is fairly obvious what is wrong but I have
/no/ idea how to get it to find the missing module. It is in the file tree,
it's like it ignores the existance.
[Mon Jun 03 23:12:44 2013] [error] [client 94.254.67.55]
ImproperlyConfigured: Error importing middleware
pootle_misc.middleware.baseurl: "No module named
pootle_misc.middleware.baseurl"
The wsgi.py looks like this:
---------------------------------------------------------------------
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "pootle.settings")
from django.core.wsgi import get_wsgi_application
w_application = get_wsgi_application()
def application(environ, start_response):
os.environ['POOTLE_SETTINGS'] = '/home/pootle/config/pootle'
return w_application(environ, start_response)
---------------------------------------------------------------------
and the apache config like this:
---------------------------------------------------------------------
<VirtualHost *:80>
ServerAdmin [email protected]
ServerAlias drake.bthstudent.se
WSGIScriptAlias /
/var/www/pootle/env/lib/python2.7/site-packages/pootle/wsgi.py
WSGIDaemonProcess pootle processes=2 threads=3 stack-size=1048576
maximum-requests=5000 inactivity-timeout=900 display-name=%{GROUP}
python-path=/var/www/pootle/env/lib/python2.7/site-packages/
WSGIProcessGroup pootle
Alias /assets
/var/www/pootle/env/lib/python2.7/site-packages/pootle/assets
<Directory
/var/www/pootle/env/lib/python2.7/site-packages/pootle/assets>
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
---------------------------------------------------------------------
root@drake:/var/www/pootle/env/lib/python2.7/site-packages/pootle# ls -l
apps/pootle_misc/baseurl.py*
-rw-r--r-- 1 root root 2216 Jun 3 20:45 apps/pootle_misc/baseurl.py
-rw-r--r-- 1 root root 2498 Jun 3 20:47 apps/pootle_misc/baseurl.pyc
any pointers. REALLY any pointer in any direction is of interest. I am
getting a smaller brain meltdown. And it looks like I am not alone.
(I was running a system wide setup earlier, this is not the same machine.
no worries there. completly new setup)
--
brother
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle