From: Igor M. <gre...@ya...> - 2007-04-04 13:59:34
|
On Wed, 2007-04-04 at 08:53 +0200, F Wolff wrote: > On Ma, 2007-04-02 at 12:37 -0400, Igor Miletic wrote: > > On Mon, 2007-04-02 at 11:03 +0200, F Wolff wrote: > > > Hi list > > >=20 > > > Pootle has supported version control integration for some time, but I > > > guess it is one of the lesser known features. Documentation about it = can > > > of course be found on our wiki, here: > > > http://translate.sourceforge.net/wiki/pootle/version_control > > >=20 > > > I thought it would be interesting for people to see it in action. The > > > Frugalware distribution is using it, and anyone can see the results a= t > > > the CIA page for their Pootle user that is committing translations fr= om > > > inside Pootle on behalf of the users: > > >=20 > > > http://cia.vc/stats/author/Pootle%20%3Cp...@fr...%3E > > >=20 > > >=20 > > >=20 > > >=20 > > Well about this, > >=20 > > I have an error coming out every time I try to update the translation t= o > > SVN server. > >=20 > > This is the output of PootleServer: > >=20 > > 2007-04-02 12:32:45: Traceback (most recent call last): > > File "/usr/lib/python2.4/site-packages/Pootle/users.py", line 223, in > > handle > > page =3D self.getpage(pathwords, session, argdict) > > File "/usr/lib/python2.4/site-packages/Pootle/pootle.py", line 493, i= n > > getpage > > return indexpage.ProjectIndex(project, session, argdict, dirfilter) > > File "/usr/lib/python2.4/site-packages/Pootle/indexpage.py", line 310= , > > in __init__ > > self.handleactions() > > File "/usr/lib/python2.4/site-packages/Pootle/indexpage.py", line 423= , > > in handleactions > > self.project.commitpofile(self.session, self.dirname, commitfile) > > File "/usr/lib/python2.4/site-packages/Pootle/projects.py", line 586, > > in commitpofile > > stats =3D self.getquickstats([pofilename]) > > File "/usr/lib/python2.4/site-packages/Pootle/projects.py", line 1028= , > > in getquickstats > > print(self.pofiles[pofilename].updatequickstats()) > > File "/usr/lib/python2.4/site-packages/Pootle/projects.py", line 78, > > in __getitem__ > > return timecache.timecache.__getitem__(self, key) > > File "/usr/lib/python2.4/site-packages/jToolkit/timecache.py", line > > 68, in __getitem__ > > timestamp, value =3D dict.__getitem__(self, key) > > KeyError: u'sr.po' > >=20 > > sr.po is name of file that I am translating through Pootle web > > interface. I am not sure what it complains about file name. > >=20 > > Cheers, > > Igor >=20 >=20 > Thank you for this report, Igor. Can you provide more detail on when > this happen? Is this immediately after you start the server, or does it > happen after using the file sr.po already a bit? Also, can you please > give the output of Pootleserver --version? >=20 Sorry for not being clear. This happens whenever I try to update sr.po to version control system (SVN in my case).=20 So regardless of weather I just started PootleServer or I used sr.po a bit (i.e. added new translations), if I try to commit changes through Pootle I get error above. Output of the PootleServer command: > PootleServer --version PootleServer 0.11 jToolkit 0.7.8 Translate Toolkit 0.11 Kid 0.9.4 ElementTree 1.2.6 Python 2.4.4 (#1, Oct 23 2006, 13:58:00)=20 [GCC 4.1.1 20061011 (Red Hat 4.1.1-30)] (on linux2/posix) Cheers, Igor |