toaster.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
From: "Reyna, David" <david.reyna@windriver.com>
To: "Stéphane Ancelot" <sancelot@numalliance.com>
Cc: "toaster@yoctoproject.org" <toaster@yoctoproject.org>
Subject: Re: import a layer directory problem
Date: Mon, 16 Oct 2017 17:27:13 +0000	[thread overview]
Message-ID: <5E53D14CE4667A45B9A06760DE5D13D0CF7CD8CF@ALA-MBC.corp.ad.wrs.com> (raw)
In-Reply-To: <b097d585-f9d7-471c-d265-2b22faefb2e9@numalliance.com>

[-- Attachment #1: Type: text/plain, Size: 3260 bytes --]

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.

- 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> [mailto:toaster-bounces@yoctoproject.org] On Behalf Of Stéphane Ancelot

Sent: Monday, October 16, 2017 12:52 AM

To: toaster@yoctoproject.org<mailto: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<mailto:toaster@yoctoproject.org>

https://lists.yoctoproject.org/listinfo/toaster





[-- Attachment #2: Type: text/html, Size: 10918 bytes --]

  reply	other threads:[~2017-10-16 17:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-16  7:52 import a layer directory problem Stéphane Ancelot
2017-10-16  9:03 ` Reyna, David
2017-10-16 12:08   ` Stéphane Ancelot
2017-10-16 14:49     ` Stéphane Ancelot
2017-10-16 17:27       ` Reyna, David [this message]
2017-10-17  7:48         ` Stéphane Ancelot
2017-10-19 10:18           ` Stéphane Ancelot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5E53D14CE4667A45B9A06760DE5D13D0CF7CD8CF@ALA-MBC.corp.ad.wrs.com \
    --to=david.reyna@windriver.com \
    --cc=sancelot@numalliance.com \
    --cc=toaster@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).