I'm sorry I keep on spamming, but this will be my last message..

I found the problem: it is a combination of an Apache module 
(mod_mem_cache) and sqlite3.
I've disabled the module in Apache and now the Pootle website seems to 
work fine.

Thanks for the help.
- Rolf

On 15-2-2010 13:22, Rolf Jongeling wrote:
> Sorry about the mailing list spamming, I'm not sure what happened there...
>
> Anywho, I've installed Pootle following
> http://translate.sourceforge.net/wiki/pootle/apache.
> The admin page indicates that Translate toolkit version 1.5.3 is installed.
>
> I've also managed to get a new error: NULL result without error in
> PyObject_Call
>
> [error] Traceback (most recent call last):
> [error]   File
> "/opt/python2.5/lib/python2.5/site-packages/django/core/handlers/base.py",
> line 92, in get_response
> [error]     response = callback(request, *callback_args, **callback_kwargs)
> [error]   File
> "/var/www/pootle/local_apps/pootle_app/views/language/view.py", line 56,
> in decorated_f
> [error]     return f(request, translation_project, *args, **kwargs)
> [error]   File
> "/var/www/pootle/local_apps/pootle_app/views/language/view.py", line 66,
> in decorated_f
> [error]     return f(request, translation_project, *args, **kwargs)
> [error]   File
> "/var/www/pootle/local_apps/pootle_app/views/language/view.py", line
> 104, in project_index
> [error]     return project_index_view(request, translation_project,
> directory)
> [error]   File
> "/var/www/pootle/local_apps/pootle_app/views/language/project_index.py",
> line 89, in view
> [error]     view_obj(request, translation_project, directory),
> [error]   File
> "/var/www/pootle/local_apps/pootle_app/lib/view_handler.py", line 48, in
> __call__
> [error]     return self.GET(template_vars, request, *args, **kwargs)
> [error]   File
> "/var/www/pootle/local_apps/pootle_app/views/language/project_index.py",
> line 71, in GET
> [error]     'children':              tp_common.get_children(request,
> translation_project, directory),
> [error]   File
> "/var/www/pootle/local_apps/pootle_app/views/language/tp_common.py",
> line 54, in get_children
> [error]     for child_store in directory.filter_stores(search).all()]
> [error]   File
> "/var/www/pootle/local_apps/pootle_app/views/language/item_dict.py",
> line 289, in make_store_item
> [error]     item = make_generic_item(request, store, action, show_checks)
> [error]   File
> "/var/www/pootle/local_apps/pootle_app/views/language/item_dict.py",
> line 249, in make_generic_item
> [error]     quick_stats = add_percentages(path_obj.getquickstats())
> [error]   File "/var/www/pootle/local_apps/pootle_misc/util.py", line
> 31, in _getfromcache
> [error]     result = function(instance, *args, **kwargs)
> [error]   File "/var/www/pootle/local_apps/pootle_store/models.py", line
> 82, in getquickstats
> [error]     return dict(self.file.getquickstats())
> [error]   File "/var/www/pootle/local_apps/pootle_store/fields.py", line
> 121, in getquickstats
> [error]     stats_tuple.quickstats =
> self._statscache.filetotals(self.path, store=self._get_store) # or
> statsdb.emptyfiletotals()
> [error]   File "/var/www/pootle/local_apps/pootle_store/fields.py", line
> 73, in _get_statscache
> [error]     self.__statscache[current_thread] =
> statsdb.StatsCache(settings.STATS_DB_PATH)
> [error]   File
> "/opt/python2.5/lib/python2.5/site-packages/translate/storage/statsdb.py",
> line 302, in __new__
> [error]     return make_database(statsfile)
> [error]   File
> "/opt/python2.5/lib/python2.5/site-packages/translate/storage/statsdb.py",
> line 278, in make_database
> [error]     connect(cache)
> [error]   File
> "/opt/python2.5/lib/python2.5/site-packages/translate/storage/statsdb.py",
> line 259, in connect
> [error]     cache.con = dbapi2.connect(statsfile)
> [error] SystemError: NULL result without error in PyObject_Call
>
> I hope this helps...
> - Rolf
>
> On 15-2-2010 12:16, F Wolff wrote:
>    
>> Op Ma, 2010-02-15 om 11:19 +0100 skryf Rolf Jongeling:
>>
>>      
>>> Hi,
>>> I've been trying to run Pootle through Apache with the mod_wsgi module.
>>> Installation went fine and Pootle is indeed running through Apache.
>>> But I'm running into a problem after uploading a po file to a
>>> translation project.
>>>
>>> Is this a bug or a config error on my side?
>>>
>>>        
>> Hallo Rolf
>>
>> There seems to be some error with your email client or some other part
>> of the delivery - your message was delivered 18 times!
>>
>> How did you install Pootle and the Translate Toolkit?  My first guess is
>> that your version of the Translate Toolkit is too old. You will need at
>> least Translate Toolkit 1.5.0, although I would recommend the latest
>> version (currently 1.5.3). You can easily find out what Pootle is using
>> with
>>      PootleServer --version
>>
>>
>> You should be able to see some self-diagnostics on the admin page
>> regarding dependencies.
>>
>> Does that fix it for you?
>>
>> Friedel
>>
>> --
>> Recently on my blog:
>> http://translate.org.za/blogs/friedel/en/content/it-seems-my-web-browser-unique
>>
>>
>> ------------------------------------------------------------------------------
>> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
>> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
>> http://p.sf.net/sfu/solaris-dev2dev
>> _______________________________________________
>> Translate-pootle mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/translate-pootle
>>
>>      
>
> ------------------------------------------------------------------------------
> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
> http://p.sf.net/sfu/solaris-dev2dev
> _______________________________________________
> Translate-pootle mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/translate-pootle
>    


------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to