On Do, 2006-08-10 at 09:29 +0200, ^pi^ wrote:
> On 8/8/06, F Wolff <[EMAIL PROTECTED]> wrote:
> > Hi list
> >
> > Here is a short summary of my work in the last week.
> >

...

> Is anywhere explained who terminlogy works ? I try to use it in my
> local server but I cant.
> 
> My procedure:
> 
> -Create a terminology project.
> -Add basque language to the project.
> -Uupload gnome terminology file (from pootle.wordforge.org)
> 

This is correct. All the po files in the terminology project for your
language should be used. You can override it per project, but this is
probably not the way most people would want to use it. Using the
terminology project is probably the best way for most teams and
projects.


> Al seems ok in this point but when I try to translate something:
> 
> 2006-08-10 09:11:32: Traceback (most recent call last):
>   File "/usr/lib/python2.3/site-packages/jToolkit/web/simplewebserver.py",
> line 173, in serve_request
>     thepage = self.server.handle(self, self.pathwords, argdict)
>   File "/usr/lib/python2.3/site-packages/jToolkit/web/simplewebserver.py",
> line 445, in handle
>     return self.jtoolkitserver.handle(req, pathwords, argdict)
>   File "/usr/lib/python2.3/site-packages/Pootle/users.py", line 193, in handle
>     return self.getpage(pathwords, session, argdict)
>   File "/usr/lib/python2.3/site-packages/Pootle/pootle.py", line 373, in 
> getpage
>     return translatepage.TranslatePage(project, session, argdict,
> dirfilter=pofilename)
>   File "/usr/lib/python2.3/site-packages/Pootle/translatepage.py",
> line 71, in __init__
>     items = self.maketable()
>   File "/usr/lib/python2.3/site-packages/Pootle/translatepage.py",
> line 395, in maketable
>     tmsuggestions.extend(self.project.getterminology(self.pofilename,
> self.item))
>   File "/usr/lib/python2.3/site-packages/Pootle/projects.py", line
> 1216, in getterminology
>     termmatcher = self.gettermmatcher()
>   File "/usr/lib/python2.3/site-packages/Pootle/projects.py", line
> 1207, in gettermmatcher
>     self.matcher = termproject.gettermmatcher()
>   File "/usr/lib/python2.3/site-packages/Pootle/projects.py", line
> 1202, in gettermmatcher
>     self.matcher = match.terminologymatcher(self.pofiles.values())
>   File "/usr/lib/python2.3/site-packages/translate/search/match.py",
> line 164, in __init__
>     matcher.__init__(self, store, max_candidates, min_similarity=10,
> max_length=max_length, comparer=comparer)
>   File "/usr/lib/python2.3/site-packages/translate/search/match.py",
> line 44, in __init__
>     self.inittm(store)
>   File "/usr/lib/python2.3/site-packages/translate/search/match.py",
> line 169, in inittm
>     matcher.inittm(self, store)
>   File "/usr/lib/python2.3/site-packages/translate/search/match.py",
> line 75, in inittm
>     self.candidates.units.sort(key=sourcelen)
> TypeError: sort() takes no keyword arguments
> 

This is valuable, thank you. We don't often test with python 2.3, and
this seems to be the problem here. I will adapt that code to work with
python 2.3 as well. It should be fixed in the next snapshot of Pootle.

> I hope this report can help.
> 

Definitely, thank you.

> Thanks for all your work
> 
> Piarres Beobide
> 



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to