F Wolff wrote:
> On Ma, 2007-01-22 at 12:26 +0100, Olivier Salaün - CRU wrote:
>   
>> Felipe Gil Castiñeira wrote:
>>     
>>> Daniel Espinosa wrote:
>>>   
>>>       
>>>> I was updating the Spanish translation for 0.11rc and when I found a
>>>> misspelled word I change it ("Segerir" to "Sugerir"), then when I
>>>> review again the sugestions pootle shows me this translation and who
>>>> (in this case me) made the sugestion I accepted it and pootle sends
>>>> the following message:
>>>>
>>>> 'ascii' codec can't decode byte 0xc3 in position 63: ordinal not in 
>>>> range(128)
>>>>
>>>> When I click on "back" link it sends me to the review sugestions page
>>>> and goes to the next suggestion I click on accept button the Pootle
>>>> sends the same error message.
>>>>
>>>>   
>>>>     
>>>>         
>>> I have the same problem updating the Galician translation:
>>>
>>>     'ascii' codec can't decode byte 0xc3 in position 28: ordinal not in
>>>     range(128)
>>>
>>> Or
>>>
>>>     list index out of range
>>>   
>>>       
>>
>>     
> Thank you, Olivier.
>
> Did this solve the problem?  It seems to be a different problem than
> what Felipe is reporting. I'm quite sure his username only has ascii
> characters and the error seems to be in position 28 - a bit far down for
> a username (same for Daniel's problem). I've never been convinced that
> non-ascii usernames work 100% everywhere, and this seems to confirm it.
> Of course, if we can fix Pootle, it would however be much better than
> renaming the user to a misspelling :-/
>
>   
You are right, my problem seems to be different. I have updated my
installation of a Pootle server to SVN version, and the log file
provides more information:

2007-01-24 21:35:16: Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Pootle/users.py", line 224, in
handle
    page = self.getpage(pathwords, session, argdict)
  File "/usr/lib/python2.4/site-packages/Pootle/pootle.py", line 426, in
getpage
    return indexpage.ProjectIndex(project, session, argdict, dirfilter)
  File "/usr/lib/python2.4/site-packages/Pootle/indexpage.py", line 332,
in __init__
    actionlinks = self.getactionlinks("", projectstats, ["editing",
"mine", "review", "check", "assign", "goal", "quick", "all", "zip",
"sdf"], dirfilter)
  File "/usr/lib/python2.4/site-packages/Pootle/indexpage.py", line 821,
in getactionlinks
    self.localize("Show Statistics"))
  File "/usr/lib/python2.4/site-packages/Pootle/indexpage.py", line 815,
in addoptionlink
    link = {"href": self.makelink(baseindexlink, **{attrname:0}),
"text": hidetext}
  File "/usr/lib/python2.4/site-packages/Pootle/pagelayout.py", line
187, in makelink
    link += "&".join(["%s=%s" % (arg, value) for arg, value in
combinedargs.iteritems() if arg != "allowmultikey"])
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 28:
ordinal not in range(128)

Thanks!
    Felipe.




-------------------------------------------------------------------------
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