checkbox crashes when there are no jobs in a test plan
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Next Generation Checkbox (CLI) |
Fix Released
|
Low
|
Zygmunt Krynicki |
Bug Description
I've created a small test provider:
(venv.fx)
unit: test plan
id: thunderbolt-tests
_name: Thunderbolt Tests
include: monitor/thunderbolt
I can run it with plainbox:
(venv.fx)
=======
=======
This session is about 0.00% complete
Oszacowany czas trwania zadań zautomatyzowanych to 1.00.
Oszacowany czas trwania zadań ręcznych to 30.00.
Size of the desired job list: 1
Size of the effective execution plan: 2
=======
-------
ID: 2013.com.
Category: 2013.com.
(Command output hidden)
Outcome: job passed
-------
ID: 2013.com.
Category: 2013.com.
Job cannot be started because:
- wyrażenie zasobu "manifest.
Outcome: job cannot be started
=======
☑ : Hardware Manifest
☐ : Display connected via Thunderbolt
I cannot, however, run it with checkbox-ng:
(venv.fx)
=======
There is 1 incomplete session that might be resumed
Do you want to resume session 'pbox-ilfhf8et'?
r => resume this session
n => next session
c => create new session
[rnc]: c
=======
=======
=======
=======
Wystąpiły problemy z wybranymi zadaniami
* missing dependency: '2013.com.
Problematyczne zadania nie zostaną wzięte pod uwagę
CRITICAL plainbox.crashes: Executable 'checkbox-launcher' invoked with Namespace(
Traceback (most recent call last):
File "/home/
return self.dispatch_
File "/home/
return ns.command.
File "/home/
self.
File "/home/
return self.do_
File "/home/
self.
File "/home/
self.
File "/home/
return super().run(app)
File "/home/
image = app.consume_
File "/home/
self.
File "/home/
node.expanded = not(node.expanded)
AttributeError: 'NoneType' object has no attribute 'expanded'
Traceback (most recent call last):
File "/home/
load_
File "/home/
raise SystemExit(
File "/home/
return self.dispatch_
File "/home/
return self.dispatch_
File "/home/
return ns.command.
File "/home/
self.
File "/home/
return self.do_
File "/home/
self.
File "/home/
self.
File "/home/
return super().run(app)
File "/home/
image = app.consume_
File "/home/
self.
File "/home/
node.expanded = not(node.expanded)
AttributeError: 'NoneType' object has no attribute 'expanded'
It is worth noting that checkbox displayed an empty menu before the crash and I clicked enter to 'expand/collapse' the current node.
Related branches
- Maciej Kisielewski (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedcheckbox-ng/checkbox_ng/ui.py (+1/-1)
Changed in checkbox-ng: | |
status: | New → In Progress |
importance: | Undecided → Low |
assignee: | nobody → Zygmunt Krynicki (zyga) |
milestone: | none → 0.19 |
Changed in checkbox-ng: | |
status: | In Progress → Fix Committed |
Changed in checkbox-ng: | |
status: | Fix Committed → Fix Released |