On Mon, Mar 24, 2008 at 09:52:25AM +0100, Matthias Krüger wrote: > When I started a game > (I did nothing at the first turn) the terminal said > "> Python version: 2.4.4 (#1, Jan 3 2008, 13:46:58) >> [GCC 4.2.3 20071123 (prerelease) (Debian 4.2.2-4)] >> Traceback (most recent call last): >> File "<string>", line 11, in ? >> File "/usr/share/games/wesnoth/data/ais/safe.py", line 132, in safe_exec >> safe_check(code) >> File "/usr/share/games/wesnoth/data/ais/safe.py", line 111, in safe_check >> return _check_ast(code) >> File "/usr/share/games/wesnoth/data/ais/safe.py", line 67, in _check_ast >> ast = compiler.parse(code) >> File "/usr/lib/python2.4/compiler/transformer.py", line 52, in parse >> return Transformer().parsesuite(buf) >> File "/usr/lib/python2.4/compiler/transformer.py", line 129, in parsesuite >> return self.transform(parser.suite(text)) >> File "<string>", line 258 >> recruits_list.append((recruit, speed, defense, aggression, resistance)) >> ^ >> SyntaxError: invalid syntax > "
Thanks for your extremely well written bugreport - it's rare to receive so much informations with one. :) This bug though is a tricky one and upstream is aware of it. The sample.py AI only works with python2.3 which isn't in Debian anymore (only in oldstable). So the bug will be addressed through removing of the sample.py AI from the package, unfortunately (the pending tagging message is misleading in that respect, the same bug appears with python2.5, too, unfortunately). Hopefully upstream is able to fix it, but for the time being it will be addressed through removal of the script like suggested from upstream directly - it was meant as an example only anyway and not for direct usage. So long, Rhonda -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]