package python3-pyatspi2 2.5.92+dfsg-0ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1052331 reported by Jürgen
100
This bug affects 21 people
Affects Status Importance Assigned to Milestone
pyatspi (Ubuntu)
Fix Released
High
Daniel Holbach
Quantal
Fix Released
High
Daniel Holbach

Bug Description

upgraded from a clean precise installation

Terminal log:
-----
Setting up python3-pyatspi2 (2.5.92+dfsg-0ubuntu1) ...
  File "/usr/lib/python3/dist-packages/examples/magFocusTracker.py", line 285
    print 'Magnification service not available. Exiting.'
                                                        ^
SyntaxError: invalid syntax

dpkg: error processing python3-pyatspi2 (--configure):
 subprocess installed post-installation script returned error exit status 1
-----

ProblemType: Package
DistroRelease: Ubuntu 12.10
Package: python3-pyatspi2 2.5.92+dfsg-0ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-14.19-generic 3.5.3
Uname: Linux 3.5.0-14-generic x86_64
ApportVersion: 2.5.2-0ubuntu1
Architecture: amd64
Date: Tue Sep 18 08:43:30 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
PackageArchitecture: all
SourcePackage: pyatspi
Title: package python3-pyatspi2 2.5.92+dfsg-0ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to quantal on 2012-09-18 (0 days ago)

Related branches

Revision history for this message
Jürgen (j-w-ott) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pyatspi (Ubuntu):
status: New → Confirmed
description: updated
Changed in pyatspi (Ubuntu Quantal):
importance: Undecided → High
status: Confirmed → Triaged
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
milestone: none → ubuntu-12.10-beta-2
Revision history for this message
Daniel Holbach (dholbach) wrote :
Changed in pyatspi (Ubuntu Quantal):
assignee: Canonical Desktop Team (canonical-desktop-team) → Daniel Holbach (dholbach)
Revision history for this message
Walter Garcia-Fontes (walter-garcia) wrote :

A simple patch is to write brackets around the print statement in line 285 of /usr/lib/python3/dist-packages/examples/magFocusTracker.py:

        print('Magnification service not available. Exiting.')

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

This bug was fixed in the package pyatspi - 2.5.92+dfsg-0ubuntu2

---------------
pyatspi (2.5.92+dfsg-0ubuntu2) quantal; urgency=low

  * debian/patches/fix-print-usage: in examples/magFocusTracker.py:
    use print('...') - it's supposed to be python3. (LP: #1052331)
 -- Daniel Holbach <email address hidden> Tue, 18 Sep 2012 08:43:17 +0200

Changed in pyatspi (Ubuntu Quantal):
status: Triaged → Fix Released
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.