Checkbox apport dialog no longer appears

Bug #607217 reported by Marc Tardif
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox
Fix Released
Undecided
Marc Tardif

Bug Description

When apport is enabled, Checkbox no longer prompts the user to report a bug when a test fails. Instead, the following exception is raised in the logs:

Error running event handler None.ApportPrompt.prompt_test() for event type 'prompt-test' with args (<checkbox_gtk.gtk_interface.GTKInterface object at 0x1fe1bd0>, {'status': 'fail', 'description': u'Detecting your sound device(s):\n\n$output\n\nIs this correct?', 'plugin': 'manual', 'requires': ["device.category == 'AUDIO'", "package.name == 'alsa-base'"], 'data': '', 'command': 'cat /proc/asound/cards', 'suite': 'audio', 'type': 'test', 'resources': [{'category': 'AUDIO', 'subproduct_id': '8434', 'product_id': '10558', 'bus': 'pci', 'vendor_id': '32902', 'driver': 'HDA Intel', 'path': '/devices/pci0000:00/0000:00:1b.0', 'subvendor_id': '6058'}, {'status': 'Installed', 'desired': 'Install', 'version': '1.0.22.1+dfsg-0ubuntu3', 'name': 'alsa-base', 'description': 'ALSA driver configuration files'}], 'name': 'list_audio_devices'}) {}.
Traceback (most recent call last):
  File "/tmp/checkbox/checkbox/reactor.py", line 70, in fire
    results.append(handler(*args, **kwargs))
  File "./plugins/apport_prompt.py", line 195, in prompt_test
    if resource["suite"] == "package":
KeyError: 'suite'

Related branches

Marc Tardif (cr3)
Changed in checkbox:
assignee: nobody → Marc Tardif (cr3)
status: New → Confirmed
status: Confirmed → Fix Committed
Marc Tardif (cr3)
Changed in checkbox:
status: Fix Committed → 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.