From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 70E3AE00CC1; Tue, 17 Oct 2017 00:48:39 -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 8D24CE00C78 for ; Tue, 17 Oct 2017 00:48:36 -0700 (PDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.numalliance.com (Postfix) with ESMTP id 709EF21E5A6B; Tue, 17 Oct 2017 09:48:35 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.numalliance.com Received: from mail.numalliance.com ([127.0.0.1]) by localhost (mail.numalliance.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JTxqVebDJJoj; Tue, 17 Oct 2017 09:48:26 +0200 (CEST) Received: from [192.168.0.78] (unknown [192.168.0.78]) (Authenticated sender: sancelot@numalliance.com) by mail.numalliance.com (Postfix) with ESMTPSA id 1D75E20D0418; Tue, 17 Oct 2017 09:48:26 +0200 (CEST) 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> From: =?UTF-8?Q?St=c3=a9phane_Ancelot?= Message-ID: <6beeb0c9-2a29-a368-5277-52990c8509fc@numalliance.com> Date: Tue, 17 Oct 2017 09:48:25 +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: <5E53D14CE4667A45B9A06760DE5D13D0CF7CD8CF@ALA-MBC.corp.ad.wrs.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: Tue, 17 Oct 2017 07:48:39 -0000 Content-Type: multipart/alternative; boundary="------------5C2638B58BB6932B8B5DA332" Content-Language: fr --------------5C2638B58BB6932B8B5DA332 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Le 16/10/2017 =C3=A0 19:27, Reyna, David a =C3=A9crit=C2=A0: > > Hi St=C3=A9phane, > > This issues should have been resolved by Bug #9924: > > https://bugzilla.yoctoproject.org/show_bug.cgi?id=3D9924 > > 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=C3=A9phane 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=C2=A0 more precise details regarding this issue : > > 1/ from the web interface , import your layer : > > select "in a directory", and fill in=C2=A0 the path > > click import and add to project > > Next, go to the layers view and edit the imported layer > > =3D=3D=3D>> the path to the layer directory is set to None > > This implies when building you have next message (not really user=20 > friendly ...): > > sequence item 3: expected str instance, NoneType found > > But once=C2=A0 you edited again the path to the layer directory and sav= e it=20 > in the layer view , everything goes well since it is not setted to=20 > None anymore. > > Regards, > > S.Ancelot > > Le 16/10/2017 =C3=A0 14:08, St=C3=A9phane Ancelot a =C3=A9crit=C2=A0: > > 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 =C3=A0 11:03, Reyna, David a =C3=A9crit=C2=A0: > > Hi St=C3=A9phane, > > You have to build a project with the imported layer before Toas= ter know anything. Since this layer did not come from the Layer Index (wi= th all the metadata provided), Toaster has to derive the layer informatio= n 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 wh= en 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 Manu= al 2.4 has information about this in the just-completed "Customize Toaste= r" section. > > - David > > -----Original Message----- > > From:toaster-bounces@yoctoproject.org > [mailto:toaster-boun= ces@yoctoproject.org] On Behalf Of St=C3=A9phane 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 tes= t (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=C3=A9phane ANCELOT > > -- > > _______________________________________________ > > toaster mailing list > > toaster@yoctoproject.org > > https://lists.yoctoproject.org/listinfo/toaster > > > > --------------5C2638B58BB6932B8B5DA332 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable



Le 16/10/2017 =C3=A0 19:27, Reyna, Dav= id a =C3=A9crit=C2=A0:

Hi St=C3=A9phane,

=C2=A0

This issues should have been resolved by Bug #9924:

=C2=A0

=C2=A0 https://bugzilla.yoctoproject.org= /show_bug.cgi?id=3D9924

=C2=A0

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 ?

=C2=A0

- David

=C2=A0

=C2=A0

From: St=C3=A9phane 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

=C2=A0

Hi,

I have now=C2=A0 more precise details regarding this issue :

1/ from the web interface , import your layer :

select "in a directory", and fill in=C2=A0 the path

click import and add to project

=C2=A0

Next, go to the layers view and edit the imported layer <= /o:p>

=3D=3D=3D>> the path to the layer directory is set to No= ne=C2=A0

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

sequence item 3: ex=
pected str instance, NoneType found

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

Regards,

S.Ancelot

=C2=A0

Le 16/10/2017 =C3=A0 14:08, St=C3=A9phan= e Ancelot a =C3=A9crit=C2=A0:

Unfortunately, when I try to rebuild wit= h this layer, I have next error

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

Le 16/10/2017 =C3=A0 11:03, Reyna, Dav= id a =C3=A9crit=C2=A0:

Hi St=C3=A9phane,
=C2=A0
You have to build a project with the imported layer befo=
re Toaster know anything. Since this layer did not come from the Layer In=
dex (with all the metadata provided), Toaster has to derive the layer inf=
ormation from bitbake events as the project builds.
=C2=A0
If after a build you still do not see information, then =
please file a defect.
=C2=A0
Alternatively, if you want to see the layer data immedia=
tely when it is imported (e.g. you use this layer in different Toaster in=
stances 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 expl=
icitly to "toaster/orm/fixtures/custom.xml". The new updates to the Toast=
er Manual 2.4 has information about this in the just-completed "Customize=
 Toaster" section.
=C2=A0
- David
=C2=A0
-----Original Message-----
From: toaster-bounces@yoctoproject.org [mailto=
:toaster-bounces@yoctoproject.org] On Behalf Of St=C3=A9phane Ancelot=
Sent: Monday, October 16, 2017 12:52 AM
To: toaster@yoctoproject.org
Subject: [Toaster] import a layer directory problem=
=C2=A0
hi,
=C2=A0
I have got some problems trying to import a layer :=
=C2=A0
I first copied the meta-skeleton layer in a directory na=
med test (inside the OS running toaster)
=C2=A0
then in toaster, I setted the pathname of my layer direc=
tory.
=C2=A0
I can sea my layer name in available layers , but inside=
 there is no summary/description/recipes available ....like it was not ad=
ded....
=C2=A0
Regards,
=C2=A0
St=C3=A9phane ANCELOT
--
_______________________________________________
toaster mailing list
toaster@yoctoproject.org
https://lists.yoctoproject.org/listinfo/toas=
ter




=C2=A0


--------------5C2638B58BB6932B8B5DA332--