[Mattricks] some errors in cvs

Zazell Kroeske slkroesk at chello.nl
Sun Sep 26 11:46:15 CEST 2004


I recently switched distro to Mandrake 10.1, but since then i get some
errors and warnings when starting Mattricks. It starts fine, but when
fetching and handling the xml's it crashes all of a sudden.

The first part are just warnings about deprecations, the second part i
cant figure out though, guess it has something to do with encodings or
so. I use: 
Python 2.3.4 
wxWidgets 2.5.2.7 

has it anything to do with the 2.5.x series of wxWidgets? or is it
something else?

$ python mattricks.py
/home/zazell/cvs/cvs/Mattricks/Mattricks/SummaryPage.py:74:
DeprecationWarning: AddSizer is deprecated, use `Add` instead.
  hsizer2.AddSizer(fsizer, 1, wxEXPAND | wxALIGN_CENTRE | wxALL, 10)
/home/zazell/cvs/cvs/Mattricks/Mattricks/SummaryPage.py:77:
DeprecationWarning: AddSizer is deprecated, use `Add` instead.
  sizer.AddSizer(hsizer2, 1, wxEXPAND | wxALIGN_CENTRE | wxALL, 0)
/home/zazell/cvs/cvs/Mattricks/Mattricks/MatchListPage.py:105:
DeprecationWarnin g: wx.MaskColour is deprecated, use `wx.Mask` instead.
  mask = wxMaskColour(self.glasses_img, wxWHITE)
/home/zazell/cvs/cvs/Mattricks/Mattricks/LineupCtrl.py:98:
DeprecationWarning: P rependSizer is deprecated, use `Prepend` instead.
  main_sizer.PrependSizer(sizer, 1, wxEXPAND | wxALIGN_CENTRE | wxALL,
1)
/home/zazell/cvs/cvs/Mattricks/Mattricks/MatchViewerPage.py:1008:
DeprecationWar ning: wx.MaskColour is deprecated, use `wx.Mask` instead.
  mask = wxMaskColour(bmp, wxWHITE)
/home/zazell/cvs/cvs/Mattricks/Mattricks/MatchViewerPage.py:1012:
DeprecationWar ning: wx.MaskColour is deprecated, use `wx.Mask` instead.
  mask = wxMaskColour(bmp, wxWHITE)
/home/zazell/cvs/cvs/Mattricks/Mattricks/MatchViewerPage.py:1025:
DeprecationWar ning: wx.MaskColour is deprecated, use `wx.Mask` instead.
  mask = wxMaskColour(bmp, wxWHITE)
/home/zazell/cvs/cvs/Mattricks/Mattricks/MatchViewerPage.py:1029:
DeprecationWar ning: wx.MaskColour is deprecated, use `wx.Mask` instead.
  mask = wxMaskColour(bmp, wxWHITE)
Traceback (most recent call last):
  File "mattricks.py", line 36, in ?
    Init.start()
  File "/home/zazell/cvs/cvs/Mattricks/Mattricks/Init.py", line 57, in
start
    Commandline.parse_and_start()
  File "/home/zazell/cvs/cvs/Mattricks/Mattricks/Commandline.py", line
105, in p arse_and_start
    all_commands[command](args, help_command)
  File "/home/zazell/cvs/cvs/Mattricks/Mattricks/Commandline.py", line
121, in p arse_cmd_gui
    Main.main(*args)
  File "/home/zazell/cvs/cvs/Mattricks/Mattricks/Main.py", line 502, in
main
    app = Main(filename)
  File "/home/zazell/cvs/cvs/Mattricks/Mattricks/Main.py", line 454, in
__init__
    wxApp.__init__(self)
  File "/usr/lib/python2.3/site-packages/wx/_core.py", line 5227, in
__init__
    self._BootstrapApp()
  File "/usr/lib/python2.3/site-packages/wx/_core.py", line 4915, in
_BootstrapA pp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/home/zazell/cvs/cvs/Mattricks/Mattricks/Main.py", line 477, in
OnInit
    frame.AfterInit()
  File "/home/zazell/cvs/cvs/Mattricks/Mattricks/Main.py", line 261, in
AfterIni t
    self.__do_fetch()
  File "/home/zazell/cvs/cvs/Mattricks/Mattricks/Main.py", line 369, in
__do_fet ch
    overwrite_old)
  File "/home/zazell/cvs/cvs/Mattricks/Mattricks/Main.py", line 442, in
__do_fet ch_internal
    page.ChangeXML()
  File "/home/zazell/cvs/cvs/Mattricks/Mattricks/TeamSelectorPage.py",
line 143,  in ChangeXML
    self.__update_player_list()
  File "/home/zazell/cvs/cvs/Mattricks/Mattricks/TeamSelectorPage.py",
line 218,  in __update_player_list
    self.listbox.Append(name)
  File "/usr/lib/python2.3/site-packages/wx/_core.py", line 8423, in
Append
    return _core_.ItemContainer_Append(*args, **kwargs)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in position 9:
ordinal not in range(128)

-- 
Zazell Kroeske




More information about the Mattricks mailing list