I have this problem, when beginning the Mattricks and I introduce login of hattrick gives this error to me:
------------------------------------------------ Traceback (most recent call last): File "./mattricks.py", line 36, in ? Init.start() File "/home/eurico/Programas/Mattricks-0.7_rc2/Mattricks/Init.py", line 57, in start Commandline.parse_and_start() File "/home/eurico/Programas/Mattricks-0.7_rc2/Mattricks/Commandline.py", line 105, in parse_and_start all_commands[command](args, help_command) File "/home/eurico/Programas/Mattricks-0.7_rc2/Mattricks/Commandline.py", line 121, in parse_cmd_gui Main.main(*args) File "/home/eurico/Programas/Mattricks-0.7_rc2/Mattricks/Main.py", line 439, in main app = Main(filename) File "/home/eurico/Programas/Mattricks-0.7_rc2/Mattricks/Main.py", line 391, in __init__ wxApp.__init__(self) File "/usr/lib/python2.3/site-packages/wxPython/wx.py", line 1951, in __init__ _wxStart(self.OnInit) File "/home/eurico/Programas/Mattricks-0.7_rc2/Mattricks/Main.py", line 414, in OnInit frame.AfterInit() File "/home/eurico/Programas/Mattricks-0.7_rc2/Mattricks/Main.py", line 265, in AfterInit page.AfterInit() File "/home/eurico/Programas/Mattricks-0.7_rc2/Mattricks/ArenaPage.py", line 461, in AfterInit self.__update() File "/home/eurico/Programas/Mattricks-0.7_rc2/Mattricks/ArenaPage.py", line 469, in __update nofetch = true, get_latest_available = true) File "/home/eurico/Programas/Mattricks-0.7_rc2/Mattricks/XMLParse.py", line 335, in get nuserid = CommonData.get_current_teamid(True) File "/home/eurico/Programas/Mattricks-0.7_rc2/Mattricks/CommonData.py", line 84, in get_current_teamid data = XMLParse.get(["team details", -1], ["Team.TeamID", "User.UserID"]) File "/home/eurico/Programas/Mattricks-0.7_rc2/Mattricks/XMLParse.py", line 375, in get title = _("Downloading %s.") % xml_info[8] ValueError: incomplete format
------------------------------------------------ can you explain why??
I've seen this problem before, but I have no idea what is causing it. One idea is the translation. What language are you using? Could you try e.g. English and see if it happens?
/Oscar
I'm using Portuguese...
And the problem remains even in English... Can the problem reside in the fact that they (hattrick admins) change the way CHPP programs access the info... Now they use a background process to process the requests... correct me if I'm wrong....
Eurico - Portugal
On Sat, 30 Oct 2004, Eurico Pedrosa wrote:
I'm using Portuguese...
And the problem remains even in English...
OK, thanks.
Can the problem reside in the fact that they (hattrick admins) change the way CHPP programs access the info... Now they use a background process to process the requests... correct me if I'm wrong....
I do not think so. I am not familiar with the description of the access. Previously they used an HRF-file that contained all data, while now the data corresponding to each page is downloaded separately.
I'll try to look into it tonight, but I really do not know what to look for. The error seems to occur, when making a text for the status bar. It is a really simple operation, inserting a string into another...
/Oscar
mattricks@lists.lysator.liu.se