terminator (0.13~ppa3) failed to install

Bug #391422 reported by Lutfi
This bug report is a duplicate of:  Bug #392493: SyntaxError with Python 2.4. Edit Remove
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Terminator
Incomplete
Undecided
Unassigned

Bug Description

# apt-get install terminator

Reading package lists... Done
Building dependency tree
Reading state information... Done
terminator is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up terminator (0.13~ppa3) ...
Compiling /usr/lib/python2.4/site-packages/terminatorlib/terminator.py ...
  File "/usr/lib/python2.4/site-packages/terminatorlib/terminator.py", line 42
    class TerminatorWindowTitle():
                                ^
SyntaxError: invalid syntax

pycentral: pycentral pkginstall: error byte-compiling files (13)
pycentral pkginstall: error byte-compiling files (13)
dpkg: error processing terminator (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 terminator

Revision history for this message
Chris Jones (cmsj) wrote :

Interesting.. I suspect this is going to be a python version problem. could you paste the output of python --version please?

Changed in terminator:
status: New → Incomplete
Revision history for this message
Lutfi (lutfiarab) wrote : Re: [Bug 391422] Re: terminator (0.13~ppa3) failed to install

root@lutfi:~# python --version
Python 2.5.2

Revision history for this message
snesreviews (fquinn) wrote :

Don't know if this is right or not, but I got this on another machine as well and the quick fix was to change:

class TerminatorWindowTitle():

to:

class TerminatorWindowTitle:

Seemed to load up OK after that, but I have never written in python before so this could be a big no no - I'm sure dev guys will delete this post if it is :).

Revision history for this message
Lutfi (lutfiarab) wrote :

After delete (), now i can finishing upgrade without error anymore.
And terminator can say "I'll be back" also :-D

Many thanks

On Thu, Jun 25, 2009 at 8:28 PM, snesreviews<email address hidden> wrote:
> Don't know if this is right or not, but I got this on another machine as
> well and the quick fix was to change:
>
> class TerminatorWindowTitle():
>
> to:
>
> class TerminatorWindowTitle:
>
> Seemed to load up OK after that, but I have never written in python
> before so this could be a big no no - I'm sure dev guys will delete this
> post if it is :).
>
> --
> terminator (0.13~ppa3) failed to install
> https://bugs.launchpad.net/bugs/391422
> You received this bug notification because you are a direct subscriber
> of the bug.
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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