Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 473126

Summary: games-puzzle/pathological-1.1.3-r2: syntax error
Product: Gentoo Linux Reporter: Heiko Baums <heiko.baums>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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