Here's another sequence of steps to reproduce. Verified with checkbox
0.10.3 on Maverick and 0.11.12 on Natty beta.

1- Delete .cache/checkbox if it exists (to ensure a clean run)
2- Run checkbox-gtk from a terminal (so you can see terminal output)
3- Press Next, then deselect all tests and check only Audio tests. press Next.
4- On the first test, press Next again, then Previous (brings you to the test 
list again), then Next (brings you to a sound test).
5- Press the "Test" button.

Expected result: 
- Rerunning of the selected test, in this case I was expecting the audio tone 
to play again.

Actual result:
- Test doesn't run
- Trace as follows:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/checkbox_gtk/gtk_interface.py", line 
479, in <lambda>
    lambda w, t=test, r=runner: self._run_test(t, r))
  File "/usr/lib/python2.7/dist-packages/checkbox_gtk/gtk_interface.py", line 
450, in _run_test
    (status, data, duration) = runner(test)
  File "/usr/share/checkbox/plugins/manual_test.py", line 37, in runner
    return (temp["status"], temp["data"], temp["duration"])
KeyError: 'duration'

I'm also attaching the full checkbox.log file where this error appears
(there's also another one from when I interrupted checkbox by pressing
ctrl-c, please disregard).

I have noticed, like most other comments, that the triggering behavior
is using the "previous" button.

** Attachment added: "checkbox-duration.log"
   
https://bugs.launchpad.net/ubuntu/+source/checkbox/+bug/729431/+attachment/1982612/+files/checkbox-duration.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/729431

Title:
  run crashed with KeyError in runner(): 'duration' System-Check Ubuntu
  Hardware Database crashed while Microphone check

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to