Bug 5939

Summary: Error found when launching Hob from Eclipse
Product: [Yocto Project Subprojects] Eclipse Plugin Reporter: Ada Solcan <ada-mihaela.solcan>
Component: eclipse-pluginAssignee: Jessica <jessica.zhang>
Status: VERIFIED FIXED QA Contact: Andra Necula <andrax.g.necula>
Severity: normal    
Priority: Undecided CC: alexandru.c.georgescu, andrax.g.necula, ioanax.grigoropol, yp.ep.watcher, yp.watcher
Version: 1.4.3   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
Screenshot with the error message none

Description Ada Solcan 2014-03-10 15:03:44 UTC
Created attachment 1802 [details]
Screenshot with the error message

poky: 7ab82abcad9ede847c42c01d2a4f4c2c18877e6f
eclipse-poky-juno: dc9a609c68fe4a6bbbf34d418fd6611489c1d6f7
host: Ubuntu 13.10

STEPS TO REPRODUCE:
1. Perform a headless build for Eclipse
2. Install Eclipse plug-in
3. Create a new Bitbake Commander project (with a new git clone or with an existing one)
4. Select the project, and in Eclipse toolbar select Project->Launch HOB
4. Select any Bitbake build directory which has compiled pseudo-native

EXPECTED RESULT:
Hob launches succesfully

ACTUAL RESULT:
A pop-up window with the following message is displayed (see attachment for screenshot):

Hob found an error

Execution of event handler 'check_sanity_eventhandler' failed
Traceback (most recent call last):
  File "check_sanity_eventhandler(e)", line 9, in check_sanity_eventhandler(e=<bb.event.SanityCheck object at 0x5e92d50>)
  File "sanity.bbclass", line 99, in check_sanity(sanity_data=<bb.data_smart.DataSmart object at 0x34dd910>)
  File "utils.bbclass", line 2, in check_app_exists(app='${MAKE}', d=<bb.data_smart.DataSmart object at 0x34dd910>)
ImportError: cannot import name which


If you click the Close button, Hob launches.
Comment 1 Ada Solcan 2014-03-12 08:47:22 UTC
It also reproduces on Fedora 20
Comment 2 Alexandru Georgescu 2014-03-13 11:03:15 UTC
Couldn't reproduce.
Comment 3 Andra Necula 2014-08-27 11:26:58 UTC
Verified with eclipse Kepler, on dylan branch
commit 02037d7daa1a24aecccc527a1ee6e78e1ed7c9dd
Ubuntu 14.04

Cheers! Andra N.