apport-gtk crashed with TypeError in ui_present_crash : glib.markup_escape_text takes at most 1 argument 2 given

Bug #839464 reported by dino99
44
This bug affects 7 people
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
In Progress
Undecided
Robert Roth

Bug Description

oneiric i386 b1

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: apport-gtk 1.22-0ubuntu3
ProcVersionSignature: Ubuntu 3.0.0-9.15-generic-pae 3.0.3
Uname: Linux 3.0.0-9-generic-pae i686
NonfreeKernelModules: nvidia
Architecture: i386
CrashReports:
 600:1000:1000:28888:2011-09-02 12:34:15.000000000 +0200:2011-09-02 12:34:15.000000000 +0200:/var/crash/_usr_share_apport_apport-gtk.1000.crash
 600:1000:1000:34594:2011-09-02 12:19:54.000000000 +0200:2011-09-02 12:33:50.000000000 +0200:/var/crash/_usr_bin_software-properties-gtk.0.crash
 600:1000:1000:25194:2011-09-02 12:19:19.000000000 +0200:2011-09-02 12:34:15.000000000 +0200:/var/crash/_usr_share_apport_apport-gtk.0.crash
Date: Fri Sep 2 12:34:10 2011
ExecutablePath: /usr/share/apport/apport-gtk
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/share/apport/apport-gtk
ProcEnviron:
 PATH=(custom, no user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/share/apport/apport-gtk']
SourcePackage: apport
Title: apport-gtk crashed with TypeError in ui_present_crash(): glib.markup_escape_text() takes at most 1 argument (2 given)
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin audio avahi avahi-autoipd boinc cdrom couchdb crontab daemon debian-tor dialout disk fuse haldaemon klog kmem libuuid lpadmin mail messagebus mlocate mysql mythtv netdev ntp operator plugdev polkituser pulse root sambashare saned shadow ssh ssl-cert sudo syslog tty users utmp video voice www-data

Revision history for this message
dino99 (9d9) wrote :
visibility: private → public
Revision history for this message
Apport retracing service (apport) wrote : This bug is a duplicate

Thank you for taking the time to report this crash and helping to make Ubuntu better. This particular crash has already been reported and is a duplicate of bug #833592, so is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

tags: removed: need-duplicate-check
Revision history for this message
dino99 (9d9) wrote :

bug #833592 is unknow, so this one cant be a duplicate

Changed in apport (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel Swarbrick (pressureman) wrote :

Modifying line 75 of /usr/share/apport/apport-gtk from

n = GLib.markup_escape_text(n, -1).decode('UTF-8')

to

n = GLib.markup_escape_text(n).decode('UTF-8')

fixes the problem for me.

Revision history for this message
Philipp Kaluza (pixelpapst) wrote :

@dino99: That's a problem with apport-retracing-service (#764414) which likes to assign public bugs as duplicates of private ones (oh the stupididty...)

I've un-dupped this one, as it contains additional information; thanks pressureman for tracking this down.

Revision history for this message
Jay DeKing (jdeking1) wrote :

I can confirm that pressureman's 'Line 75' fix (#4 above) works on my machine; apport is bringing up Firefox to report bugs again.

Robert Roth (evfool)
Changed in apport (Ubuntu):
assignee: nobody → Robert Roth (evfool)
status: Confirmed → In Progress
Revision history for this message
Robert Roth (evfool) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug #829635, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

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.