[Mattricks] Error when starting Mattricks 0.6 on Debian Sarge

Niels Schröter niels.schroeter at uni-koblenz.de
Tue Sep 14 15:19:30 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Oscar Gustafsson wrote :
> 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
>

This fixed the error, thank you ( by the way, in my de.po the line# was 3920).

Now mattrick.py started, asked for HT login name and password, downloaded both 
'team details' and 'data for all players' and then exited with:

Conversion error: not all arguments converted during string formatting 
(  ^ multiple times)
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 121, in 
parse_cmd_gui
    Main.main(*args)
  File "/home/niels/Mattricks/Mattricks/Main.py", line 465, in main
    app = Main(filename)
  File "/home/niels/Mattricks/Mattricks/Main.py", line 417, in __init__
    wxApp.__init__(self)
  File "/usr/lib/python2.3/site-packages/wxPython/wx.py", line 1951, in 
__init__
    _wxStart(self.OnInit)
  File "/home/niels/Mattricks/Mattricks/Main.py", line 424, in OnInit
    frame = MainFrame(NULL, Main.ID_FRAME, "Mattricks", self.initial_file)
  File "/home/niels/Mattricks/Mattricks/Main.py", line 213, in __init__
    the_pages = [
  File "/home/niels/Mattricks/Mattricks/TeamSelectorPage.py", line 78, in 
__init__
    self.player_list=Players.Players()
  File "/home/niels/Mattricks/Mattricks/Players.py", line 159, in __init__
    self.__extract_data(date, team)
  File "/home/niels/Mattricks/Mattricks/Players.py", line 194, in 
__extract_data
    player.data["CompetitionGoals"] = (compgoals,
TypeError: not all arguments converted during string formatting


For information, I have installed libwxgtk2.4-python (2.4.2.6), I don't know 
if that is important.

And yes, the plural of week in german is Wochen :)

Greetz, Niels
- -- 
niels.schroeter at uni-koblenz.de 
www.uni-koblenz.de/~schroetn 


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBRu/oUE7Cj6m36twRApOWAJ0QcXtvY3cfW/d1pGGZRs6Y+vnLwACggpZN
rJVj+N3m7+uAiW2XKmuEVfo=
=m+/f
-----END PGP SIGNATURE-----



More information about the Mattricks mailing list