Re: [translate-pootle] Poot; e 1.2 does not work ... config problems??

2008-11-02 Thread Krzysztof (sh4dow) Bzowski
>>> import trac.db.sqlite_backend as test
>>> test._ver
(3, 3, 8)
>>> test.have_pysqlite
2
>>> test.sqlite.version
'2.4.1'

PootleServer --refreshstat

Project pootle, Language pl:
Could not intialize indexer for pootle in pl: Indexer: no indexing
engines are available
. .

2008/10/30 F Wolff <[EMAIL PROTECTED]>:
> On Wo, 2008-10-29 at 20:06 +0100, Krzysztof (sh4dow) Bzowski wrote:
>> > The command I gave to Aijin is only supposed to work on Python 2.5.
>> > Which version of Python do you have? You can check by running
>> > python --version
>>
>> Python 2.4.4
>
> For Python 2.4, you need to have the pysqlite2 package installed. Please
> check the README file in the source package for more dependencies that
> you might need.
>
>> I'm running Pootle on my shell account moreover I haven't PyLucene
>> there (haven't root privileges, and too much dependency to install
>> locally) so how I can refresh stats ?
>
> By starting PootleServer with the --refreshstats option
>
> Keep well
> Friedel
>
> --
> Recently on my blog:
> http://translate.org.za/blogs/friedel/en/content/its-easyer-with-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
>

-
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


Re: [translate-pootle] Poot; e 1.2 does not work ... config problems??

2008-10-29 Thread F Wolff
On Wo, 2008-10-29 at 20:06 +0100, Krzysztof (sh4dow) Bzowski wrote:
> > The command I gave to Aijin is only supposed to work on Python 2.5.
> > Which version of Python do you have? You can check by running
> > python --version
> 
> Python 2.4.4

For Python 2.4, you need to have the pysqlite2 package installed. Please
check the README file in the source package for more dependencies that
you might need.

> I'm running Pootle on my shell account moreover I haven't PyLucene
> there (haven't root privileges, and too much dependency to install
> locally) so how I can refresh stats ?

By starting PootleServer with the --refreshstats option

Keep well
Friedel

--
Recently on my blog:
http://translate.org.za/blogs/friedel/en/content/its-easyer-with-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


Re: [translate-pootle] Poot; e 1.2 does not work ... config problems??

2008-10-29 Thread Krzysztof (sh4dow) Bzowski
> The command I gave to Aijin is only supposed to work on Python 2.5.
> Which version of Python do you have? You can check by running
> python --version

Python 2.4.4

I'm running Pootle on my shell account moreover I haven't PyLucene
there (haven't root privileges, and too much dependency to install
locally) so how I can refresh stats ?

> If possible, please try to keep the discussion on the mailing list,
> otherwise nobody can benefit from the discussion, and you are dependent
> on me to reply. I'm not always at my computer, so you might need to wait
> longer for a reply.

I use google to read that mailist and default option is "Reply to
author of massage" - I didn't notice that.

-
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


Re: [translate-pootle] Poot; e 1.2 does not work ... config problems??

2008-10-29 Thread F Wolff
On Di, 2008-10-28 at 00:44 +0800, Aijin Kim wrote:
> Thanks Friedel.
> 
> Running those commands show me:
> -bash-3.00$ python -c "import sqlite3; print sqlite3.version"
> 2.3.2
> -bash-3.00$ python -c "import sqlite3; print sqlite3.sqlite_version"
> 3.2.2

Here ^ is our problem. The SQL syntax "IF [NOT] EXISTS" is only
supported since sqlite version 3.3.0. This seems to have been available
since the start of 2006. I feel we can probably rely on this being
available, but I would like to hear people's opinion.

Aijin, are you able to upgrade to a newer version of sqlite?

> 
> I'm not sure why  the first one shows 2.3.2 instead of 3.x.x

The first version is the version of the python binding, and the second
is the versin of the sqlite library itself.

Keep well
Friedel

--
Recently on my blog:
http://translate.org.za/blogs/friedel/en/content/its-easyer-with-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


Re: [translate-pootle] Poot; e 1.2 does not work ... config problems??

2008-10-27 Thread Aijin Kim
On 2008년 10월 28일 오전 12:44, Aijin Kim wrote:
> Thanks Friedel.
>
> Running those commands show me:
> -bash-3.00$ python -c "import sqlite3; print sqlite3.version"
> 2.3.2
> -bash-3.00$ python -c "import sqlite3; print sqlite3.sqlite_version"
> 3.2.2
>
> I'm not sure why  the first one shows 2.3.2 instead of 3.x.x
>   

