[Mattricks] Error in cvs

Andreas Engman engman at shell.linux.se
Wed Jan 14 01:00:22 CET 2004


There's an error in the latest cvs version of Database.py, line 123, 
making it impossible to load gamedata by clicking the star next to the 
game.

Traceback (most recent call last):
File "/usr/lib/python2.2/site-packages/Mattricks/LeaguePage.py", line 
221, in OnMatchReport
dlg = MatchLineupDialog(self, match_id, team_i
   (etc...)
dbs[dbname] = bsddb.btopen(None, 'c')
TypeError: btopen() argument 1 must be string, not None

I solved it easy: dbs[dbname] = bsddb.btopen('none', 'c')

Finally I got a wish:

In the league table tab, is it possible to fetch the league id and 
season from the latest downloaded hrf-file and making it the default 
option in the form instead of -1/-1?

//Andreas




More information about the Mattricks mailing list