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

Bug 467066

Summary: gnome-extra/gnome-activity-journal-0.8.0-r3 - /usr/bin/gnome-activity-journal should have Python 2 shebang
Product: Gentoo Linux Reporter: Arfrever Frehtes Taifersar Arahesis <arfrever.fta>
Component: [OLD] GNOMEAssignee: Justin Lecher (RETIRED) <jlec>
Status: RESOLVED FIXED    
Severity: normal CC: gnome, staff
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Arfrever Frehtes Taifersar Arahesis 2013-04-24 10:45:51 UTC
/usr/bin/gnome-activity-journal should have Python 2 shebang (instead of current generic '#! /usr/bin/env python') to avoid SyntaxError on systems, whereon Python 3 is set as main active version of Python.

$ /usr/bin/gnome-activity-journal
  File "/usr/bin/gnome-activity-journal", line 59                                                                                                             
    print "Using the \"%s\" module from %s" % (module, os.path.abspath(m[1]))                                                                                
                                          ^
SyntaxError: invalid syntax
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2013-04-25 07:10:04 UTC
+*gnome-activity-journal-0.8.0-r4 (25 Apr 2013)
+
+  25 Apr 2013; Justin Lecher <jlec@gentoo.org>
+  +gnome-activity-journal-0.8.0-r4.ebuild:
+  Fix shebang for py implementation, #467066
+