Traceback (most recent call last): File "mattricks.py", line 36, in ? File "Mattricks\Init.pyc", line 57, in start File "Mattricks\Commandline.pyc", line 105, in parse_and_start File "Mattricks\Commandline.pyc", line 121, in parse_cmd_gui File "Mattricks\Main.pyc", line 439, in main File "Mattricks\Main.pyc", line 391, in __init__ File "wxPython\wx.pyc", line 1957, in __init__ File "Mattricks\Main.pyc", line 414, in OnInit File "Mattricks\Main.pyc", line 265, in AfterInit File "Mattricks\ComparisonPage.pyc", line 138, in AfterInit File "Mattricks\ComparisonPage.pyc", line 159, in Update File "Mattricks\ComparisonPage.pyc", line 169, in __get_change_text File "Mattricks\Players.pyc", line 150, in __init__ File "Mattricks\Players.pyc", line 217, in __extract_data TypeError: int argument required
This is due to an XML downloaded during the game. The source should prohibit this, but at the moment it doesn't.
The solution is first to make a command line fetch:
./mattricks.py fetch
or
mattricks.exe fetch
depending on your OS (Linux above/Win below).
Find the XML:s with the text "NOT AVAILABLE" in them and delete them.
grep -H "NOT AVAILABLE" all_players*.xml
works for Linux/Unix.
Delete the database and import all xml:s with
mattricks.py import *.xml
or
mattricks.exe import *.xml
A good idea may be to make a backup of your old database before deleting it.
This is probably the major bug prohibiting a final version 0.7.
/Oscar
mattricks@lists.lysator.liu.se