[Mattricks] Error when starting Mattricks 0.6 on Debian Sarge

Oscar Gustafsson oscar at lysator.liu.se
Tue Sep 14 13:13:53 CEST 2004


A guess would be that the german translation is incorrect. Looking at the
de.po it turns out that the last line

 #line
  3071  msgid "%d week"
  3072  msgid_plural "%d weeks"
  3073  msgstr[0] "%d Woche"
  3074  msgstr[1] ""

should read

msgstr[1] "%d Wochen" (if week in plrual is Wochen).

You can edit this file yourself and then run

msgfmt -o locale/de/LC_MESSAGES/mattricks.mo po/de.po

standing in

/home/niels/Mattricks

I'll add it to the CVS.

/Oscar

On Tue, 14 Sep 2004, Niels Schröter wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
>
> Aloha,
>
> I got a strange error when I start Mattricks 0.6 (.deb installed):
>
> /home/niels$ mattricks.py
> Traceback (most recent call last):
>
> ...and that's ist, nothing more.
>
>
>
> When I use the sources instead, I got this error:
>
> /home/niels/Mattricks$ ./mattricks.py
> Traceback (most recent call last):
>   File "./mattricks.py", line 36, in ?
>     Init.start()
>   File "/home/niels/Mattricks/Mattricks/Init.py", line 57, in start
>     Commandline.parse_and_start()
>   File "/home/niels/Mattricks/Mattricks/Commandline.py", line 105, in
> parse_and_
> start
>     all_commands[command](args, help_command)
>   File "/home/niels/Mattricks/Mattricks/Commandline.py", line 120, in
> parse_cmd_
> gui
>     import Main
>   File "/home/niels/Mattricks/Mattricks/Main.py", line 33, in ?
>     import CommonData
>   File "/home/niels/Mattricks/Mattricks/CommonData.py", line 36, in ?
>     import XMLParse
>   File "/home/niels/Mattricks/Mattricks/XMLParse.py", line 32, in ?
>     import XMLDataInfo
>   File "/home/niels/Mattricks/Mattricks/XMLDataInfo.py", line 96, in ?
>     import Terms
>   File "/home/niels/Mattricks/Mattricks/Terms.py", line 196, in ?
>     injury = {
> TypeError: not all arguments converted during string formatting
>
>
> Greets, Niels
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
>
> iD8DBQFBRsCXUE7Cj6m36twRAs87AJ9Jf9lDZSpEd3M6LRuFe1UbicBo6QCfRXpG
> PAyRSEM/rdT84N9WzmuCr4k=
> =gIGM
> -----END PGP SIGNATURE-----
> _______________________________________________
> Mattricks mailing list
> Mattricks at lists.lysator.liu.se
> http://lists.lysator.liu.se/mailman/listinfo/mattricks
>

--
+------------------------ o
| Oscar Gustafsson      \o/
| oscar at lysator.liu.se   ]
|                       //



More information about the Mattricks mailing list