Using the View Report button causes Checkbox-qt to behave and exit abnormally

Bug #956307 reported by Daniel Manrique
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
Tiago Salem Herrmann

Bug Description

This tested on Checkbox 0.13.4.

Steps to reproduce:

1- Launch checkbox-qt
2- Deselect all tests
3- Select only "hotkey tests" (to do a quick test run)
4- Press "Start testing" and select "yes" on all tests
5- Click on 'View results'.
6- Close the browser that opens.
7- Exit checkbox-qt by closing the window.

Expected results:
- Browser opens to view the report
- No errors are logged
- Upon exit, a .cache/checkbox/plugins.bpickle with some configuration information remains.

Actual results:
- Browser does open correctly
- Trace 1 as shown below appears in the log file.
- When closing checkbox-qt, the plugins.bpickle file disappears and trace 2 (see further down below) appears in the logfile.

This keeps checkbox-qt from correctly remembering some user preferences, such as whether to resume or restart the run, and the abnormal exiting can cause unpredictable results.

2012-03-15 14:54:14,216 ERROR Exception in handler for D-Bus signal:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/dbus/", line 214, in maybe_handle_message
    self._handler(*args, **kwargs)
  File "/home/roadmr/Documents/checkboxes/checkbox/trunk/checkbox_qt/", line 66, in onReviewTestsClicked
  File "/home/roadmr/Documents/checkboxes/checkbox/trunk/checkbox/", line 190, in show_url
SystemExit: 0

OSError: [Errno 2] No such file or directory: '/tmp/checkboxYxs5Pl'
2012-03-15 14:56:49,173 ERROR Error running reactor.
Traceback (most recent call last):
  File "/home/roadmr/Documents/checkboxes/checkbox/trunk/checkbox/", line 52, in run
  File "/home/roadmr/Documents/checkboxes/checkbox/trunk/checkbox/", line 112, in run"stop")
  File "/home/roadmr/Documents/checkboxes/checkbox/trunk/checkbox/", line 74, in fire
    results.append(handler(*args, **kwargs))
  File "./plugins/", line 60, in save
  File "/home/roadmr/Documents/checkboxes/checkbox/trunk/checkbox/contrib/", line 136, in save
    os.rename(filepath, filepath+".old")
  File "./plugins/", line 69, in handler
  File "/home/roadmr/Documents/checkboxes/checkbox/trunk/checkbox/", line 118, in stop_all
    raise StopAllException

Related branches

Daniel Manrique (roadmr)
Changed in checkbox:
milestone: none → 0.13.5
Changed in checkbox:
assignee: nobody → Tiago Salem Herrmann (tiagosh)
status: New → In Progress
Daniel Manrique (roadmr)
Changed in checkbox:
status: In Progress → Fix Committed
Ara Pulido (ara)
Changed in checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers