Closed
Bug 1066046
Opened 10 years ago
Closed 10 years ago
[mozversion] "KeyError: 'device_id'" failure if no binaries found and no device attached
Categories
(Testing :: Mozbase, defect)
Testing
Mozbase
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla35
People
(Reporter: whimboo, Assigned: whimboo, Mentored)
References
()
Details
(Whiteboard: [Fixed by bug 1061809])
If you run a simple mozversion command without any argument and option specified, and no device attached to your machine, the following error is shown: $ mozversion mozversion.mozversion.RemoteB2GVersion INFO | Unable to find system/sources.xml mozversion.mozversion.RemoteB2GVersion WARNING | Error pulling gaia file Traceback (most recent call last): File "/home/henrik/.virtualenvs/inbound/bin/mozversion", line 9, in <module> load_entry_point('mozversion==0.6', 'console_scripts', 'mozversion')() File "/mozilla/code/firefox/inbound/testing/mozbase/mozversion/mozversion/mozversion.py", line 280, in cli device_serial=options.device) File "/mozilla/code/firefox/inbound/testing/mozbase/mozversion/mozversion/mozversion.py", line 258, in get_version device_serial=device_serial) File "/mozilla/code/firefox/inbound/testing/mozbase/mozversion/mozversion/mozversion.py", line 227, in __init__ if self._info['device_id'].lower() == 'flame': KeyError: 'device_id'
Assignee | ||
Comment 1•10 years ago
|
||
This will actually be fixed with my patch on bug 1061809.
Assignee | ||
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [Fixed by bug 1061809]
Target Milestone: --- → mozilla35
You need to log in
before you can comment on or make changes to this bug.
Description
•