An API change in pyqt4 broke pykdeuic4

Bug #503736 reported by Alberto Milone
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kdebindings (Ubuntu)
Fix Released
Medium
Alberto Milone

Bug Description

I tried to build jockey in Lucid but I got the following error:

  File "/usr/bin/pykdeuic4", line 42, in __str__
    return "kdecore.i18n(\"%s\")" % (self.escape(self.string),)
AttributeError: 'kde_i18n_string' object has no attribute 'escape'

The full log is here:
http://pastebin.ubuntu.com/352206/

It looks like escape() is no longer a method of the qtproxies.i18n_string class and should be called as a separate function i.e. qtproxies.escape() instead.

ProblemType: Bug
Architecture: amd64
Date: Wed Jan 6 11:05:00 2010
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20091225)
Package: python-kde4-dev 4:4.3.2-0ubuntu4.1
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-9.13-generic
SourcePackage: kdebindings
Tags: lucid
Uname: Linux 2.6.32-9-generic x86_64

Revision history for this message
Alberto Milone (albertomilone) wrote :
Changed in kdebindings (Ubuntu):
assignee: nobody → Alberto Milone (albertomilone)
status: New → In Progress
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kdebindings - 4:4.3.2-0ubuntu5

---------------
kdebindings (4:4.3.2-0ubuntu5) lucid; urgency=low

  * debian/patches/kubuntu_06_qtproxies_string_api_fix.patch:
    - pykdeuic4.py: escape() is no longer a method of the qtproxies.i18n_string
      class. Call it as a separate function i.e. qtproxies.escape()
      instead (LP: #503736).
 -- Alberto Milone <email address hidden> Wed, 06 Jan 2010 11:59:34 +0100

Changed in kdebindings (Ubuntu):
status: In Progress → 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.