Hello again, I've tried to play with CVS integration, still with no luck.
I tried David Fraser's script (from
http://translate.sourceforge.net/wiki/gnome_desktop), adjusting $lang
and $branch, running it inside the project's directory and using
pootle user (wich is what runs the daemon and owns the projects
directory). Then I started the pootle server, and clicked the "Gnome
2.16" project, and got an error:
File "/usr/lib/python2.4/site-packages/Pootle/users.py", line 222, in handle
page = self.getpage(pathwords, session, argdict)
File "/usr/lib/python2.4/site-packages/Pootle/pootle.py", line 299, in getpage
return indexpage.ProjectLanguageIndex(self.potree, projectcode, session)
File "/usr/lib/python2.4/site-packages/Pootle/indexpage.py", line
250, in __init__
languages = self.getlanguages()
File "/usr/lib/python2.4/site-packages/Pootle/indexpage.py", line
278, in getlanguages
languageitems = [self.getlanguageitem(languagecode, languagename)
for languagecode, languagename in languages]
File "/usr/lib/python2.4/site-packages/Pootle/indexpage.py", line
284, in getlanguageitem
language = self.potree.getproject(languagecode, self.projectcode)
File "/usr/lib/python2.4/site-packages/Pootle/potree.py", line 302,
in getproject
self.projectcache[languagecode, projectcode] =
projects.TranslationProject(languagecode, projectcode, self)
File "/usr/lib/python2.4/site-packages/Pootle/projects.py", line
113, in __init__
self.scanpofiles()
File "/usr/lib/python2.4/site-packages/Pootle/projects.py", line
457, in scanpofiles
self.pofiles[pofilename] = pootlefile.pootlefile(self, pofilename)
File "/usr/lib/python2.4/site-packages/Pootle/pootlefile.py", line
132, in __init__
self.getstats()
File "/usr/lib/python2.4/site-packages/Pootle/pootlefile.py", line
219, in getstats
self.calcstats()
File "/usr/lib/python2.4/site-packages/Pootle/pootlefile.py", line
303, in calcstats
self.pofreshen()
File "/usr/lib/python2.4/site-packages/Pootle/pootlefile.py", line
165, in pofreshen
self.readpofile()
File "/usr/lib/python2.4/site-packages/Pootle/pootlefile.py", line
146, in readpofile
self.parse(open(self.filename, 'r'))
File "/usr/lib/python2.4/site-packages/translate/storage/po.py",
line 890, in parse
linesprocessed = newpe.parse("\n".join(lines[start:end]))
File "/usr/lib/python2.4/site-packages/translate/storage/po.py",
line 538, in parse
self.msgstr.append(extracted)
AttributeError: 'dict' object has no attribute 'append'
I used David's script because the wiki page says the CVS meta files
needed to be there.
By the way, David's script fails to check out branches other than
gnome-x.xx or HEAD (in example, gtk-2-10 or glib-2-12, or gnome-2-14
which is current for ekiga).
Last, but not least: the Georgian team has separate subdirs for
developer libs, desktop and others. I'd like to know how to do it!
Leonardo Fontenelle
-------------------------------------------------------------------------
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