Hi Alaa (sorry for replying directly to you first),
Thanks, that got me a little bit further. Pootle now works under apache but is
only accessible from the server itself, If I access it from elsewhere I get:
ServerName: '127.0.1.1'
DocumentRoot: '/htdocs'
URI: '/'
Location: '/'
Directory: None
Filename: '/htdocs'
PathInfo: '/'
Phase: 'PythonHandler'
Handler: 'django.core.handlers.modpython'
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1537, in
HandlerDispatch
default=default_handler, arg=req, silent=hlist.silent)
File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1229, in
_process_target
result = _execute_target(config, req, object, arg)
File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1128, in
_execute_target
result = object(arg)
File "/var/lib/python-support/python2.5/django/core/handlers/modpython.py",
line 222, in handler
return ModPythonHandler()(req)
File "/var/lib/python-support/python2.5/django/core/handlers/modpython.py",
line 199, in __call__
response = middleware_method(request, response)
File
"/var/lib/python-support/python2.5/django/contrib/sessions/middleware.py", line
33, in process_response
request.session.save()
File
"/var/lib/python-support/python2.5/django/contrib/sessions/backends/db.py",
line 58, in save
obj.save(force_insert=must_create)
File "/var/lib/python-support/python2.5/django/db/models/base.py", line 307,
in save
self.save_base(force_insert=force_insert, force_update=force_update)
File "/var/lib/python-support/python2.5/django/db/models/base.py", line 358,
in save_base
rows = manager.filter(pk=pk_val)._update(values)
File "/var/lib/python-support/python2.5/django/db/models/query.py", line 429,
in _update
return query.execute_sql(None)
File "/var/lib/python-support/python2.5/django/db/models/sql/subqueries.py",
line 117, in execute_sql
cursor = super(UpdateQuery, self).execute_sql(result_type)
File "/var/lib/python-support/python2.5/django/db/models/sql/query.py", line
1700, in execute_sql
cursor.execute(sql, params)
File "/var/lib/python-support/python2.5/django/db/backends/util.py", line 19,
in execute
return self.cursor.execute(sql, params)
File "/var/lib/python-support/python2.5/django/db/backends/sqlite3/base.py",
line 167, in execute
return Database.Cursor.execute(self, query, params)
OperationalError: unable to open database file
Cheers,
Jacques
-----Original Message-----
From: Alaa Abd El Fattah [mailto:[email protected]]
Sent: March-17-09 10:50 AM
To: [email protected]
Subject: Re: [translate-pootle] Running Pootle SVN in apache
On Tue, 17 Mar 2009 09:37:44 -0400
Jacques Beaurain <[email protected]> wrote:
Hi Jacques we just started testing Pootle under mod_python and mysql
this week, so expect many improvements in that department soon.
> I am trying to run the upcoming version in a virtual directory
> through Apache. I am able to do this with other Django apps but not
> with Poolte so far.
...
> When I browse to the virtual
> directory the page just appears to hang indefinitely while loading.
> Does anybody know how to get Poolte to run in such a setup?
this deadlock is caused by a known problem in the xapian python
bindings (check http://trac.xapian.org/ticket/185).
unfortunately it doesn't look like they'll be able to resolve the issue
anytime soon, we'll have to find another indexing engine for pootle's
search under apache.
so what you need to do for now is disable xapian search index, easiest
way is to just remove the file
translate/search/indexing/XapianIndexer.py or uninstall
xapian-bindings-python package from your system.
cheers,
Alaa
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle