| Summary: | [Hob2] elf image type causes Hob error | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Hob | Reporter: | Shane Wang <shane.wang> |
| Component: | hob | Assignee: | Kai Kang <kai.kang> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | High | CC: | belen.barros.pena, hongnax.xu, jessica.zhang, jiajun.xu, laurentiu.serban, poky.bs.watcher, poky.watcher, zhenfeng.zhao |
| Version: | unspecified | ||
| Target Milestone: | 1.3 M3 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
I assigned it to Kai. What we need to do is to sync up hcc.SUPPORTED_IMAGE_TYPES[image_type] in Hob to add "elf". *** Bug 2722 has been marked as a duplicate of this bug. *** *** Bug 2770 has been marked as a duplicate of this bug. *** Since bug 2770 is marked as high, upgrade this to high. Patch for fix this issus has been merged, Yocto commit 4bd0338972a1a64829734c43501a3a74c510421a But Richard's opionion is that the code need to be rewrite and keep this bug open for now. Hi Kai, Please close this bug since it's a high and open another bug per RP's suggestion. Setting this to verified according to the latest comments |
When I select images from Hob and try to open images, the backend shows: an@HP:/opt/123/build3$ hob Traceback (most recent call last): File "/home/an/workspace/poky-contrib/bitbake/lib/bb/ui/crumbs/hig.py", line 1255, in select_path_cb self.fill_image_store() File "/home/an/workspace/poky-contrib/bitbake/lib/bb/ui/crumbs/hig.py", line 1268, in fill_image_store for real_image_type in hcc.SUPPORTED_IMAGE_TYPES[image_type]: KeyError: 'elf' ^CTraceback (most recent call last): File "/home/an/workspace/poky-contrib/bitbake/lib/bb/ui/hob.py", line 55, in event_handle_idle_func event = eventHandler.getEvent() File "/home/an/workspace/poky-contrib/bitbake/lib/bb/server/process.py", line 233, in getEvent return self.get(False) File "/usr/lib/python2.7/multiprocessing/queues.py", line 129, in get if not self._poll(block and (deadline-time.time()) or 0.0): KeyboardInterrupt which was brought in by the commit http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=c9b01af84b64edba056f959c349895e0698324e6