[karmic] package telepathy-butterfly 0.5.0-0ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #410376 reported by arky
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
telepathy-butterfly
Invalid
Medium
telepathy-butterfly (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: telepathy-butterfly

Compiling /usr/lib/python2.4/site-packages/butterfly/connection.py ...
  File "/usr/lib/python2.4/site-packages/butterfly/connection.py", line 174
    telepathy.CHANNEL_INTERFACE + '.TargetHandle': 0 if handle is None else handle.get_id(),
                                                      ^
SyntaxError: invalid syntax

pycentral: pycentral pkginstall: error byte-compiling files (15)
pycentral pkginstall: error byte-compiling files (15)
dpkg: error processing telepathy-butterfly (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 telepathy-butterfly
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
Architecture: i386
Date: Fri Aug 7 22:18:52 2009
DistroRelease: Ubuntu 9.10
ErrorMessage: subprocess installed post-installation script returned error exit status 1
Package: telepathy-butterfly 0.5.0-0ubuntu1
PackageArchitecture: all
ProcVersionSignature: Ubuntu 2.6.31-5.24-generic
SourcePackage: telepathy-butterfly
Title: package telepathy-butterfly 0.5.0-0ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Uname: Linux 2.6.31-5-generic i686

Revision history for this message
arky (arky) wrote :
Revision history for this message
Olivier Le Thanh Duong (olethanh) wrote :

Telepathy-butterfly 0.5.0 require python 2.5 now, the package should be updated to reflect that.

Revision history for this message
In , Alexander Sack (asac) wrote :

Created an attachment (id=28457)
fix syntax for py 2.4

attaching patch for:

Setting up telepathy-butterfly (0.5.0-0ubuntu2) ...
Compiling /usr/lib/python2.4/site-packages/butterfly/connection.py ...
  File "/usr/lib/python2.4/site-packages/butterfly/connection.py", line 174
    telepathy.CHANNEL_INTERFACE + '.TargetHandle': dbus.UInt32(0 if handle is None else handle.get_id()),
                                                                  ^
SyntaxError: invalid syntax

pycentral: pycentral pkginstall: error byte-compiling files (18)
pycentral pkginstall: error byte-compiling files (18)
dpkg: error processing telepathy-butterfly (--install):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 telepathy-butterfly

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package telepathy-butterfly - 0.5.0-0ubuntu2

---------------
telepathy-butterfly (0.5.0-0ubuntu2) karmic; urgency=low

  * debian/patches/001_lp410376_python_syntax.patch: fix syntax error
    that breaks package upgrade/install (LP: #410376)

 -- Alexander Sack <email address hidden> Sun, 09 Aug 2009 21:15:47 +0200

Changed in telepathy-butterfly (Ubuntu):
status: New → Fix Released
Changed in telepathy-butterfly:
status: Unknown → Confirmed
Revision history for this message
In , Jonny-lamb (jonny-lamb) wrote :

Hi. Thanks for the patch. If this is the only change required to make butterfly work on python 2.4, then great!

However, your patch is somewhat inconsistent with the butterfly style (why all the unnecessary underscores?). If you could quickly update the patch to use more legible variable names I'll immediately push it.

Thanks.

Revision history for this message
In , Louis-francis-ratte-boulianne (louis-francis-ratte-boulianne) wrote :

Minimal required version has been bumped to python 2.5 for the next release.

(Papyon depends on python 2.5 anyway)

Changed in telepathy-butterfly:
status: Confirmed → Invalid
Changed in telepathy-butterfly:
importance: Unknown → Medium
Changed in telepathy-butterfly:
importance: Medium → Unknown
Changed in telepathy-butterfly:
importance: Unknown → Medium
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.