← Back to team overview

desktop-packages team mailing list archive

[Bug 829635] Re: apport-gtk crashed with TypeError in function(): markup_escape_text() takes exactly 2 argument(s) (1 given)

 

This particular problem was fixed with a newer apport release. However,
now we have the opposite problem, as the API of markup_escape_text() was
actually fixed in pygobject:

 Traceback (most recent call last):
   File "/usr/share/apport/apport-gtk", line 368, in <module>
     app.run_argv()
   File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 599, in run_argv
     return self.run_crashes()
   File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 177, in run_crashes
     self.run_crash(f)
   File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 246, in run_crash
     response = self.ui_present_crash(desktop_entry)
   File "/usr/share/apport/apport-gtk", line 75, in ui_present_crash
     n = GLib.markup_escape_text(n, -1).decode('UTF-8')
 TypeError: glib.markup_escape_text() takes at most 1 argument (2 given)


** Changed in: apport (Ubuntu)
       Status: Confirmed => Fix Released

** Changed in: apport (Ubuntu)
       Status: Fix Released => In Progress

** Summary changed:

- apport-gtk crashed with TypeError in function(): markup_escape_text() takes exactly 2 argument(s) (1 given)
+ apport-gtk crashed with TypeError in function(): markup_escape_text() takes at most 1 argument (2 given)

** Changed in: apport (Ubuntu)
   Importance: Undecided => Critical

** Changed in: apport (Ubuntu)
     Assignee: (unassigned) => Martin Pitt (pitti)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/829635

Title:
  apport-gtk crashed with TypeError in function(): markup_escape_text()
  takes at most 1 argument (2 given)

Status in “apport” package in Ubuntu:
  Fix Released

Bug description:
  Seems to be the same as bug 828010, but I've installed all updates and
  restarted since that bug was marked Fix Released.

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: apport-gtk 1.21.3-0ubuntu4
  ProcVersionSignature: Ubuntu 3.0.0-8.11-generic 3.0.1
  Uname: Linux 3.0.0-8-generic x86_64
  NonfreeKernelModules: wl
  ApportLog:
   ERROR: apport (pid 14238) Fri Aug 19 17:47:19 2011: called for pid 1529, signal 11
   ERROR: apport (pid 14238) Fri Aug 19 17:47:19 2011: executable: /usr/bin/compiz (command line "compiz")
   ERROR: apport (pid 14238) Fri Aug 19 17:47:35 2011: wrote report /var/crash/_usr_bin_compiz.1000.crash
  Architecture: amd64
  Date: Wed Aug 17 14:34:56 2011
  ExecutablePath: /usr/share/apport/apport-gtk
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64+mac (20110705.1)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/share/apport/apport-gtk
  ProcEnviron:
   LANGUAGE=en_GB:en
   PATH=(custom, no user)
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/share/apport/apport-gtk']
  SourcePackage: apport
  Title: apport-gtk crashed with TypeError in function(): markup_escape_text() takes exactly 2 argument(s) (1 given)
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/829635/+subscriptions