Issue 2550546
Created on 2009-05-08 12:35 by yolandeR, last changed 2009-07-10 09:35 by schlatterbeck.
msg3705 |
Author: [hidden] (yolandeR) |
Date: 2009-05-08 12:35 |
|
Hi,
I'm trying to upgrade roundup 1.4.6 to version 1.4.8. But when I try to
go to the web interface, I received an error message :
Traceback (most recent call last):
File "/usr/local/lib/python2.3/site-packages/roundup/cgi/client.py",
line 432, in inner_main
self.determine_language()
File "/usr/local/lib/python2.3/site-packages/roundup/cgi/client.py",
line 634, in determine_language
tracker_home=self.instance.config["TRACKER_HOME"]))
File "/usr/local/lib/python2.3/site-
packages/roundup/cgi/TranslationService.py", line 122, in
get_translation
null_translation_class=null_translation_class)
File "/usr/local/lib/python2.3/site-packages/roundup/i18n.py", line
212, in get_translation
translator = translation_class(open(mofiles[0], "rb"))
File "/usr/local/lib/python2.3/gettext.py", line 176, in __init__
self._parse(fp)
File "/usr/local/lib/python2.3/gettext.py", line 304, in _parse
tmsg = unicode(tmsg, self._charset)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 192-
194: invalid data
I don't know what to do and I didn't find anything about this on the
net. I'm a novice in python, so, please explain clearly. :-)
Thanks!
Yolande
|
msg3722 |
Author: [hidden] (stefan) |
Date: 2009-06-13 18:33 |
|
I just reproduced this. It doesn't happen with English, but I could see
it with French, as well as German.
|
msg3723 |
Author: [hidden] (yolandeR) |
Date: 2009-06-15 07:04 |
|
Thanks for your test! I've reinstalled everything from scratch (without
upgrading) and I've always the same problem. :-( I didn't had the
problem with version 1.4.6.
|
msg3724 |
Author: [hidden] (yolandeR) |
Date: 2009-06-15 07:06 |
|
I'm working with client French (Belgium).
|
msg3725 |
Author: [hidden] (catucci) |
Date: 2009-06-17 10:59 |
|
Just a question, since I'm doing a bit of work in the i18n area:
did you do a full install of roundup 1.4.8?
I get the same problems while trying to run 1.4.8 from sources with
an existing provious install.
|
msg3726 |
Author: [hidden] (yolandeR) |
Date: 2009-06-17 11:54 |
|
Yes, I've installed the full version. It was the version that I've
downloaded from the site of roundup. (sourceforge)
But I've the same problem without an upgrade from an older version.
When I use a browser with language english (in the preferences of these
browser), I can go on the web interface of roundup.
|
msg3756 |
Author: [hidden] (schlatterbeck) |
Date: 2009-07-09 15:37 |
|
Hopefully fixed in commits r4272 (german) and r4300 (french) -- there
was a mismatch of declared encoding and used encoding in these files:
the german translation had a commit-comment with a latin-1 umlaut while
the rest of the file is utf-8 matching the declaration. For french the
declaration was utf-8 while the whole file is in latin-1, I've corrected
the declaration.
Can somebody confirm that it's working now?
|
msg3757 |
Author: [hidden] (yolandeR) |
Date: 2009-07-10 06:47 |
|
Thanks, but I'am a newbie : where can I find this patch and what must I
do to install this?
|
msg3758 |
Author: [hidden] (yolandeR) |
Date: 2009-07-10 06:49 |
|
OK, I've found the patch via the link! :-)
|
msg3759 |
Author: [hidden] (yolandeR) |
Date: 2009-07-10 07:05 |
|
But I really don't know how to install the patch... :-(
|
msg3760 |
Author: [hidden] (schlatterbeck) |
Date: 2009-07-10 07:15 |
|
On Fri, Jul 10, 2009 at 07:05:19AM +0000, Yolande wrote:
>
> Yolande <yolande.roelans@deboeck.be> added the comment:
>
> But I really don't know how to install the patch... :-(
You may want to try the new locale files (de.po and fr.po)
they can be downloaded directly from the code-repository at
https://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk/locale/
install the de.po and fr.po files there into your source distribution of
the tracker and reinstall
Ralf
|
msg3761 |
Author: [hidden] (yolandeR) |
Date: 2009-07-10 08:22 |
|
OK, it works fine! Thanks a lot, Ralf!!!!!! :-)
|
msg3762 |
Author: [hidden] (schlatterbeck) |
Date: 2009-07-10 09:35 |
|
On Fri, Jul 10, 2009 at 08:22:08AM +0000, Yolande wrote:
>
> OK, it works fine! Thanks a lot, Ralf!!!!!! :-)
Fine!
I'm closing this issue...
Ralf
|
|
Date |
User |
Action |
Args |
2009-07-10 09:35:13 | schlatterbeck | set | status: open -> closed messages:
+ msg3762 |
2009-07-10 08:22:08 | yolandeR | set | messages:
+ msg3761 |
2009-07-10 07:15:45 | schlatterbeck | set | messages:
+ msg3760 |
2009-07-10 07:05:18 | yolandeR | set | messages:
+ msg3759 |
2009-07-10 06:49:16 | yolandeR | set | messages:
+ msg3758 |
2009-07-10 06:47:59 | yolandeR | set | messages:
+ msg3757 |
2009-07-09 15:37:20 | schlatterbeck | set | status: new -> open assignee: schlatterbeck messages:
+ msg3756 nosy:
+ schlatterbeck |
2009-06-17 11:54:32 | yolandeR | set | messages:
+ msg3726 |
2009-06-17 10:59:12 | catucci | set | nosy:
+ catucci messages:
+ msg3725 |
2009-06-15 07:06:05 | yolandeR | set | messages:
+ msg3724 |
2009-06-15 07:04:53 | yolandeR | set | messages:
+ msg3723 |
2009-06-13 18:33:13 | stefan | set | nosy:
+ stefan messages:
+ msg3722 |
2009-05-08 12:35:27 | yolandeR | create | |
|