Bug 1249017

Summary: Not starting
Product: [Fedora] Fedora Reporter: Sebastian <ageha666>
Component: bleachbitAssignee: Christopher Meng <i>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 22CC: i, vallimar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-23 05:38:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sebastian 2015-07-31 10:47:24 UTC
Description of problem:
newest bleachbit version is not starting


Version-Release number of selected component (if applicable):
1.8-1.fc22 from updates-testing


How reproducible:
always

Steps to Reproduce:
starting bleachbit from the terminal results in a Python prompt


Actual results:
➜  ~  bleachbit
Python 2.7.10 (default, Jul  5 2015, 14:15:43) 
[GCC 5.1.1 20150618 (Red Hat 5.1.1-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 
/usr/bin/bleachbit: line 24: $'\nLauncher\n': command not found
/usr/bin/bleachbit: line 34: syntax error near unexpected token `('
/usr/bin/bleachbit: line 34: `if 'posix' == os.name and os.path.isdir('/usr/share/bleachbit'):'

Expected results:
bleachbit should start

Additional info:

Comment 1 Vallimar 2015-07-31 19:17:58 UTC
Confirming this problem.
The first line of /usr/bin/bleachbit is missing the shebang.
It is '/usr/bin/python2' instead of '#!/usr/bin/python2',
which, after manually correcting, it works fine.

Comment 2 Christopher Meng 2015-08-01 01:12:56 UTC
Confirmed, it's a merge issue, I forgot to merge back the fixed spec from building directory.

I will fix this and release as 1.9.0 update.

Comment 3 Vallimar 2015-08-01 04:08:54 UTC
Update looks good to me, thanks for the quick fix!