[Mattricks] Traceback on startup

Nicholas Ring nring8 at bigpond.com
Sat Feb 14 03:09:56 CET 2009


Hi all

First time running the application. The OS is Arch Linux
with python 2.6.1-1, wxPython 2.8.9.1-1, and pyxml 0.8.4-5. After
submitting my Hattrick username and security code an Error message box
appears containing the following: 
"Got this message from the Hattrick server:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html
xmlns="http://www.w(message truncated)"

Hitting OK brings up the following traceback. 

Traceback (most recent call last):
  File "/home/nring/usr/bin/mattricks.sh", line 23, in <module>
    mattricks.main()
  File
"/home/nring/usr//lib/python2.6/site-packages/mattricks/mattricks.py",
line 40, in main Init.start() File
"/home/nring/usr//lib/python2.6/site-packages/mattricks/Init.py", line
99, in start Commandline.parse_and_start() File
"/home/nring/usr//lib/python2.6/site-packages/mattricks/Commandline.py",
line 108, in parse_and_start all_commands[command](args, help_command)
File
"/home/nring/usr//lib/python2.6/site-packages/mattricks/Commandline.py",
line 128, in parse_cmd_gui Main.main(*args) File
"/home/nring/usr//lib/python2.6/site-packages/mattricks/Main.py", line
467, in main app = Main(filename) File
"/home/nring/usr//lib/python2.6/site-packages/mattricks/Main.py", line
419, in __init__ wx.App.__init__(self) File
"/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 7935, in __init__ self._BootstrapApp() File
"/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 7509, in _BootstrapApp return _core_.PyApp__BootstrapApp(*args,
**kwargs) File
"/home/nring/usr//lib/python2.6/site-packages/mattricks/Main.py", line
442, in OnInit frame.AfterInit() File
"/home/nring/usr//lib/python2.6/site-packages/mattricks/Main.py", line
268, in AfterInit self.pages[name].AfterInit() File
"/home/nring/usr//lib/python2.6/site-packages/mattricks/MatchListPage.py",
line 113, in AfterInit self.__get_all_matches() File
"/home/nring/usr//lib/python2.6/site-packages/mattricks/MatchListPage.py",
line 508, in __get_all_matches self.__get_matches(force_update) File
"/home/nring/usr//lib/python2.6/site-packages/mattricks/MatchListPage.py",
line 503, in __get_matches self.matches =
MatchInfo.CurrentMatches(None, force_update) File
"/home/nring/usr//lib/python2.6/site-packages/mattricks/MatchInfo.py",
line 80, in __init__ self.__extract_data(team_id, force_update,
progress_dialog) File
"/home/nring/usr//lib/python2.6/site-packages/mattricks/MatchInfo.py",
line 85, in __extract_data data = XMLParse.get(["match list", team_id],
force_update=f_upd, progress_dialog = p_dlg) File
"/home/nring/usr//lib/python2.6/site-packages/mattricks/XMLParse.py",
line 312, in get idstr = xml_info[5](identifier) File
"/home/nring/usr//lib/python2.6/site-packages/mattricks/XMLDataInfo.py",
line 232, in <lambda> (lambda x: "%s-t%d" % (x[0], x[1])), TypeError:
%d format: a number is required, not NoneType



More information about the Mattricks mailing list