And after running 'PootleServer --refreshstat', stat.db is still empty. 
It seems that statistics is not correctly built.

Thanks,
Aijin

> Regards,
> Aijin
>
> On 2008년 10월 24일 오후 02:19, F Wolff wrote:
>   
>> On Vr, 2008-10-24 at 08:14 +0200, F Wolff wrote:
>>   
>> 
>>> This seems related to the statistics database. Did you rebuild the
>>> statistics database since testing out the pre-release versions of 1.2?
>>> Can you perhaps say what the output is of this command?
>>>
>>>   python -c "import sqlite3; print sqlite3.version"
>>> 
>>>   
>> And also this one:
>>
>>   python -c "import sqlite3; print sqlite3.sqlite_version"
>>
>> Friedel
>>
>> --
>> Recently on my blog:
>> http://translate.org.za/blogs/friedel/en/content/autocompletion-during-translation
>>
>>
>> -
>> 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
>>   
>> 
>
> -
> 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
>   

-
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


Re: [translate-pootle] Poot; e 1.2 does not work ... config problems??

2008-10-27 Thread Aijin Kim
Thank you Urso for pointing the issue.
The symptom described in the issue is same with my case. However I don't 
use servertype option, but on.y use port  parameter.
Hope to find out a clue soon.

Thanks,
Aijin


On 2008? 10? 24? ?? 06:20, Urso Wieske wrote:
> Hi Aijin
>
> I removed the servertype parameter at startup time of Pootle and did not
> get problems anymore.
> I don;t know if we have the same problem, but  you might want to check out
> Pootle Bugzilla issue #579.
>
> Kind Regards
> Urso
>
> 2008/10/23 Aijin Kim <[EMAIL PROTECTED]>
>
>   
>> Hi Wynand,
>>
>> I also encounter the same issue even after upgrading Pootle and TT to
>> 1.2.0. I'm not sure if it's an encoding issue because I copied the po
>> files from the current working OO.o pootle server.
>>
>> During start Pootle, I get some error message in log:
>>
>> /2008-08-31 22:45:13: Listening on port 81
>> 2008-08-31 22:45:13: To use the server, open a web browser at
>> http://127.0.0.1:81/
>> 2008-08-31 22:45:13: Could not initialize translation:
>> near "NOT": syntax error/
>>
>> Can you please let me know what do those errors mean?
>>
>> Thanks,
>> Aijin
>>
>>
>> On 2008? 10? 21? ?? 08:49, Wynand Winterbach wrote:
>> 
>>> Hi Urso
>>>
>>> I suspect that you're running into an encoding issue. Perhaps the file
>>> is declared as a UTF-8 file, but encoded with something like ISO8859-1.
>>> Our parser also assumes that a file is UTF-8 encoded if there is no
>>> encoding declaration in the file.
>>>
>>> When Pootle runs into an error when computing the stats of a file, it
>>> just continues and assigns null stats to the file (which is why you're
>>> seeing that the stats for helper.po are zero).
>>>
>>> The problem we used to have, was that Pootle wouldn't make a peep when
>>> it saw an error. Our newest code will print any such errors to the log,
>>> which means that you'll get a good clue as to what's going wrong (and of
>>> course, it means that we'll be in a better position to find the causes
>>> of bugs).
>>>
>>> The new code will make it into Pootle 1.2.1, which we're planning to
>>> release (hopefully very) soon.
>>>
>>> Cheers
>>> Wynand
>>>
>>>   
 Hi Wil

 Yeah, this is really a headache to me. I checked with the logfiles of
 pootleserver, but so far there has been no errors or warnings reported.
 Can you send me the version of the Pootle components/dependencies you
 
>> are
>> 
 using? (jtoolkit,kid, translate toolkit, etc etc)
 Is this a Python thing? I am not sure about python.

 Kind Regards
 Urso



 2008/10/16 Wil Clouser <[EMAIL PROTECTED]>



 
