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
> > > 
> > > 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
> > > 
> > > 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 at
> > > the CIA page for their Pootle user that is committing translations from
> > > inside Pootle on behalf of the users:
> > > 
> > > http://cia.vc/stats/author/[EMAIL PROTECTED]
> > > 
> > > 
> > > 
> > > 
> > Well about this,
> > 
> > I have an error coming out every time I try to update the translation to
> > SVN server.
> > 
> > This is the output of PootleServer:
> > 
> > 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 = self.getpage(pathwords, session, argdict)
> >   File "/usr/lib/python2.4/site-packages/Pootle/pootle.py", line 493, in
> > 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 = 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 = dict.__getitem__(self, key)
> > KeyError: u'sr.po'
> > 
> > sr.po is name of file that I am translating through Pootle web
> > interface. I am not sure what it complains about file name.
> > 
> > Cheers,
> > Igor
> 
> 
> 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?
> 
Sorry for not being clear. This happens whenever I try to update sr.po
to version control system (SVN in my case). 

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) 
[GCC 4.1.1 20061011 (Red Hat 4.1.1-30)] (on linux2/posix)


Cheers,
Igor

Attachment: signature.asc
Description: This is a digitally signed message part

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to