exception when displaying the report validation error message

Bug #1032337 reported by Matt Fischer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox
Fix Released
Medium
Daniel Manrique

Bug Description

running 0.14.3~ppa1.12.04 of checkbox-qt, I see this exception in my logs (repro steps follow):

2012-08-02 10:48:13,516 INFO Executing udev_attachment
2012-08-02 10:48:13,517 INFO Running command: udevadm info --export-db
2012-08-02 10:48:15,524 ERROR Unable to set arguments ('The generated report seems to have validation errors,\nso it might not be processed by Launchpad.', None, None) according to signature 'sss': <class 'TypeError'>: Expected a string or unicode object
2012-08-02 10:48:15,525 ERROR Error running event handler <string> ErrorPrompt.prompt_error(<checkbox_qt.qt_interface.QTInterface object at 0x9cb48ec>, The generated report seems to have validation errors,
so it might not be processed by Launchpad.) for event type 'prompt-error'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/checkbox/reactor.py", line 74, in fire
    results.append(handler(*args, **kwargs))
  File "<string>", line 32, in prompt_error
  File "/usr/lib/python3/dist-packages/checkbox_qt/qt_interface.py", line 283, in show_error
    error_handler=dummy_handle_error)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 137, in __call__
    **keywords)
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 584, in call_async
    message.append(signature=signature, *args)
TypeError: Expected a string or unicode object

Repro Steps:

1) Start checkbox-qt
2) Deselect everything
3) Reselect only Networking
4) Run tests
5) When you get the "you can't submit this report" message, check your log file.

Tags: bender

Related branches

Matt Fischer (mfisch)
tags: added: bender
Daniel Manrique (roadmr)
Changed in checkbox:
assignee: nobody → Daniel Manrique (roadmr)
status: New → In Progress
importance: Undecided → Medium
Zygmunt Krynicki (zyga)
Changed in checkbox:
status: In Progress → Fix Committed
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.