From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id D8594E00D36; Thu, 19 Oct 2017 03:18:23 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message Received: from mail.numalliance.com (mail.numalliance.com [194.2.198.111]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 21DCAE00C96 for ; Thu, 19 Oct 2017 03:18:21 -0700 (PDT) Received: from [192.168.0.78] (unknown [192.168.0.78]) (Authenticated sender: sancelot@numalliance.com) by mail.numalliance.com (Postfix) with ESMTPSA id 507C420B6449; Thu, 19 Oct 2017 12:18:20 +0200 (CEST) From: =?UTF-8?Q?St=c3=a9phane_Ancelot?= To: "Reyna, David" References: <7d5b5ea1-e927-1a52-90c8-7c847f19ce0b@numalliance.com> <5E53D14CE4667A45B9A06760DE5D13D0CF7CD38E@ALA-MBC.corp.ad.wrs.com> <5E53D14CE4667A45B9A06760DE5D13D0CF7CD8CF@ALA-MBC.corp.ad.wrs.com> <6beeb0c9-2a29-a368-5277-52990c8509fc@numalliance.com> Message-ID: Date: Thu, 19 Oct 2017 12:18:20 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <6beeb0c9-2a29-a368-5277-52990c8509fc@numalliance.com> Cc: "toaster@yoctoproject.org" Subject: Re: import a layer directory problem X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Oct 2017 10:18:23 -0000 Content-Type: multipart/alternative; boundary="------------192DBD70A33D3C991BA094C4" Content-Language: fr --------------192DBD70A33D3C991BA094C4 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hi, I switched to master. The problem is not related to this bug. This is when you are importing from a layer in a directory. The absolute path to the layer directory is not saved and None instead is stored. you have to edit the layer imported and replace the None layer directory information with the directory. Regards, S.Ancelot Le 17/10/2017 à 09:48, Stéphane Ancelot a écrit : > > > > Le 16/10/2017 à 19:27, Reyna, David a écrit : >> >> Hi Stéphane, >> >> This issues should have been resolved by Bug #9924: >> >> https://bugzilla.yoctoproject.org/show_bug.cgi?id=9924 >> >> Are you using Rocko or master? You should see the patch there. >> > I am using rocko. what do I need to do to switch to master ? > >> - David >> >> *From:*Stéphane Ancelot [mailto:sancelot@numalliance.com] >> *Sent:* Monday, October 16, 2017 7:49 AM >> *To:* Reyna, David >> *Cc:* toaster@yoctoproject.org >> *Subject:* Re: [Toaster] import a layer directory problem >> >> Hi, >> >> I have now  more precise details regarding this issue : >> >> 1/ from the web interface , import your layer : >> >> select "in a directory", and fill in  the path >> >> click import and add to project >> >> Next, go to the layers view and edit the imported layer >> >> ===>> the path to the layer directory is set to None >> >> This implies when building you have next message (not really user >> friendly ...): >> >> sequence item 3: expected str instance, NoneType found >> >> But once  you edited again the path to the layer directory and save >> it in the layer view , everything goes well since it is not setted to >> None anymore. >> >> Regards, >> >> S.Ancelot >> >> Le 16/10/2017 à 14:08, Stéphane Ancelot a écrit : >> >> Unfortunately, when I try to rebuild with this layer, I have next >> error >> >> sequence item 3: expected str instance, NoneType found >> >> I will at first try the custom.xml setup .... this will permit to >> inhibit some mistakes related to bad layer configuration. >> >> Regards >> >> Steph >> >> Le 16/10/2017 à 11:03, Reyna, David a écrit : >> >> Hi Stéphane, >> >> You have to build a project with the imported layer before Toaster know anything. Since this layer did not come from the Layer Index (with all the metadata provided), Toaster has to derive the layer information from bitbake events as the project builds. >> >> If after a build you still do not see information, then please file a defect. >> >> Alternatively, if you want to see the layer data immediately when it is imported (e.g. you use this layer in different Toaster instances and/or you are sharing the layer with others) and you do not mind being clever (e.g. doing a hack), you can add the layer information explicitly to "toaster/orm/fixtures/custom.xml". The new updates to the Toaster Manual 2.4 has information about this in the just-completed "Customize Toaster" section. >> >> - David >> >> -----Original Message----- >> >> From:toaster-bounces@yoctoproject.org >> [mailto:toaster-bounces@yoctoproject.org] On Behalf Of Stéphane Ancelot >> >> Sent: Monday, October 16, 2017 12:52 AM >> >> To:toaster@yoctoproject.org >> >> Subject: [Toaster] import a layer directory problem >> >> hi, >> >> I have got some problems trying to import a layer : >> >> I first copied the meta-skeleton layer in a directory named test (inside the OS running toaster) >> >> then in toaster, I setted the pathname of my layer directory. >> >> I can sea my layer name in available layers , but inside there is no summary/description/recipes available ....like it was not added.... >> >> Regards, >> >> Stéphane ANCELOT >> >> -- >> >> _______________________________________________ >> >> toaster mailing list >> >> toaster@yoctoproject.org >> >> https://lists.yoctoproject.org/listinfo/toaster >> >> >> >> > > > --------------192DBD70A33D3C991BA094C4 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Hi,

I switched to master.

The problem is not related to this bug.

This is when you are importing from a layer in a directory.

The absolute path to the layer directory is not saved and None instead is stored.

you have to edit the layer imported and replace the None layer directory information with the directory.

Regards,
S.Ancelot
Le 17/10/2017 à 09:48, Stéphane Ancelot a écrit :



Le 16/10/2017 à 19:27, Reyna, David a écrit :

Hi Stéphane,

 

This issues should have been resolved by Bug #9924:

 

  https://bugzilla.yoctoproject.org/show_bug.cgi?id=9924

 

Are you using Rocko or master? You should see the patch there.

I am using rocko. what do I need to do to switch to master ?

 

- David

 

 

From: Stéphane Ancelot [mailto:sancelot@numalliance.com]
Sent: Monday, October 16, 2017 7:49 AM
To: Reyna, David
Cc: toaster@yoctoproject.org
Subject: Re: [Toaster] import a layer directory problem

 

Hi,

I have now  more precise details regarding this issue :

1/ from the web interface , import your layer :

select "in a directory", and fill in  the path

click import and add to project

 

Next, go to the layers view and edit the imported layer

===>> the path to the layer directory is set to None 

This implies when building you have next message (not really user friendly ...):

sequence item 3: expected str instance, NoneType found

But once  you edited again the path to the layer directory and save it in the layer view , everything goes well since it is not setted to None anymore.

Regards,

S.Ancelot

 

Le 16/10/2017 à 14:08, Stéphane Ancelot a écrit :

Unfortunately, when I try to rebuild with this layer, I have next error

sequence item 3: expected str instance, NoneType found
 
I will at first try the custom.xml setup .... this will permit to inhibit some mistakes related to bad layer configuration. 
Regards
Steph
 

Le 16/10/2017 à 11:03, Reyna, David a écrit :

Hi Stéphane,
 
You have to build a project with the imported layer before Toaster know anything. Since this layer did not come from the Layer Index (with all the metadata provided), Toaster has to derive the layer information from bitbake events as the project builds.
 
If after a build you still do not see information, then please file a defect.
 
Alternatively, if you want to see the layer data immediately when it is imported (e.g. you use this layer in different Toaster instances and/or you are sharing the layer with others) and you do not mind being clever (e.g. doing a hack), you can add the layer information explicitly to "toaster/orm/fixtures/custom.xml". The new updates to the Toaster Manual 2.4 has information about this in the just-completed "Customize Toaster" section.
 
- David
 
-----Original Message-----
From: toaster-bounces@yoctoproject.org [mailto:toaster-bounces@yoctoproject.org] On Behalf Of Stéphane Ancelot
Sent: Monday, October 16, 2017 12:52 AM
To: toaster@yoctoproject.org
Subject: [Toaster] import a layer directory problem
 
hi,
 
I have got some problems trying to import a layer :
 
I first copied the meta-skeleton layer in a directory named test (inside the OS running toaster)
 
then in toaster, I setted the pathname of my layer directory.
 
I can sea my layer name in available layers , but inside there is no summary/description/recipes available ....like it was not added....
 
Regards,
 
Stéphane ANCELOT
--
_______________________________________________
toaster mailing list
toaster@yoctoproject.org
https://lists.yoctoproject.org/listinfo/toaster




 





--------------192DBD70A33D3C991BA094C4--