terminator not starting when default python is python3.4 but works if it is python2.7

Bug #1582064 reported by PhilippeR
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Terminator
Fix Released
Undecided
Unassigned

Bug Description

On Ubuntu 15.10 (Unity) when changing the symlink /usr/bin/python from python2.7 to python3.4 then terminator (v0.97) won t start anymore. Do you know what the problem could be and how to fix it? Thank you :)

Revision history for this message
A. Lloyd Flanagan (a-lloyd-flanagan) wrote :

/usr/bin/python is the system python and is assumed by many system utilities to be Python 2, not Python 3. Python3.4 is not backwards-compatible with Python 2. Basically: don't do that, you'll break a lot more than just Terminator, including (probably) critical system utilities.

That said, python 2 won't be the system default forever, and Terminator should think about migrating to Python 3, or at least changing the #! line to "/usr/bin/python2".

Revision history for this message
Stephen Boddy (stephen-j-boddy) wrote :

The #! line has indeed been changed to use python2 in rev 1655, just after the 1.90 release for https://bugs.launchpad.net/ubuntu/+source/terminator/+bug/1621156

Once we get gtk3 stable and a proper 2.0 release then I'll start thinking about the python3 transition. Till then, I'll mark this as fix comitted.

Changed in terminator:
status: New → Fix Committed
Revision history for this message
PhilippeR (2-philippe) wrote : Re: [Bug 1582064] Re: terminator not starting when default python is python3.4 but works if it is python2.7

Thanks a lot for the feedback!

On 2 February 2017 at 01:10, Stephen Boddy <email address hidden>
wrote:

> The #! line has indeed been changed to use python2 in rev 1655, just
> after the 1.90 release for
> https://bugs.launchpad.net/ubuntu/+source/terminator/+bug/1621156
>
> Once we get gtk3 stable and a proper 2.0 release then I'll start
> thinking about the python3 transition. Till then, I'll mark this as fix
> comitted.
>
> ** Changed in: terminator
> Status: New => Fix Committed
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1582064
>
> Title:
> terminator not starting when default python is python3.4 but works if
> it is python2.7
>
> Status in Terminator:
> Fix Committed
>
> Bug description:
> On Ubuntu 15.10 (Unity) when changing the symlink /usr/bin/python from
> python2.7 to python3.4 then terminator (v0.97) won t start anymore. Do
> you know what the problem could be and how to fix it? Thank you :)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/terminator/+bug/1582064/+subscriptions
>

--
*Philippe Rambert*
*Vivienne Court Trading*
*email*: <email address hidden>
*phone*: +61 293565152
*mobile*: +61 404368001

Changed in terminator:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.