F Wolff wrote:
> I'm forwarding this to the list for everybody's benefit.
>
> Op Sa, 2009-09-26 om 16:44 +0700 skryf John Francis Lee:
>> F Wolff wrote:
>>> After a long wait we finally bring you the third beta of the next
>>> version of Pootle. This release is close to where we want Pootle 1.3 to
>>> be.
>
> ...
>
>
>> Hi,
>>
>> Ubuntu 9.04 Python 2.6.2
>>
>> I downloaded Pootle-1.3.0-beta3, and started to follow the directions in
>> INSTALL. I un'tarred, cd'd and ran
>>
>> python setup.py install
>>
>> I actually had to run
>>
>> sudo python setup.py install
>>
>> to get it to work.
>>
>> The INSTALL file says :
>>
>> To run Pootle from sources, just run
>>
>> ./PootleServer
>>
>> After installation with setup.py, But :
>>
>> j...@ws3:~/Downloads/Pootle/Pootle-1.3.0-beta3$ ./PootleServer
>> Traceback (most recent call last):
>> File "./PootleServer", line 30, in <module>
>> from pootle import PootleServer
>> File
>> "/home/jfl/Downloads/Pootle/Pootle-1.3.0-beta3/pootle/PootleServer.py",
>> line 28, in <module>
>> from django.core.handlers.wsgi import WSGIHandler
>> ImportError: No module named django.core.handlers.wsgi
>>
>> Do I have to separately install Django?
>
> Yes, you definitely need to install Django separately for Pootle to
> work.
>
> Please go through the whole list of dependencies listed here:
> http://translate.sourceforge.net/wiki/pootle/installation_1.3beta
>
> Keep well
> Friedel
>
>
> --
> Recently on my blog:
> http://translate.org.za/blogs/friedel/en/content/support-afrikaans-google-translate
>
Sorry I didn't address the list, just used the address in the INSTALL.
I followed the link you gave me above. I needed to install not only
Pootle but also :
Django
sudo apt-get install python-django
Translate Toolkit
downloaded translate-toolkit_1.4.0-1_all.deb
double clicked it and installed
Python
Ubuntu came with Python 2.6
I apparently had installed the -dev package previously
Xapian
sudo apt-get install python-xapian
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-xapian is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
PyLucene
sudo apt-get install python-PyLucene
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package python-PyLucene
sudo easy_install PyLucene
Searching for PyLucene
Reading http://pypi.python.org/simple/PyLucene/
Couldn't find index page for 'PyLucene' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
No local packages or download links found for PyLucene
error: Could not find suitable distribution for
Requirement.parse('PyLucene')
zip
?
iso-codes
sudo apt-get install iso-codes
Reading package lists... Done
Building dependency tree
Reading state information... Done
iso-codes is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
python-levenshtein
sudo apt-get install python-Levenshtein
j...@ws3:~/Downloads/Pootle/Pootle-1.3.0-beta3$ ./PootleServer
Traceback (most recent call last):
File "./PootleServer", line 30, in <module>
from pootle import PootleServer
File
"/home/jfl/Downloads/Pootle/Pootle-1.3.0-beta3/pootle/PootleServer.py",
line 30, in <module>
from pootle_app.models.translation_project import
scan_translation_projects
File
"/usr/local/lib/python2.6/dist-packages/pootle_app/models/__init__.py",
line 25, in <module>
from pootle_app.models.submission import Submission
File
"/usr/local/lib/python2.6/dist-packages/pootle_app/models/submission.py",
line 27, in <module>
from translation_project import TranslationProject
File
"/usr/local/lib/python2.6/dist-packages/pootle_app/models/translation_project.py",
line 34, in <module>
from translate.convert import po2csv, po2xliff, xliff2po, po2ts, po2oo
File "/usr/lib/python2.6/dist-packages/translate/convert/po2xliff.py",
line 30, in <module>
from translate.storage import poxliff
File "/usr/lib/python2.6/dist-packages/translate/storage/poxliff.py",
line 27, in <module>
from translate.storage import base, lisa, poheader, xliff
File "/usr/lib/python2.6/dist-packages/translate/storage/lisa.py",
line 31, in <module>
raise ImportError("lxml is not installed. It might be possible to
continue without support for XML formats.")
ImportError: lxml is not installed. It might be possible to continue
without support for XML formats.
Thanks for your help.
--
John Francis Lee
1025/37 Thanon Jet Yod
Mueang Chiangrai 57000
Thailand
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle