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 <po_root>/ooui and <po_root>/oohlp/pap >>>> * The pap directories are empty so I conclude that I must copy the >>>> >>>> >>> contents >>> >>> >>>> of the converted OpenOffice PO files to <po_root>/ooui/pap amd >>>> <po_root>/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 >>>> [email protected] >>>> 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 >> [email protected] >> 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 > [email protected] > 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 [email protected] https://lists.sourceforge.net/lists/listinfo/translate-pootle
