On Do, 2008-11-06 at 21:24 +0100, Krzysztof (sh4dow) Bzowski wrote:
> Hi, I had to migrate my Pootle installation to new server... and I
> have small problem.
> Already installed:
> Pootle-1.2.0
> python-Levenshtein-0.10.1
> kid-0.9.6
> translate-toolkit-1.2.0
> elementtree-1.2.6-20050316
> lxml-2.1.2
> Python 2.5.2
> 
> Everything were installed in /home/user and now when I try run PootleServer:
> 
> [EMAIL PROTECTED] ~ $ PootleServer --version
> /home/sh4dow/usr/lib/python2.5/site-packages/jToolkit/data/dates.py:27:
> DeprecationWarning: The sre module is deprecated, please import re.
>   import sre
> Traceback (most recent call last):
>   File "/home/sh4dow/usr/bin/PootleServer", line 23, in <module>
>     from Pootle import pootle
>   File "/home/sh4dow/usr/lib64/python2.5/site-packages/Pootle/pootle.py",
> line 31, in <module>
>     from Pootle import indexpage
>   File "/home/sh4dow/usr/lib64/python2.5/site-packages/Pootle/indexpage.py",
> line 23, in <module>
>     from Pootle import projects
>   File "/home/sh4dow/usr/lib64/python2.5/site-packages/Pootle/projects.py",
> line 36, in <module>
>     from translate.storage import statsdb, base
>   File 
> "/home/sh4dow/usr/lib64/python2.5/site-packages/translate/storage/statsdb.py",
> line 38, in <module>
>     from pysqlite2 import dbapi2
>   File "/home/sh4dow/usr/lib64/python2.5/site-packages/pysqlite2/dbapi2.py",
> line 27, in <module>
>     from pysqlite2._sqlite import *
> ImportError: 
> /home/sh4dow/usr/lib/python2.5/site-packages/pysqlite2/_sqlite.so:
> undefined symbol: sqlite3_enable_load_extension
> 
> TIA

Hallo Krzysztof

There seems to be something wrong with your installation of Python.
Since you have python 2.5, you should also have the python module
sqlite3.  It seems Pootle is falling back to pysqlite2 which is only
supposed to be needed with older versions of python (like 2.4). 

Can you perhaps say what the output is of these two commands?

  python -c "import sqlite3; print sqlite3.version"

  python -c "import sqlite3; print sqlite3.sqlite_version"

What operating system do you have, and what sqlite packages do you have
installed?

Keep well
Friedel

--
Onlangs op my joernaal:
http://translate.org.za/blogs/friedel/content/dis-makliker-kulula


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to