Hello.
Let's say I've got some teams in the "Teams" dialog box. Let's say I've clicked "View league table" of some team. How to show my league again?
Seems that I have to enter my team to "Teams". I would like to have some quick button to get back my own league.
regards fEnIo
On Sun, 26 Sep 2004, Bartosz Fenski aka fEnIo wrote:
Seems that I have to enter my team to "Teams". I would like to have some quick button to get back my own league.
As I always add matches to the viewer from the team list I have my team there, but I've also considered having a button for it on the league page.
Update from the CVS and you should have one! :-)
/Oscar
On Sun, Sep 26, 2004 at 11:23:58AM +0200, Oscar Gustafsson wrote:
Seems that I have to enter my team to "Teams". I would like to have some quick button to get back my own league.
As I always add matches to the viewer from the team list I have my team there, but I've also considered having a button for it on the league page.
Update from the CVS and you should have one! :-)
Thanks. Works great ;)
regards fEnIo
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)
On Sun, 26 Sep 2004, Zazell Kroeske wrote:
wxWidgets 2.5.2.7
has it anything to do with the 2.5.x series of wxWidgets? or is it something else?
I would have said 2.5.x but with that error message I am not sure (although I guess that you may have others later on).
This particular error may have something to do with Mattricks not supporting Unicode fully, yet. Try to use 2.4.2.4 without Unicode if possible.
/Oscar
On Sun, 2004-09-26 at 11:55 +0200, Oscar Gustafsson wrote:
On Sun, 26 Sep 2004, Zazell Kroeske wrote:
wxWidgets 2.5.2.7
has it anything to do with the 2.5.x series of wxWidgets? or is it something else?
I would have said 2.5.x but with that error message I am not sure (although I guess that you may have others later on).
This particular error may have something to do with Mattricks not supporting Unicode fully, yet. Try to use 2.4.2.4 without Unicode if possible.
There is 2.4.2.4 on the cd, but wxPython 2.4.2.4 is missing, so it won't work. Is Unicode support planned for the nearby future? I will try to install 2.4.2.4 but I think it will be best for Mattricks to support that one to, since more and more distro's will ship that one.
I'll let you know if and how i fix it.
mattricks@lists.lysator.liu.se