Bug 6213

Summary: Bitbake Commander hangs when creating a new recipe
Product: [Yocto Project Subprojects] Eclipse Plugin Reporter: Ada Solcan <ada-mihaela.solcan>
Component: eclipse-pluginAssignee: Todor Minchev <todor.minchev>
Status: VERIFIED FIXED QA Contact: Valentin Hangan <valentinx.hangan>
Severity: normal    
Priority: Medium CC: alexandru.costinx.roman, ioanax.grigoropol, ross.burton, valentinx.hangan, yp.ep.watcher, yp.watcher
Version: 1.6   
Target Milestone: 1.9   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: New (Never tested)
Verified: Documentation change: Don't know
Attachments:
Description Flags
Screenshot when Eclipse is blocked none

Description Ada Solcan 2014-04-23 11:42:58 UTC
Created attachment 1928 [details]
Screenshot when Eclipse is blocked

HOST USED: Ubuntu 13.10 & Fedora 20
eclipse-kepler: 1dfe1d2f1322b5fda8e1a7637c447b0e060efb3e
poky: a0958261265049904fd78a2ba0198d46e5e65ea9

STEPS TO REPRODUCE:
1. Install Eclipse using a headless build

2. Create a local Bitbake Commander project by using a new or existing git clone
   2.1 Click File -> New -> Project
   2.2 Select Yocto Project Bitbake Commander -> New Yocto Project
   2.3 Click "Next"
   2.4 Fill in the "Project Name"
   2.5 Select "Local" from the "Remote service provider" dropdown list
   2.6 Select "Local" from the "Connection name" dropdown list
   2.7 Type or select the desired location in the "Location" field
   2.8 If you want to use an existing git clone don't check the "Clone from Yocto Git Repository into new location" checkbox
   2.9 Press finish

3. After the project is created don't double-click its name in the Project Explorer, if you double-click it the bug will not reproduce any more

4. Create a customized recipe using a source package 
   4.1 Click File -> New -> Bitbake Recipe, don't use the shortcut icon for New BitBake Recipe 
   4.2 Select in the Recipe Directory the directory of the project created at step 2
   4.3 In the SRC_URI field type: ftp://ftp.gnu.org/gnu/m4/m4-1.4.9.tar.gz
   4.4 Click "Populate"


EXPECTED RESULT:
After you enter the SRC_URI and click on "Populate", it should calculate the archive md4, sha256, license checksum and auto generated recipe file name.


ACTUAL RESULT
Eclipse is blocked, see attached screenshot
Errors from log file:
!ENTRY org.eclipse.osgi 2 1 2014-04-23 14:05:10.919
!MESSAGE NLS missing message: ErrorNoSubsystem in: org.yocto.remote.utils.messages

!ENTRY org.eclipse.osgi 2 1 2014-04-23 14:05:10.935
!MESSAGE NLS missing message: ErrorConnectSubsystem in: org.yocto.remote.utils.messages
 
!ENTRY org.eclipse.osgi 2 1 2014-04-23 14:05:10.935
!MESSAGE NLS missing message: InfoDownload in: org.yocto.remote.utils.messages
 
!ENTRY org.eclipse.osgi 2 1 2014-04-23 14:05:10.935
!MESSAGE NLS missing message: InfoUpload in: org.yocto.remote.utils.messages
 
!ENTRY org.eclipse.osgi 2 1 2014-04-23 14:05:10.935
!MESSAGE NLS missing message: RemoteShellExec_1 in: org.yocto.remote.utils.messages
 
960 !ENTRY org.eclipse.osgi 2 1 2014-04-23 14:05:10.935
961 !MESSAGE NLS missing message: RemoteShellExec_2 in: org.yocto.remote.utils.messages
Comment 1 Todor Minchev 2015-04-27 16:26:15 UTC
The remote project functionality of the bitbake commander has been removed. Please retest with the new implementation.
Comment 2 Todor Minchev 2015-08-03 20:37:31 UTC
The remote project functionality of the bitbake commander has been removed. Please retest with the new implementation.
Comment 3 Alexandru Roman 2015-08-28 14:01:44 UTC
verified on luna-master: 45aa5c77523bdf051d548fff4305382942db2ebb