xlsx exporter crashes on non-perfect package resource data
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PlainBox (Toolkit) |
Fix Released
|
Medium
|
Sylvain Pineau |
Bug Description
I am running canonical-
Two jobs were wrongly skipped:
ID: 2013.com.
Category: 2013.com.
Job cannot be started because:
- resource expression 'package.name == "udev"' evaluates to false
Outcome: job cannot be started
ID: 2013.com.
Category: 2013.com.
Job cannot be started because:
- resource expression 'package.name == "lsb-release"' evaluates to false
Outcome: job cannot be started
(but both packages are installed).
Also, at the end, it crashes:
CRITICAL plainbox.crashes: Executable 'checkbox-launcher' invoked with Namespace(
Traceback (most recent call last):
File "/usr/lib/
return self.dispatch_
File "/usr/lib/
return ns.command.
File "/usr/lib/
).run()
File "/usr/lib/
return self.do_
File "/usr/lib/
self.
File "/usr/lib/
exporter.
File "/usr/lib/
self.
File "/usr/lib/
[pkg['name'], pkg['version']],
KeyError: 'version'
Traceback (most recent call last):
File "/usr/bin/
load_
File "/usr/lib/
raise SystemExit(
File "/usr/lib/
return self.dispatch_
File "/usr/lib/
return self.dispatch_
File "/usr/lib/
return ns.command.
File "/usr/lib/
).run()
File "/usr/lib/
return self.do_
File "/usr/lib/
self.
File "/usr/lib/
exporter.
File "/usr/lib/
self.
File "/usr/lib/
[pkg['name'], pkg['version']],
KeyError: 'version'
Exception ignored in: <bound method Workbook.__del__ of <xlsxwriter.
Traceback (most recent call last):
File "/usr/lib/
self.close()
File "/usr/lib/
self.
File "/usr/lib/
xlsx_
File "/usr/lib/
zinfo.
ValueError: I/O operation on closed file
Exception ignored in: <bound method ZipFile.__del__ of <zipfile.ZipFile object at 0x7ff45c12f5c0>>
Traceback (most recent call last):
File "/usr/lib/
self.close()
File "/usr/lib/
pos1 = self.fp.tell()
ValueError: I/O operation on closed file
Versions:
canonical-
Installed: 0.13+bzr3503+
Candidate: 0.13+bzr3503+
Version table:
*** 0.13+bzr3503+
500 http://
100 /var/lib/
0.
500 http://
ara@sushirider:~$ apt-cache policy plainbox
plainbox:
Installed: 0.18+bzr3503+
Candidate: 0.18+bzr3503+
Version table:
*** 0.18+bzr3503+
500 http://
100 /var/lib/
0.
500 http://
0.5.3-2 0
500 http://
Related branches
- Zygmunt Krynicki (community): Approve
- Sylvain Pineau (community): Needs Resubmitting
-
Diff: 12 lines (+1/-1)1 file modifiedplainbox/plainbox/impl/exporter/xlsx.py (+1/-1)
Changed in plainbox-provider-canonical-certification: | |
assignee: | nobody → Sylvain Pineau (sylvain-pineau) |
status: | New → In Progress |
Changed in plainbox: | |
status: | In Progress → Confirmed |
Changed in plainbox: | |
status: | Confirmed → In Progress |
milestone: | none → 0.26 |
Changed in plainbox: | |
status: | In Progress → Fix Committed |
Changed in plainbox: | |
status: | Fix Committed → Fix Released |
Attaching the session