/usr/share/apport/apport-kde:TypeError:/usr/share/apport/apport-kde@605:run_argv:run_crashes:run_crash:ui_present_report_details:__init__:__init__:loadUi:loadUi:parse:createUserInterface:setProperties

Bug #2031925 reported by errors.ubuntu.com bug bridge
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
New
Undecided
Unassigned

Bug Description

```
Traceback (most recent call last):
  File "/usr/share/apport/apport-kde", line 605, in <module>
    sys.exit(UserInterface.run_argv())
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 1029, in run_argv
    return self.run_crashes()
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 429, in run_crashes
    self.run_crash(f)
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 486, in run_crash
    response = self.ui_present_report_details(allowed_to_report)
  File "/usr/share/apport/apport-kde", line 412, in ui_present_report_details
    self.dialog = ReportDialog(
  File "/usr/share/apport/apport-kde", line 145, in __init__
    Dialog.__init__(
  File "/usr/share/apport/apport-kde", line 81, in __init__
    uic.loadUi(os.path.join(ui_data_path, ui), self)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/__init__.py", line 241, in loadUi
    return DynamicUILoader(package).loadUi(uifile, baseinstance, resource_suffix)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/Loader/loader.py", line 66, in loadUi
    return self.parse(filename, resource_suffix)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 1037, in parse
    actor(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 826, in createUserInterface
    self.wprops.setProperties(self.toplevelWidget, elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/properties.py", line 417, in setProperties
    getattr(widget, 'set%s%s' % (ascii_upper(prop_name[0]), prop_name[1:]))(prop_value)
TypeError: setWindowTitle(self, a0: str): argument 1 has unexpected type 'bytes'
```

The Ubuntu Error Tracker has been receiving reports about a problem regarding apport. This problem was most recently seen with package version 2.26.1-0ubuntu2, the problem page at https://errors.ubuntu.com/problem/6eba410ca4962a81fdf8b68c2a5e390c9f07a6d5 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.

Tags: lunar
Benjamin Drung (bdrung)
description: updated
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.