I put the a pootle.db from my previous Pootle 2.0.2 installation and it
worked.
I created a new project, type XLIFF, with kde style checks. Added the
French language, then I uploaded my fr.xlf file into the language and
hit "Quick Translate"
After the first translation, I clicked submit and I got this error :
An error has occurred. Thank you for your patience.
Error accessing /var/www/Pootle/po/.tmp/tmpK0aKPlfr.xlf, Filesystem sent
error: No such file or directory
Thanks.
Le 04/03/2010 10:45, Laurent Marchal a écrit :
> Hi,
>
> First thanks for your work on this project !
>
> I downloaded pootle unziped it, and the first time I access it,
> instead of creating the database I have this error :
>
> MOD_PYTHON ERROR
>
> ProcessId: 21243
> Interpreter: 'pootle'
>
> ServerName: 'smaeur.eu'
> DocumentRoot: '/var/www'
>
> URI: '/translate/'
> Location: '/translate'
> Directory: None
> Filename: '/var/www/Pootle/'
> 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
> "/usr/lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/core/handlers/modpython.py",
> line 228, in handler
> return ModPythonHandler()(req)
>
> File
> "/usr/lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/core/handlers/modpython.py",
> line 201, in __call__
> response = self.get_response(request)
>
> File
> "/usr/lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/core/handlers/base.py",
> line 73, in get_response
> response = middleware_method(request)
>
> File
> "/usr/lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/middleware/locale.py",
> line 16, in process_request
> language = translation.get_language_from_request(request)
>
> File "/var/www/Pootle/pootle/i18n/override.py", line 144, in
> get_language_from_request
> lang = lang_getter(request, supported)
>
> File "/var/www/Pootle/pootle/i18n/override.py", line 82, in
> get_lang_from_session
> lang_code = request.session.get('django_language', None)
>
> File
> "/usr/lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/contrib/sessions/backends/base.py",
> line 63, in get
> return self._session.get(key, default)
>
> File
> "/usr/lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/contrib/sessions/backends/base.py",
> line 172, in _get_session
> self._session_cache = self.load()
>
> File
> "/usr/lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/contrib/sessions/backends/db.py",
> line 16, in load
> expire_date__gt=datetime.datetime.now()
>
> File
> "/usr/lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/db/models/manager.py",
> line 120, in get
> return self.get_query_set().get(*args, **kwargs)
>
> File
> "/usr/lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/db/models/query.py",
> line 300, in get
> num = len(clone)
>
> File
> "/usr/lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/db/models/query.py",
> line 81, in __len__
> self._result_cache = list(self.iterator())
>
> File
> "/usr/lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/db/models/query.py",
> line 238, in iterator
> for row in self.query.results_iter():
>
> File
> "/usr/lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/db/models/sql/query.py",
> line 287, in results_iter
> for rows in self.execute_sql(MULTI):
>
> File
> "/usr/lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/db/models/sql/query.py",
> line 2369, in execute_sql
> cursor.execute(sql, params)
>
> File
> "/usr/lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/db/backends/sqlite3/base.py",
> line 193, in execute
> return Database.Cursor.execute(self, query, params)
>
> OperationalError: no such table: django_session
>
>
> Le 04/03/2010 10:36, F Wolff a écrit :
>> Today the Translate team released version 2.0.3 of Pootle. Pootle is a
>> web based system for translation and translation management.
>>
>> Although this is partly a bugfix release, we are happy to announce the
>> support for three new formats: Qt TS, TBX, and TMX!
>>
>> This work was made possible by many volunteers and our funders:
>> - ANLoc, funded by IDRChttp://africanlocalisation.net/
>>
>>
>> Highlighted improvements
>> ========================
>>
>> - Support for Qt TS files
>> - Support for TMX and TBX files
>> - Corrections to PostgreSQL support (#1368)
>> - Some improvements to memory use
>> - Timestamps for news items when viewed on the web
>> - It is possible to change tree style more reliably (#1363)
>> - More correct method for finding alternative translations
>> - Build correctly with bdist_rpm (#1365)
>> - A complete translation into Asturian, and other translation updates
>>
>> This release will benefit from recent improvements to the
>> Translate Toolkit, such as improved quality checks and better format
>> support. Note that Translate Toolkit 1.6 is required for the best
>> support for TS, TBX, and TMX.
>>
>> A small database reconfiguration will happen automatically on the first
>> request to the server after the Pootle upgrade.
>>
>>
>> Feature list:
>> http://translate.sourceforge.net/wiki/pootle/features
>>
>> Download:
>> http://sourceforge.net/projects/translate/files/Pootle/
>>
>> Installation instructions:
>> http://translate.sourceforge.net/wiki/pootle/installation
>>
>> Bugs:
>> http://bugs.locamotion.org/
>>
>> More information:
>> http://translate.sourceforge.net/wiki/pootle/index
>>
>> Enjoy it!
>> The Translate Team
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Download Intel® Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>> _______________________________________________
>> Translate-pootle mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/translate-pootle
>>
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle