toaster.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
* import a layer directory problem
@ 2017-10-16  7:52 Stéphane Ancelot
  2017-10-16  9:03 ` Reyna, David
  0 siblings, 1 reply; 7+ messages in thread
From: Stéphane Ancelot @ 2017-10-16  7:52 UTC (permalink / raw)
  To: toaster

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: import a layer directory problem
  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
  0 siblings, 1 reply; 7+ messages in thread
From: Reyna, David @ 2017-10-16  9:03 UTC (permalink / raw)
  To: Stéphane Ancelot; +Cc: toaster

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: import a layer directory problem
  2017-10-16  9:03 ` Reyna, David
@ 2017-10-16 12:08   ` Stéphane Ancelot
  2017-10-16 14:49     ` Stéphane Ancelot
  0 siblings, 1 reply; 7+ messages in thread
From: Stéphane Ancelot @ 2017-10-16 12:08 UTC (permalink / raw)
  To: Reyna, David; +Cc: toaster

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

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


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: import a layer directory problem
  2017-10-16 12:08   ` Stéphane Ancelot
@ 2017-10-16 14:49     ` Stéphane Ancelot
  2017-10-16 17:27       ` Reyna, David
  0 siblings, 1 reply; 7+ messages in thread
From: Stéphane Ancelot @ 2017-10-16 14:49 UTC (permalink / raw)
  To: Reyna, David; +Cc: toaster

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

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
>
>
>


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: import a layer directory problem
  2017-10-16 14:49     ` Stéphane Ancelot
@ 2017-10-16 17:27       ` Reyna, David
  2017-10-17  7:48         ` Stéphane Ancelot
  0 siblings, 1 reply; 7+ messages in thread
From: Reyna, David @ 2017-10-16 17:27 UTC (permalink / raw)
  To: Stéphane Ancelot; +Cc: toaster

[-- 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 --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: import a layer directory problem
  2017-10-16 17:27       ` Reyna, David
@ 2017-10-17  7:48         ` Stéphane Ancelot
  2017-10-19 10:18           ` Stéphane Ancelot
  0 siblings, 1 reply; 7+ messages in thread
From: Stéphane Ancelot @ 2017-10-17  7:48 UTC (permalink / raw)
  To: Reyna, David; +Cc: toaster

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



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>  [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: 12718 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: import a layer directory problem
  2017-10-17  7:48         ` Stéphane Ancelot
@ 2017-10-19 10:18           ` Stéphane Ancelot
  0 siblings, 0 replies; 7+ messages in thread
From: Stéphane Ancelot @ 2017-10-19 10:18 UTC (permalink / raw)
  To: Reyna, David; +Cc: toaster

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

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>  [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: 14040 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-10-19 10:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2017-10-17  7:48         ` Stéphane Ancelot
2017-10-19 10:18           ` Stéphane Ancelot

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).