Hi,

My first thought is that you don't have version 1.2.0 of the Translate 
Toolkit installed. The latest Virtaal requires it. But, yes, this should 
be checked for, so I've created the bug 
(http://bugs.locamotion.org/show_bug.cgi?id=615) so that we don't forget 
to add it. :)

Thanks for reporting this! :)

Regards,

Walter

Leandro Regueiro wrote:
> 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
>   
Walter Leibbrandt                  http://translate.org.za/blogs/walter
Software Developer                                  +27 12 460 1095 (w)
Translate.org.za

Recent blogs:
* Things that changed the way I code
http://www.translate.org.za/blogs/walter/en/content/things-changed-way-i-code
* Switching from Subversion to git
* The first official release of Spelt



-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to