> I've run into the "There are no items matching that search" problem as
> well but I haven't had the problem since I upgraded to the latest
> version.  This makes it sound like the problem still exists in trunk.
> :(
>
> Wil
>
> On Thu, Oct 16, 2008 at 1:16 PM, Urso Wieske <[EMAIL PROTECTED]>
>   
>> wrote:
>> 
>   
>> Ho Folks
>>
>> I have installed Pootle 1.2 on my CentOS machine, but I having serious
>> problems.
>> I am having reliability problems.
>> Case: Adding Open Office PO files to Pootleserver
>>
>> * I downloaded Open Office POT files
>> * I have "pot2po"-ed the pot files to a directory oo-po
>> * Then I have split the contents of this directory into two separate
>> directories (suggested by Open Office I10n community, i.e. Open Office
>> 
>> UI
>> 
>> and Open Office Help)
>> * In the meantime I have created in Pootle two new projects ooui and
>>
>>
>> 
> oohlp
>
>
>   
>> for respectively Open Office UI and Open Office Help.
>> * I added the language PAP (Papiamento) to both of the projects
>> * As a result of these actions I can see that Pootleserver has created
>>
>>
>> 
> the
>
>
>   
>> directories /ooui and /oohlp/pap
>> * The pap directories are empty so I conclude that I must copy the
>>
>>
>> 
> contents
>
>
>   
>> of the converted OpenOffice PO files to /ooui/pap amd
>> /oohlp/pap respectively.
>> * And so I did.
>> * Then I went back to Pootleserver in Admin pages I have chosen
>>
>>
>> 
> OpenOffice
>
>
>   
>> UI (ooui) project, then selected the papiamento language (formerly
>> 
>> added
>> 
>> 
> to
>
>
>   
>> this project) and I have selected the checkbox "update from template".
>> (Something I do not understand, but I discovered that if I do it, it
>>
>>
>> 
> seems
>
>
>   
>> as if Pootle will initialize/read the content of the converted po
>> 
>> files
>> 

Re: [translate-pootle] Poot; e 1.2 does not work ... config problems??

2008-10-27 Thread Aijin Kim
Thanks Friedel.

Running those commands show me:
-bash-3.00$ python -c "import sqlite3; print sqlite3.version"
2.3.2
-bash-3.00$ python -c "import sqlite3; print sqlite3.sqlite_version"
3.2.2

I'm not sure why  the first one shows 2.3.2 instead of 3.x.x

Regards,
Aijin

On 2008년 10월 24일 오후 02:19, F Wolff wrote:
> On Vr, 2008-10-24 at 08:14 +0200, F Wolff wrote:
>   
>> This seems related to the statistics database. Did you rebuild the
>> statistics database since testing out the pre-release versions of 1.2?
>> Can you perhaps say what the output is of this command?
>>
>>   python -c "import sqlite3; print sqlite3.version"
>> 
>
>
> And also this one:
>
>   python -c "import sqlite3; print sqlite3.sqlite_version"
>
> Friedel
>
> --
> Recently on my blog:
> http://translate.org.za/blogs/friedel/en/content/autocompletion-during-translation
>
>
> -
> 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
>   

-
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


Re: [translate-pootle] Poot; e 1.2 does not work ... config problems??

2008-10-23 Thread F Wolff
On Vr, 2008-10-24 at 08:14 +0200, F Wolff wrote:
> This seems related to the statistics database. Did you rebuild the
> statistics database since testing out the pre-release versions of 1.2?
> Can you perhaps say what the output is of this command?
> 
>   python -c "import sqlite3; print sqlite3.version"


And also this one:

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

Friedel

--
Recently on my blog:
http://translate.org.za/blogs/friedel/en/content/autocompletion-during-translation


-
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


Re: [translate-pootle] Poot; e 1.2 does not work ... config problems??

2008-10-23 Thread F Wolff
On Vr, 2008-10-24 at 05:36 +0800, Aijin Kim wrote:
> Hi Wynand,
> 
> I also encounter the same issue even after upgrading Pootle and TT to 
> 1.2.0. I'm not sure if it's an encoding issue because I copied the po 
> files from the current working OO.o pootle server.
> 
> During start Pootle, I get some error message in log:
> 
> /2008-08-31 22:45:13: Listening on port 81
> 2008-08-31 22:45:13: To use the server, open a web browser at 
> http://127.0.0.1:81/
> 2008-08-31 22:45:13: Could not initialize translation:
> near "NOT": syntax error/
> 
> Can you please let me know what do those errors mean?
> 
> Thanks,
> Aijin

This seems related to the statistics database. Did you rebuild the
statistics database since testing out the pre-release versions of 1.2?
Can you perhaps say what the output is of this command?

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

Friedel

--
Recently on my blog:
http://translate.org.za/blogs/friedel/en/content/autocompletion-during-translation


-
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


Re: [translate-pootle] Poot; e 1.2 does not work ... config problems??

2008-10-23 Thread Urso Wieske
Hi Aijin

I removed the servertype parameter at startup time of Pootle and did not
get problems anymore.
I don;t know if we have the same problem, but  you might want to check out
Pootle Bugzilla issue #579.

Kind Regards
Urso

2008/10/23 Aijin Kim <[EMAIL PROTECTED]>

> Hi Wynand,
>
> I also encounter the same issue even after upgrading Pootle and TT to
> 1.2.0. I'm not sure if it's an encoding issue because I copied the po
> files from the current working OO.o pootle server.
>
> During start Pootle, I get some error message in log:
>
> /2008-08-31 22:45:13: Listening on port 81
> 2008-08-31 22:45:13: To use the server, open a web browser at
> http://127.0.0.1:81/
> 2008-08-31 22:45:13: Could not initialize translation:
> near "NOT": syntax error/
>
> Can you please let me know what do those errors mean?
>
> Thanks,
> Aijin
>
>
> On 2008? 10? 21? ?? 08:49, Wynand Winterbach wrote:
> > Hi Urso
> >
> > I suspect that you're running into an encoding issue. Perhaps the file
> > is declared as a UTF-8 file, but encoded with something like ISO8859-1.
> > Our parser also assumes that a file is UTF-8 encoded if there is no
> > encoding declaration in the file.
> >
> > When Pootle runs into an error when computing the stats of a file, it
> > just continues and assigns null stats to the file (which is why you're
> > seeing that the stats for helper.po are zero).
> >
> > The problem we used to have, was that Pootle wouldn't make a peep when
> > it saw an error. Our newest code will print any such errors to the log,
> > which means that you'll get a good clue as to what's going wrong (and of
> > course, it means that we'll be in a better position to find the causes
> > of bugs).
> >
> > The new code will make it into Pootle 1.2.1, which we're planning to
> > release (hopefully very) soon.
> >
> > Cheers
> > Wynand
> >
> >> Hi Wil
> >>
> >> Yeah, this is really a headache to me. I checked with the logfiles of
> >> pootleserver, but so far there has been no errors or warnings reported.
> >> Can you send me the version of the Pootle components/dependencies you
> are
> >> using? (jtoolkit,kid, translate toolkit, etc etc)
> >> Is this a Python thing? I am not sure about python.
> >>
> >> Kind Regards
> >> Urso
> >>
> >>
> >>
> >> 2008/10/16 Wil Clouser <[EMAIL PROTECTED]>
> >>
> >>
> >>
> >>> I've run into the "There are no items matching that search" problem as
> >>> well but I haven't had the problem since I upgraded to the latest
> >>> version.  This makes it sound like the problem still exists in trunk.
> >>> :(
> >>>
> >>> Wil
> >>>
> >>> On Thu, Oct 16, 2008 at 1:16 PM, Urso Wieske <[EMAIL PROTECTED]>
> wrote:
> >>>
> >>>
>  Ho Folks
> 
>  I have installed Pootle 1.2 on my CentOS machine, but I having serious
>  problems.
>  I am having reliability problems.
>  Case: Adding Open Office PO files to Pootleserver
> 
>  * I downloaded Open Office POT files
>  * I have "pot2po"-ed the pot files to a directory oo-po
>  * Then I have split the contents of this directory into two separate
>  directories (suggested by Open Office I10n community, i.e. Open Office
> UI
>  and Open Office Help)
>  * In the meantime I have created in Pootle two new projects ooui and
> 
> 
> >>> oohlp
> >>>
> >>>
>  for respectively Open Office UI and Open Office Help.
>  * I added the language PAP (Papiamento) to both of the projects
>  * As a result of these actions I can see that Pootleserver has created
> 
> 
> >>> the
> >>>
> >>>
>  directories /ooui and /oohlp/pap
>  * The pap directories are empty so I conclude that I must copy the
> 
> 
> >>> contents
> >>>
> >>>
>  of the converted OpenOffice PO files to /ooui/pap amd
>  /oohlp/pap respectively.
>  * And so I did.
>  * Then I went back to Pootleserver in Admin pages I have chosen
> 
> 
> >>> OpenOffice
> >>>
> >>>
>  UI (ooui) project, then selected the papiamento language (formerly
> added
> 
> 
> >>> to
> >>>
> >>>
>  this project) and I have selected the checkbox "update from template".
>  (Something I do not understand, but I discovered that if I do it, it
> 
> 
> >>> seems
> >>>
> >>>
>  as if Pootle will initialize/read the content of the converted po
> files
> 
> 
> >>> and
> >>>
> >>>
>  make Pootle ready for translation.
>  * I see for Open Office UI that all po files have been read into
> Pootle.
> 
> 
> >>> I
> >>>
> >>>
>  can establish this by the fact that translation progress bar is being
>  painted. Since no translation has been done - we made an
> initialization-
> 
> 
> >>> the
> >>>
> >>>
>  progress is painted RED.
>  Having seen the red bar I conclude that everything has been
> succesfully
>  added.
>  (by the way, when I added the language PAP to ooui I also added user
>  priviliges to this project for user, let's say jdoe (John Doe). John
> is
> 
> 

Re: [translate-pootle] Poot; e 1.2 does not work ... config problems??

2008-10-23 Thread Aijin Kim
Hi Wynand,

I also encounter the same issue even after upgrading Pootle and TT to 
1.2.0. I'm not sure if it's an encoding issue because I copied the po 
files from the current working OO.o pootle server.

During start Pootle, I get some error message in log:

/2008-08-31 22:45:13: Listening on port 81
2008-08-31 22:45:13: To use the server, open a web browser at 
http://127.0.0.1:81/
2008-08-31 22:45:13: Could not initialize translation:
near "NOT": syntax error/

Can you please let me know what do those errors mean?

Thanks,
Aijin


On 2008? 10? 21? ?? 08:49, Wynand Winterbach wrote:
> Hi Urso
>
> I suspect that you're running into an encoding issue. Perhaps the file 
> is declared as a UTF-8 file, but encoded with something like ISO8859-1. 
> Our parser also assumes that a file is UTF-8 encoded if there is no 
> encoding declaration in the file.
>
> When Pootle runs into an error when computing the stats of a file, it 
> just continues and assigns null stats to the file (which is why you're 
> seeing that the stats for helper.po are zero).
>
> The problem we used to have, was that Pootle wouldn't make a peep when 
> it saw an error. Our newest code will print any such errors to the log, 
> which means that you'll get a good clue as to what's going wrong (and of 
> course, it means that we'll be in a better position to find the causes 
> of bugs).
>
> The new code will make it into Pootle 1.2.1, which we're planning to 
> release (hopefully very) soon.
>
> Cheers
> Wynand
>   
>> Hi Wil
>>
>> Yeah, this is really a headache to me. I checked with the logfiles of
>> pootleserver, but so far there has been no errors or warnings reported.
>> Can you send me the version of the Pootle components/dependencies you are
>> using? (jtoolkit,kid, translate toolkit, etc etc)
>> Is this a Python thing? I am not sure about python.
>>
>> Kind Regards
>> Urso
>>
>>
>>
>> 2008/10/16 Wil Clouser <[EMAIL PROTECTED]>
>>
>>   
>> 
>>> I've run into the "There are no items matching that search" problem as
>>> well but I haven't had the problem since I upgraded to the latest
>>> version.  This makes it sound like the problem still exists in trunk.
>>> :(
>>>
>>> Wil
>>>
>>> On Thu, Oct 16, 2008 at 1:16 PM, Urso Wieske <[EMAIL PROTECTED]> wrote:
>>> 
>>>   
 Ho Folks

 I have installed Pootle 1.2 on my CentOS machine, but I having serious
 problems.
 I am having reliability problems.
 Case: Adding Open Office PO files to Pootleserver

 * I downloaded Open Office POT files
 * I have "pot2po"-ed the pot files to a directory oo-po
 * Then I have split the contents of this directory into two separate
 directories (suggested by Open Office I10n community, i.e. Open Office UI
 and Open Office Help)
 * In the meantime I have created in Pootle two new projects ooui and
   
 
>>> oohlp
>>> 
>>>   
 for respectively Open Office UI and Open Office Help.
 * I added the language PAP (Papiamento) to both of the projects
 * As a result of these actions I can see that Pootleserver has created
   
 
>>> the
>>> 
>>>   
 directories /ooui and /oohlp/pap
 * The pap directories are empty so I conclude that I must copy the
   
 
>>> contents
>>> 
>>>   
 of the converted OpenOffice PO files to /ooui/pap amd
 /oohlp/pap respectively.
 * And so I did.
 * Then I went back to Pootleserver in Admin pages I have chosen
   
 
>>> OpenOffice
>>> 
>>>   
 UI (ooui) project, then selected the papiamento language (formerly added
   
 
>>> to
>>> 
>>>   
 this project) and I have selected the checkbox "update from template".
 (Something I do not understand, but I discovered that if I do it, it
   
 
>>> seems
>>> 
>>>   
 as if Pootle will initialize/read the content of the converted po files
   
 
>>> and
>>> 
>>>   
 make Pootle ready for translation.
 * I see for Open Office UI that all po files have been read into Pootle.
   
 
>>> I
>>> 
>>>   
 can establish this by the fact that translation progress bar is being
 painted. Since no translation has been done - we made an initialization-
   
 
>>> the
>>> 
>>>   
 progress is painted RED.
 Having seen the red bar I conclude that everything has been succesfully
 added.
 (by the way, when I added the language PAP to ooui I also added user
 priviliges to this project for user, let's say jdoe (John Doe). John is
   
 
>>> an
>>> 
>>>   
 siteadmin and all possible permission have been granted to John.

 NOW: here is the problem...
 * When I navigate repeatedly thru the Pootle PO pages, .hey?I
   
 
>>> lost
>>> 
>>>   
 my "red prog

Re: [translate-pootle] Poot; e 1.2 does not work ... config problems??

2008-10-21 Thread Wynand Winterbach
Hi Urso

I suspect that you're running into an encoding issue. Perhaps the file 
is declared as a UTF-8 file, but encoded with something like ISO8859-1. 
Our parser also assumes that a file is UTF-8 encoded if there is no 
encoding declaration in the file.

When Pootle runs into an error when computing the stats of a file, it 
just continues and assigns null stats to the file (which is why you're 
seeing that the stats for helper.po are zero).

The problem we used to have, was that Pootle wouldn't make a peep when 
it saw an error. Our newest code will print any such errors to the log, 
which means that you'll get a good clue as to what's going wrong (and of 
course, it means that we'll be in a better position to find the causes 
of bugs).

The new code will make it into Pootle 1.2.1, which we're planning to 
release (hopefully very) soon.

Cheers
Wynand
> Hi Wil
>
> Yeah, this is really a headache to me. I checked with the logfiles of
> pootleserver, but so far there has been no errors or warnings reported.
> Can you send me the version of the Pootle components/dependencies you are
> using? (jtoolkit,kid, translate toolkit, etc etc)
> Is this a Python thing? I am not sure about python.
>
> Kind Regards
> Urso
>
>
>
> 2008/10/16 Wil Clouser <[EMAIL PROTECTED]>
>
>   
>> I've run into the "There are no items matching that search" problem as
>> well but I haven't had the problem since I upgraded to the latest
>> version.  This makes it sound like the problem still exists in trunk.
>> :(
>>
>> Wil
>>
>> On Thu, Oct 16, 2008 at 1:16 PM, Urso Wieske <[EMAIL PROTECTED]> wrote:
>> 
>>> Ho Folks
>>>
>>> I have installed Pootle 1.2 on my CentOS machine, but I having serious
>>> problems.
>>> I am having reliability problems.
>>> Case: Adding Open Office PO files to Pootleserver
>>>
>>> * I downloaded Open Office POT files
>>> * I have "pot2po"-ed the pot files to a directory oo-po
>>> * Then I have split the contents of this directory into two separate
>>> directories (suggested by Open Office I10n community, i.e. Open Office UI
>>> and Open Office Help)
>>> * In the meantime I have created in Pootle two new projects ooui and
>>>   
>> oohlp
>> 
>>> for respectively Open Office UI and Open Office Help.
>>> * I added the language PAP (Papiamento) to both of the projects
>>> * As a result of these actions I can see that Pootleserver has created
>>>   
>> the
>> 
>>> directories /ooui and /oohlp/pap
>>> * The pap directories are empty so I conclude that I must copy the
>>>   
>> contents
>> 
>>> of the converted OpenOffice PO files to /ooui/pap amd
>>> /oohlp/pap respectively.
>>> * And so I did.
>>> * Then I went back to Pootleserver in Admin pages I have chosen
>>>   
>> OpenOffice
>> 
>>> UI (ooui) project, then selected the papiamento language (formerly added
>>>   
>> to
>> 
>>> this project) and I have selected the checkbox "update from template".
>>> (Something I do not understand, but I discovered that if I do it, it
>>>   
>> seems
>> 
>>> as if Pootle will initialize/read the content of the converted po files
>>>   
>> and
>> 
>>> make Pootle ready for translation.
>>> * I see for Open Office UI that all po files have been read into Pootle.
>>>   
>> I
>> 
>>> can establish this by the fact that translation progress bar is being
>>> painted. Since no translation has been done - we made an initialization-
>>>   
>> the
>> 
>>> progress is painted RED.
>>> Having seen the red bar I conclude that everything has been succesfully
>>> added.
>>> (by the way, when I added the language PAP to ooui I also added user
>>> priviliges to this project for user, let's say jdoe (John Doe). John is
>>>   
>> an
>> 
>>> siteadmin and all possible permission have been granted to John.
>>>
>>> NOW: here is the problem...
>>> * When I navigate repeatedly thru the Pootle PO pages, .hey?I
>>>   
>> lost
>> 
>>> my "red progress bars". That is I can see that Pootle display my PO
>>>   
>> files.
>> 
>>> But when I select a PO file for translation I get an empty page. In
>>> short, Pootle displays the directory tree structure (dir names and PO
>>> filename), but it seems that he lost the content of the PO files. ??
>>> In addition this is the message that is displayed when I attempt to
>>>   
>> select a
>> 
>>> "phantom" PO file: 'There are no items matching that search ('')'.
>>>
>>> The scared thing about this, sometimes the PO files are really there (I
>>>   
>> can
>> 
>>> see the red translation progress bar) and other times the completely
>>> disappear!! ???
>>> But most of the time the content of PO files are not present.
>>>
>>> Can someone can help me with this problem because I am completely
>>>   
>> dazzled?
>> 
>>> I am starting to loose confidence in my installed components, python,
>>> translate toolkit, jtoolkit, kid).
>>> I am running python v2.5. And I have followed the installati

Re: [translate-pootle] Poot; e 1.2 does not work ... config problems??

2008-10-16 Thread F Wolff
On Do, 2008-10-16 at 22:16 +0200, Urso Wieske wrote:
> Ho Folks
> 
> I have installed Pootle 1.2 on my CentOS machine, but I having serious
> problems.
> I am having reliability problems.
> Case: Adding Open Office PO files to Pootleserver


...

> Can someone can help me with this problem because I am completely dazzled?
> I am starting to loose confidence in my installed components, python,
> translate toolkit, jtoolkit, kid).
> I am running python v2.5. And I have followed the installation
> instructions/system requirements for Pootle release 1.2.
> 
> Please help,
> 
> Thank you
> 
> Urso Wieske

Hallo Urso

Can you confirm that you are using version 1.2 of the Translate Toolkit
and version 1.2 of Pootle?

Also, are you able to post a screenshot of a page where you "lost the
red progress bar"? Probably in bugzilla is easiest. I'm not sure that
the mailing list will allow picture attachments.

While we sort this out, can you perhaps stop Pootle, delete the
statistics file (~/.translate_toolkit/stats.db) and run
PootleServer --refreshstats

For a full OpenOffice.org fileset this should take a while - don't worry
about that.

I hope we can sort this out soon.

Keep well
Friedel

--
Recently on my blog:
http://translate.org.za/blogs/friedel/en/content/autocompletion-during-translation


-
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


Re: [translate-pootle] Poot; e 1.2 does not work ... config problems??

2008-10-16 Thread Urso Wieske
Hi Wil

Yeah, this is really a headache to me. I checked with the logfiles of
pootleserver, but so far there has been no errors or warnings reported.
Can you send me the version of the Pootle components/dependencies you are
using? (jtoolkit,kid, translate toolkit, etc etc)
Is this a Python thing? I am not sure about python.

Kind Regards
Urso



2008/10/16 Wil Clouser <[EMAIL PROTECTED]>

> I've run into the "There are no items matching that search" problem as
> well but I haven't had the problem since I upgraded to the latest
> version.  This makes it sound like the problem still exists in trunk.
> :(
>
> Wil
>
> On Thu, Oct 16, 2008 at 1:16 PM, Urso Wieske <[EMAIL PROTECTED]> wrote:
> > Ho Folks
> >
> > I have installed Pootle 1.2 on my CentOS machine, but I having serious
> > problems.
> > I am having reliability problems.
> > Case: Adding Open Office PO files to Pootleserver
> >
> > * I downloaded Open Office POT files
> > * I have "pot2po"-ed the pot files to a directory oo-po
> > * Then I have split the contents of this directory into two separate
> > directories (suggested by Open Office I10n community, i.e. Open Office UI
> > and Open Office Help)
> > * In the meantime I have created in Pootle two new projects ooui and
> oohlp
> > for respectively Open Office UI and Open Office Help.
> > * I added the language PAP (Papiamento) to both of the projects
> > * As a result of these actions I can see that Pootleserver has created
> the
> > directories /ooui and /oohlp/pap
> > * The pap directories are empty so I conclude that I must copy the
> contents
> > of the converted OpenOffice PO files to /ooui/pap amd
> > /oohlp/pap respectively.
> > * And so I did.
> > * Then I went back to Pootleserver in Admin pages I have chosen
> OpenOffice
> > UI (ooui) project, then selected the papiamento language (formerly added
> to
> > this project) and I have selected the checkbox "update from template".
> > (Something I do not understand, but I discovered that if I do it, it
> seems
> > as if Pootle will initialize/read the content of the converted po files
> and
> > make Pootle ready for translation.
> > * I see for Open Office UI that all po files have been read into Pootle.
> I
> > can establish this by the fact that translation progress bar is being
> > painted. Since no translation has been done - we made an initialization-
> the
> > progress is painted RED.
> > Having seen the red bar I conclude that everything has been succesfully
> > added.
> > (by the way, when I added the language PAP to ooui I also added user
> > priviliges to this project for user, let's say jdoe (John Doe). John is
> an
> > siteadmin and all possible permission have been granted to John.
> >
> > NOW: here is the problem...
> > * When I navigate repeatedly thru the Pootle PO pages, .hey?I
> lost
> > my "red progress bars". That is I can see that Pootle display my PO
> files.
> > But when I select a PO file for translation I get an empty page. In
> > short, Pootle displays the directory tree structure (dir names and PO
> > filename), but it seems that he lost the content of the PO files. ??
> > In addition this is the message that is displayed when I attempt to
> select a
> > "phantom" PO file: 'There are no items matching that search ('')'.
> >
> > The scared thing about this, sometimes the PO files are really there (I
> can
> > see the red translation progress bar) and other times the completely
> > disappear!! ???
> > But most of the time the content of PO files are not present.
> >
> > Can someone can help me with this problem because I am completely
> dazzled?
> > I am starting to loose confidence in my installed components, python,
> > translate toolkit, jtoolkit, kid).
> > I am running python v2.5. And I have followed the installation
> > instructions/system requirements for Pootle release 1.2.
> >
> > Please help,
> >
> > Thank you
> >
> > Urso Wieske
> > -
> > 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
> >
>
-
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.sou

Re: [translate-pootle] Poot; e 1.2 does not work ... config problems??

2008-10-16 Thread Wil Clouser
I've run into the "There are no items matching that search" problem as
well but I haven't had the problem since I upgraded to the latest
version.  This makes it sound like the problem still exists in trunk.
:(

Wil

On Thu, Oct 16, 2008 at 1:16 PM, Urso Wieske <[EMAIL PROTECTED]> wrote:
> Ho Folks
>
> I have installed Pootle 1.2 on my CentOS machine, but I having serious
> problems.
> I am having reliability problems.
> Case: Adding Open Office PO files to Pootleserver
>
> * I downloaded Open Office POT files
> * I have "pot2po"-ed the pot files to a directory oo-po
> * Then I have split the contents of this directory into two separate
> directories (suggested by Open Office I10n community, i.e. Open Office UI
> and Open Office Help)
> * In the meantime I have created in Pootle two new projects ooui and oohlp
> for respectively Open Office UI and Open Office Help.
> * I added the language PAP (Papiamento) to both of the projects
> * As a result of these actions I can see that Pootleserver has created the
> directories /ooui and /oohlp/pap
> * The pap directories are empty so I conclude that I must copy the contents
> of the converted OpenOffice PO files to /ooui/pap amd
> /oohlp/pap respectively.
> * And so I did.
> * Then I went back to Pootleserver in Admin pages I have chosen OpenOffice
> UI (ooui) project, then selected the papiamento language (formerly added to
> this project) and I have selected the checkbox "update from template".
> (Something I do not understand, but I discovered that if I do it, it seems
> as if Pootle will initialize/read the content of the converted po files and
> make Pootle ready for translation.
> * I see for Open Office UI that all po files have been read into Pootle. I
> can establish this by the fact that translation progress bar is being
> painted. Since no translation has been done - we made an initialization- the
> progress is painted RED.
> Having seen the red bar I conclude that everything has been succesfully
> added.
> (by the way, when I added the language PAP to ooui I also added user
> priviliges to this project for user, let's say jdoe (John Doe). John is an
> siteadmin and all possible permission have been granted to John.
>
> NOW: here is the problem...
> * When I navigate repeatedly thru the Pootle PO pages, .hey?I lost
> my "red progress bars". That is I can see that Pootle display my PO files.
> But when I select a PO file for translation I get an empty page. In
> short, Pootle displays the directory tree structure (dir names and PO
> filename), but it seems that he lost the content of the PO files. ??
> In addition this is the message that is displayed when I attempt to select a
> "phantom" PO file: 'There are no items matching that search ('')'.
>
> The scared thing about this, sometimes the PO files are really there (I can
> see the red translation progress bar) and other times the completely
> disappear!! ???
> But most of the time the content of PO files are not present.
>
> Can someone can help me with this problem because I am completely dazzled?
> I am starting to loose confidence in my installed components, python,
> translate toolkit, jtoolkit, kid).
> I am running python v2.5. And I have followed the installation
> instructions/system requirements for Pootle release 1.2.
>
> Please help,
>
> Thank you
>
> Urso Wieske
> -
> 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
>

-
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