Re: [translate-pootle] Installing python software under ~/.local

2008-11-23 Thread Leandro Regueiro
 As Dwayne Bailey might have notice from the bugzilla reports, today I
 tried Virtaal. I installed it as recommended in the wiki, but I couldn't
 uninstall it latter. Then I was playing with ./setup.py --help and
 found out this option:

 ./setup.py install --user

 This options installs the package under ~/.local, which should be much
 easier to uninstall from. But installing this way doesn't work
 immediately, e.g. Virtaal can't find virtaal.glade.

 So,I'd like to know if, and how, Virtaal (and possibly other python
 apps) could be installed under ~/.local for testing. Thanks!

I am trying to build and install virtaal, and lets me do that, but
when I run virtaal it gives me an error (I used the svn checkout and
before that I tried using a tarball from sourceforge):

[EMAIL PROTECTED]:/home/usuario/virtaal# virtaal
Python-Levenshtein not found. Continuing with built-in (slower) fuzzy matching.
Traceback (most recent call last):
  File /usr/bin/virtaal, line 30, in module
from virtaal.main_window import Virtaal
  File /usr/lib/python2.5/site-packages/virtaal/main_window.py, line
46, in module
import document
  File /usr/lib/python2.5/site-packages/virtaal/document.py, line
26, in module
from translate.storage import ts2 as ts
ImportError: cannot import name ts2
[EMAIL PROTECTED]:/home/usuario/virtaal#


Then I commented the lines where the module ts is used (supposing that
this module gives support for Qt ts format, that I don't want to use).
The I rebuild and installed again virtaal, and it gives me another
error:

[EMAIL PROTECTED]:/home/usuario/virtaal# virtaal
Python-Levenshtein not found. Continuing with built-in (slower) fuzzy matching.
Traceback (most recent call last):
  File /usr/bin/virtaal, line 30, in module
from virtaal.main_window import Virtaal
  File /usr/lib/python2.5/site-packages/virtaal/main_window.py, line
47, in module
import recent
  File /usr/lib/python2.5/site-packages/virtaal/recent.py, line 27,
in module
for name, extensions, mimetypes in factory.supported_files():
AttributeError: 'module' object has no attribute 'supported_files'
[EMAIL PROTECTED]:/home/usuario/virtaal#


Perhaps a dependence was not met? Some error on code? I make some wrong?

Bye,
   Leandro Regueiro

-
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=100url=/
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


[translate-pootle] html2po with tidy

2008-11-23 Thread Amos Jeffries
Greetings, I'm running the Squid Proxy translation project using pootle 
and the toolkit to do the hard yards.

We've encountered a serious problem with the way Pootle 1.2 html2po and 
tidy are interacting.

The .html templates and .po are in utf-8 format. The files appear to 
translate correctly. But after the final filter through tidy they come 
out with a lot of garbage characters from what I guess is the us-ascii 
codepages encoded into HTML entities and the .html are labeled with 
content-type=use-ascii.

AYJ

-
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=100url=/
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle