Re: [translate-pootle] UnresolvedPref instance has no attribute 'startswith'

2008-11-11 Thread F Wolff
On Di, 2008-11-11 at 22:50 +0800, Olaf wrote:
 F Wolff wrote:
  I managed to duplicate the error and found the cause: it was a typing
  error in pootle.prefs. Details in this bug:
  
  http://bugs.locamotion.org/show_bug.cgi?id=594
  
 Indeed that was it, all that trouble due to a missing double quote... 
 Thanks a lot, Friedel, you're my hero of the day - especially because I 
 cannot understand how someone can locate a bug with this kind of error 
 messages...
 
 
 Thanks again,
 
 Olaf

It is my pleasure. It was a bit of an obscure one. We'll be moving away
from the prefs files quite soon. So these errors should soon be
something of the past. Thanks for persevering on this one.

Keep well
Friedel

--
Recently on my blog:
http://translate.org.za/blogs/friedel/en/content/blurred-vision-beeld


-
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


Re: [translate-pootle] Using TM in XLIFF files

2008-11-11 Thread Alaa Abd El Fattah
On Tue, 11 Nov 2008 15:37:55 +0800
Aijin Kim [EMAIL PROTECTED] wrote:

 Hi,
 
 I'm checking the instruction of updatetm and the page mentions that
 it doesn't support XLIFF yet.
 http://translate.sourceforge.net/wiki/pootle/updatetm
 
 Is there any other way to use TM in a XLIFF project?

I'm currently working on a new tool to that will work with XLIFF a
testing version should be available by the end of the week.

cheers,
Alaa

-
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


Re: [translate-pootle] Migration to new server problem (problem with pysqlite2)

2008-11-11 Thread Wynand Winterbach
That's quite odd. SQLite support is part of the Python 2.5 distribution. 
Of course, it is possible to build Python without SQLite support and 
that's probably the case here.


There's no way around this (SQLite support is essential) - would your 
hosting service be willing to install SQLite support?


Cheers
Wynand

Well I think it is Gentoo but I'm not sure - it is shell account so I
have only user privileges.

[EMAIL PROTECTED] ~ $ python -c import sqlite3; print sqlite3.sqlite_version
Traceback (most recent call last):
  File string, line 1, in module
  File /usr/lib64/python2.5/sqlite3/__init__.py, line 24, in module
from dbapi2 import *
  File /usr/lib64/python2.5/sqlite3/dbapi2.py, line 27, in module
from _sqlite3 import *
ImportError: No module named _sqlite3
[EMAIL PROTECTED] ~ $  python -c import sqlite3; print sqlite3.version
Traceback (most recent call last):
  File string, line 1, in module
  File /usr/lib64/python2.5/sqlite3/__init__.py, line 24, in module
from dbapi2 import *
  File /usr/lib64/python2.5/sqlite3/dbapi2.py, line 27, in module
from _sqlite3 import *
ImportError: No module named _sqlite3

2008/11/7 F Wolff [EMAIL PROTECTED]:
  

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



-
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
  


begin:vcard
fn:Wynand Winterbach
n:Winterbach;Wynand
org:Translate.org.za
adr:Groenkloof;;63A Wenning Street;Pretoria;Gauteng;0181;South Africa
email;internet:[EMAIL PROTECTED]
title:Associate
tel;work:+27 12 460 1095
tel;fax:+27 12 460 1095
tel;cell:+27 84 268 5340
x-mozilla-html:FALSE
url:http://www.translate.org.za
version:2.1
end:vcard

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin 

Re: [translate-pootle] Using TM in XLIFF files

2008-11-11 Thread Pål Eivind Jacobsen Nes
So it will more or less act as a pre-translation, adding suggested 
translations with match-percentage (or similar) to a template?

- Pål

Wynand Winterbach wrote:
 The tool Alaa is talking about will enrich XLIFF files with TM entries. 
 I think that the German team (which is already using XLIFF) will find 
 this useful.
 
 Aijin, I want to help you get an XLIFF-based Pootle server running, so 
 give me a shout whenever I can lend a hand. I'm available for most of 
 the day every day.
 
 Cheers
 Wynand
 On Tue, 11 Nov 2008 15:37:55 +0800
 Aijin Kim [EMAIL PROTECTED] wrote:

  
 Hi,

 I'm checking the instruction of updatetm and the page mentions that
 it doesn't support XLIFF yet.
 http://translate.sourceforge.net/wiki/pootle/updatetm

 Is there any other way to use TM in a XLIFF project?
 

 I'm currently working on a new tool to that will work with XLIFF a
 testing version should be available by the end of the week.

 cheers,
 Alaa

 -
 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
   
 
 
 
 
 -
 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


