Bug 5939 - Error found when launching Hob from Eclipse
Summary: Error found when launching Hob from Eclipse
Status: VERIFIED FIXED
Alias: None
Product: Eclipse Plugin
Classification: Yocto Project Subprojects
Component: eclipse-plugin (show other bugs)
Version: 1.4.3
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Jessica
QA Contact: Andra Necula
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-03-10 15:03 UTC by Ada Solcan
Modified: 2014-08-27 11:26 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
Screenshot with the error message (135.79 KB, image/png)
2014-03-10 15:03 UTC, Ada Solcan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.