Debian packaging driver crashes on sid, without ID_VERSION
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PlainBox (Toolkit) |
Fix Released
|
High
|
Zygmunt Krynicki |
Bug Description
On Debian sid, our packaging driver misbehaves:
python3 manage.py packaging
CRITICAL plainbox.crashes: Executable 'manage.py' invoked with Namespace(
Traceback (most recent call last):
File "/usr/lib/
return self.dispatch_
File "/usr/lib/
return ns.command.
File "/usr/lib/
driver.
File "/usr/lib/
if self.is_
File "/usr/lib/
if (not _strategy_
File "/usr/lib/
and unit.os_version_id == os_release[
KeyError: 'VERSION_ID'
This is caused by the lack of VERSION_ID field in /etc/os-release.
Related branches
- Sylvain Pineau (community): Approve
-
Diff: 189 lines (+143/-5)2 files modifiedplainbox/plainbox/impl/unit/packaging.py (+17/-5)
plainbox/plainbox/impl/unit/test_packging.py (+126/-0)
Changed in plainbox: | |
status: | In Progress → Fix Committed |
milestone: | none → 0.23 |
Changed in plainbox: | |
status: | Fix Committed → Fix Released |