-
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


Re: [translate-pootle] Using TM in XLIFF files

2008-11-11 Thread Alaa Abd El Fattah
On Tue, 11 Nov 2008 13:30:05 +0100
Pål Eivind Jacobsen Nes [EMAIL PROTECTED] wrote:

 So it will more or less act as a pre-translation, adding suggested 
 translations with match-percentage (or similar) to a template?

well, it started as an improvement to the pot2po, so for now it just
does what pot2po requires, the intention is to extend pot2po to support
other formats.

when that's done I'll work on xliff specific improvements.

cheers,
Alaa

-
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


Re: [translate-pootle] Using TM in XLIFF files

2008-11-11 Thread Pål Eivind Jacobsen Nes
Hi!

I am also very interested in such a tool :-) Could you please keep us 
updated on when your tool may be available for testing?

- Pål


Alaa Abd El Fattah wrote:
 On Tue, 11 Nov 2008 15:37:55 +0800
 Aijin Kim [EMAIL PROTECTED] wrote:
 
 Hi,

 I'm checking the instruction of updatetm and the page mentions that
 it doesn't support XLIFF yet.
 http://translate.sourceforge.net/wiki/pootle/updatetm

 Is there any other way to use TM in a XLIFF project?
 
 I'm currently working on a new tool to that will work with XLIFF a
 testing version should be available by the end of the week.
 
 cheers,
 Alaa
 
 -
 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


-
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


Re: [translate-pootle] Using TM in XLIFF files

2008-11-11 Thread Wynand Winterbach
The tool Alaa is talking about will enrich XLIFF files with TM entries. 
I think that the German team (which is already using XLIFF) will find 
this useful.


Aijin, I want to help you get an XLIFF-based Pootle server running, so 
give me a shout whenever I can lend a hand. I'm available for most of 
the day every day.


Cheers
Wynand

On Tue, 11 Nov 2008 15:37:55 +0800
Aijin Kim [EMAIL PROTECTED] wrote:

  

Hi,

I'm checking the instruction of updatetm and the page mentions that
it doesn't support XLIFF yet.
http://translate.sourceforge.net/wiki/pootle/updatetm

Is there any other way to use TM in a XLIFF project?



I'm currently working on a new tool to that will work with XLIFF a
testing version should be available by the end of the week.

cheers,
Alaa

-
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
  


begin:vcard
fn:Wynand Winterbach
n:Winterbach;Wynand
org:Translate.org.za
adr:Groenkloof;;63A Wenning Street;Pretoria;Gauteng;0181;South Africa
email;internet:[EMAIL PROTECTED]
title:Associate
tel;work:+27 12 460 1095
tel;fax:+27 12 460 1095
tel;cell:+27 84 268 5340
x-mozilla-html:FALSE
url:http://www.translate.org.za
version:2.1
end:vcard

-
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


Re: [translate-pootle] Using TM in XLIFF files

2008-11-11 Thread Aijin Kim
Thanks Wynand and Alaa for your explanation.

Wynand Winterbach wrote:
 The tool Alaa is talking about will enrich XLIFF files with TM 
 entries. I think that the German team (which is already using XLIFF) 
 will find this useful.

Yes, I believe they will like the tool.


 Aijin, I want to help you get an XLIFF-based Pootle server running, so 
 give me a shout whenever I can lend a hand. I'm available for most of 
 the day every day.

Thank you very much Wynand for your kindness. I've set up a XLIFF 
project on our testing server. Once testing is done, I'm going to deploy 
in the official OO.o server and sure, I'll ask your help when I meet 
problems.

BTW, glad to know that you had a safe trip back. :)

Thanks,
Aijin


 Cheers
 Wynand
 On Tue, 11 Nov 2008 15:37:55 +0800
 Aijin Kim [EMAIL PROTECTED] wrote:

  
 Hi,

 I'm checking the instruction of updatetm and the page mentions that
 it doesn't support XLIFF yet.
 http://translate.sourceforge.net/wiki/pootle/updatetm

 Is there any other way to use TM in a XLIFF project?
 

 I'm currently working on a new tool to that will work with XLIFF a
 testing version should be available by the end of the week.

 cheers,
 Alaa

 - 

 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
   

 -
 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
   


-
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