Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 473126 - games-puzzle/pathological-1.1.3-r2: syntax error
Summary: games-puzzle/pathological-1.1.3-r2: syntax error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-12 18:15 UTC by Heiko Baums
Modified: 2014-06-04 06:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Baums 2013-06-12 18:15:15 UTC
pathological.py can't be started due to a syntax error:

$ pathological 
  File "./pathological.py", line 43
    print "Usage: "+sys.argv[0]+" [-cb] [-f] [-s] [highscores-file]\n"
                  ^
SyntaxError: invalid syntax

Reproducible: Always
Comment 1 Heiko Baums 2013-06-12 23:27:21 UTC
Changing the line
exec python ./pathological.py $options $scoresfile
to
exec python2 ./pathological.py $options $scoresfile
in the file /usr/games/bin/pathological fixes the issue.
Comment 2 Julian Ospald 2013-06-13 10:00:08 UTC
+*pathological-1.1.3-r3 (13 Jun 2013)
+
+  13 Jun 2013; Julian Ospald <hasufell@gentoo.org>
+  +pathological-1.1.3-r3.ebuild:
+  fix python handling wrt #473126


use pathological-1.1.3-r3

close when stable
Comment 3 Tupone Alfredo gentoo-dev 2014-06-04 06:46:31 UTC
Is stable now