← Back to team overview

desktop-packages team mailing list archive

[Bug 1445975] [NEW] apport crashes when attempting to report a bug

 

Public bug reported:

Trying to file a bug in something else, and I get:

$ apport-bug ubuntu-release-upgrader-core
Traceback (most recent call last):
  File "/usr/share/apport/apport-kde", line 533, in <module>
    sys.exit(UserInterface.run_argv())
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 650, in run_argv
    return self.run_report_bug()
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 488, in run_report_bug
    response = self.ui_present_report_details(allowed_to_report)
  File "/usr/share/apport/apport-kde", line 355, in ui_present_report_details
    desktop_info)
  File "/usr/share/apport/apport-kde", line 168, in __init__
    self.ui.ui_update_view(self)
  File "/usr/share/apport/apport-kde", line 345, in ui_update_view
    QTreeWidgetItem(keyitem, [line])
TypeError: arguments did not match any overloaded call:
  QTreeWidgetItem(int type=QTreeWidgetItem.Type): argument 1 has unexpected type 'QTreeWidgetItem'
  QTreeWidgetItem(list-of-str, int type=QTreeWidgetItem.Type): argument 1 has unexpected type 'QTreeWidgetItem'
  QTreeWidgetItem(QTreeWidget, int type=QTreeWidgetItem.Type): argument 1 has unexpected type 'QTreeWidgetItem'
  QTreeWidgetItem(QTreeWidget, list-of-str, int type=QTreeWidgetItem.Type): argument 1 has unexpected type 'QTreeWidgetItem'
  QTreeWidgetItem(QTreeWidget, QTreeWidgetItem, int type=QTreeWidgetItem.Type): argument 1 has unexpected type 'QTreeWidgetItem'
  QTreeWidgetItem(QTreeWidgetItem, int type=QTreeWidgetItem.Type): argument 2 has unexpected type 'list'
  QTreeWidgetItem(QTreeWidgetItem, list-of-str, int type=QTreeWidgetItem.Type): argument 2 has unexpected type 'list'
  QTreeWidgetItem(QTreeWidgetItem, QTreeWidgetItem, int type=QTreeWidgetItem.Type): argument 2 has unexpected type 'list'
  QTreeWidgetItem(QTreeWidgetItem): too many arguments

$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.2 LTS"

$ apt-cache policy apport
apport:
  Installed: 2.14.1-0ubuntu3.10
  Candidate: 2.14.1-0ubuntu3.10
  Version table:
 *** 2.14.1-0ubuntu3.10 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
        100 /var/lib/dpkg/status
     2.14.1-0ubuntu3 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

** Affects: apport (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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/1445975

Title:
  apport crashes when attempting to report a bug

Status in apport package in Ubuntu:
  New

Bug description:
  Trying to file a bug in something else, and I get:

  $ apport-bug ubuntu-release-upgrader-core
  Traceback (most recent call last):
    File "/usr/share/apport/apport-kde", line 533, in <module>
      sys.exit(UserInterface.run_argv())
    File "/usr/lib/python3/dist-packages/apport/ui.py", line 650, in run_argv
      return self.run_report_bug()
    File "/usr/lib/python3/dist-packages/apport/ui.py", line 488, in run_report_bug
      response = self.ui_present_report_details(allowed_to_report)
    File "/usr/share/apport/apport-kde", line 355, in ui_present_report_details
      desktop_info)
    File "/usr/share/apport/apport-kde", line 168, in __init__
      self.ui.ui_update_view(self)
    File "/usr/share/apport/apport-kde", line 345, in ui_update_view
      QTreeWidgetItem(keyitem, [line])
  TypeError: arguments did not match any overloaded call:
    QTreeWidgetItem(int type=QTreeWidgetItem.Type): argument 1 has unexpected type 'QTreeWidgetItem'
    QTreeWidgetItem(list-of-str, int type=QTreeWidgetItem.Type): argument 1 has unexpected type 'QTreeWidgetItem'
    QTreeWidgetItem(QTreeWidget, int type=QTreeWidgetItem.Type): argument 1 has unexpected type 'QTreeWidgetItem'
    QTreeWidgetItem(QTreeWidget, list-of-str, int type=QTreeWidgetItem.Type): argument 1 has unexpected type 'QTreeWidgetItem'
    QTreeWidgetItem(QTreeWidget, QTreeWidgetItem, int type=QTreeWidgetItem.Type): argument 1 has unexpected type 'QTreeWidgetItem'
    QTreeWidgetItem(QTreeWidgetItem, int type=QTreeWidgetItem.Type): argument 2 has unexpected type 'list'
    QTreeWidgetItem(QTreeWidgetItem, list-of-str, int type=QTreeWidgetItem.Type): argument 2 has unexpected type 'list'
    QTreeWidgetItem(QTreeWidgetItem, QTreeWidgetItem, int type=QTreeWidgetItem.Type): argument 2 has unexpected type 'list'
    QTreeWidgetItem(QTreeWidgetItem): too many arguments

  $ cat /etc/lsb-release 
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=14.04
  DISTRIB_CODENAME=trusty
  DISTRIB_DESCRIPTION="Ubuntu 14.04.2 LTS"

  $ apt-cache policy apport
  apport:
    Installed: 2.14.1-0ubuntu3.10
    Candidate: 2.14.1-0ubuntu3.10
    Version table:
   *** 2.14.1-0ubuntu3.10 0
          500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
          500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
          100 /var/lib/dpkg/status
       2.14.1-0ubuntu3 0
          500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

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


Follow ups

References