All of lore.kernel.org
 help / color / mirror / Atom feed
* Hob : IndexError: list index out of range
@ 2012-03-22 11:22 Eric Bénard
  2012-03-23  8:13 ` Eric Bénard
  0 siblings, 1 reply; 8+ messages in thread
From: Eric Bénard @ 2012-03-22 11:22 UTC (permalink / raw)
  To: bitbake-devel

Hi,

while testing HOB, once the image appears to finish to build, got this error :

Traceback (most recent call last):
  File "/home/ebenard/openembedded-core/bitbake/lib/bb/ui/crumbs/builder.py", line 431, in handler_command_succeeded_cb
    self.switch_page(self.IMAGE_GENERATED)
  File "/home/ebenard/openembedded-core/bitbake/lib/bb/ui/crumbs/builder.py", line 339, in switch_page
    self.image_details_page.show_page(next_step)
  File "/home/ebenard/openembedded-core/bitbake/lib/bb/ui/crumbs/imagedetailspage.py", line 187, in show_page
    image_size = self._size_to_string(os.stat(os.path.join(image_addr, image_names[0])).st_size)
IndexError: list index out of range

Eric



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

* Re: Hob : IndexError: list index out of range
  2012-03-22 11:22 Hob : IndexError: list index out of range Eric Bénard
@ 2012-03-23  8:13 ` Eric Bénard
  2012-03-23 11:45   ` Xu, Dongxiao
  0 siblings, 1 reply; 8+ messages in thread
From: Eric Bénard @ 2012-03-23  8:13 UTC (permalink / raw)
  To: bitbake-devel

Le Thu, 22 Mar 2012 12:22:19 +0100,
Eric Bénard <eric@eukrea.com> a écrit :
> while testing HOB, once the image appears to finish to build, got this error :
> 
> Traceback (most recent call last):
>   File "/home/ebenard/openembedded-core/bitbake/lib/bb/ui/crumbs/builder.py", line 431, in handler_command_succeeded_cb
>     self.switch_page(self.IMAGE_GENERATED)
>   File "/home/ebenard/openembedded-core/bitbake/lib/bb/ui/crumbs/builder.py", line 339, in switch_page
>     self.image_details_page.show_page(next_step)
>   File "/home/ebenard/openembedded-core/bitbake/lib/bb/ui/crumbs/imagedetailspage.py", line 187, in show_page
>     image_size = self._size_to_string(os.stat(os.path.join(image_addr, image_names[0])).st_size)
> IndexError: list index out of range
> 
is there anyone reproducing this or is this a local issue ?

Thanks
Eric



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

* Re: Hob : IndexError: list index out of range
  2012-03-23  8:13 ` Eric Bénard
@ 2012-03-23 11:45   ` Xu, Dongxiao
  2012-03-23 11:54     ` Eric Bénard
  2012-03-24  2:38     ` Xu, Dongxiao
  0 siblings, 2 replies; 8+ messages in thread
From: Xu, Dongxiao @ 2012-03-23 11:45 UTC (permalink / raw)
  To: Eric Bénard; +Cc: bitbake-devel

On Fri, 2012-03-23 at 09:13 +0100, Eric Bénard wrote:
> Le Thu, 22 Mar 2012 12:22:19 +0100,
> Eric Bénard <eric@eukrea.com> a écrit :
> > while testing HOB, once the image appears to finish to build, got this error :
> > 
> > Traceback (most recent call last):
> >   File "/home/ebenard/openembedded-core/bitbake/lib/bb/ui/crumbs/builder.py", line 431, in handler_command_succeeded_cb
> >     self.switch_page(self.IMAGE_GENERATED)
> >   File "/home/ebenard/openembedded-core/bitbake/lib/bb/ui/crumbs/builder.py", line 339, in switch_page
> >     self.image_details_page.show_page(next_step)
> >   File "/home/ebenard/openembedded-core/bitbake/lib/bb/ui/crumbs/imagedetailspage.py", line 187, in show_page
> >     image_size = self._size_to_string(os.stat(os.path.join(image_addr, image_names[0])).st_size)
> > IndexError: list index out of range
> > 
> is there anyone reproducing this or is this a local issue ?

Could you tell me your configuration to reproduce this issue?

Thanks,
Dongxiao

> 
> Thanks
> Eric
> 
> _______________________________________________
> bitbake-devel mailing list
> bitbake-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/bitbake-devel





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

* Re: Hob : IndexError: list index out of range
  2012-03-23 11:45   ` Xu, Dongxiao
@ 2012-03-23 11:54     ` Eric Bénard
  2012-03-24  2:38     ` Xu, Dongxiao
  1 sibling, 0 replies; 8+ messages in thread
From: Eric Bénard @ 2012-03-23 11:54 UTC (permalink / raw)
  To: Xu, Dongxiao; +Cc: bitbake-devel

Hi Dongxiao,

Le Fri, 23 Mar 2012 19:45:24 +0800,
"Xu, Dongxiao" <dongxiao.xu@intel.com> a écrit :

> On Fri, 2012-03-23 at 09:13 +0100, Eric Bénard wrote:
> > Le Thu, 22 Mar 2012 12:22:19 +0100,
> > Eric Bénard <eric@eukrea.com> a écrit :
> > > while testing HOB, once the image appears to finish to build, got this error :
> > > 
> > > Traceback (most recent call last):
> > >   File "/home/ebenard/openembedded-core/bitbake/lib/bb/ui/crumbs/builder.py", line 431, in handler_command_succeeded_cb
> > >     self.switch_page(self.IMAGE_GENERATED)
> > >   File "/home/ebenard/openembedded-core/bitbake/lib/bb/ui/crumbs/builder.py", line 339, in switch_page
> > >     self.image_details_page.show_page(next_step)
> > >   File "/home/ebenard/openembedded-core/bitbake/lib/bb/ui/crumbs/imagedetailspage.py", line 187, in show_page
> > >     image_size = self._size_to_string(os.stat(os.path.join(image_addr, image_names[0])).st_size)
> > > IndexError: list index out of range
> > > 
> > is there anyone reproducing this or is this a local issue ?
> 
> Could you tell me your configuration to reproduce this issue?
> 
plain oe-core + qemuarm machine
I chose clutter image, then bake it and once that seems to finish I get
this error (and the user interface gets frozen IIRC.

Eric



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

* Re: Hob : IndexError: list index out of range
  2012-03-23 11:45   ` Xu, Dongxiao
  2012-03-23 11:54     ` Eric Bénard
@ 2012-03-24  2:38     ` Xu, Dongxiao
  2012-03-24  8:19       ` Eric Bénard
  1 sibling, 1 reply; 8+ messages in thread
From: Xu, Dongxiao @ 2012-03-24  2:38 UTC (permalink / raw)
  To: Eric Bénard; +Cc: bitbake-devel

I can reproduce it locally, thanks for reporting it.

Thanks,
Dongxiao

On Fri, 2012-03-23 at 19:45 +0800, Xu, Dongxiao wrote:
> On Fri, 2012-03-23 at 09:13 +0100, Eric Bénard wrote:
> > Le Thu, 22 Mar 2012 12:22:19 +0100,
> > Eric Bénard <eric@eukrea.com> a écrit :
> > > while testing HOB, once the image appears to finish to build, got this error :
> > > 
> > > Traceback (most recent call last):
> > >   File "/home/ebenard/openembedded-core/bitbake/lib/bb/ui/crumbs/builder.py", line 431, in handler_command_succeeded_cb
> > >     self.switch_page(self.IMAGE_GENERATED)
> > >   File "/home/ebenard/openembedded-core/bitbake/lib/bb/ui/crumbs/builder.py", line 339, in switch_page
> > >     self.image_details_page.show_page(next_step)
> > >   File "/home/ebenard/openembedded-core/bitbake/lib/bb/ui/crumbs/imagedetailspage.py", line 187, in show_page
> > >     image_size = self._size_to_string(os.stat(os.path.join(image_addr, image_names[0])).st_size)
> > > IndexError: list index out of range
> > > 
> > is there anyone reproducing this or is this a local issue ?
> 
> Could you tell me your configuration to reproduce this issue?
> 
> Thanks,
> Dongxiao
> 
> > 
> > Thanks
> > Eric
> > 
> > _______________________________________________
> > bitbake-devel mailing list
> > bitbake-devel@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/bitbake-devel
> 
> 
> 
> _______________________________________________
> bitbake-devel mailing list
> bitbake-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/bitbake-devel





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

* Re: Hob : IndexError: list index out of range
  2012-03-24  2:38     ` Xu, Dongxiao
@ 2012-03-24  8:19       ` Eric Bénard
  2012-03-24  8:27         ` Xu, Dongxiao
  0 siblings, 1 reply; 8+ messages in thread
From: Eric Bénard @ 2012-03-24  8:19 UTC (permalink / raw)
  To: Xu, Dongxiao; +Cc: bitbake-devel

Le Sat, 24 Mar 2012 10:38:05 +0800,
"Xu, Dongxiao" <dongxiao.xu@intel.com> a écrit :

> I can reproduce it locally, thanks for reporting it.
> 
reported here :
https://bugzilla.yoctoproject.org/show_bug.cgi?id=2169

Eric



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

* Re: Hob : IndexError: list index out of range
  2012-03-24  8:19       ` Eric Bénard
@ 2012-03-24  8:27         ` Xu, Dongxiao
  2012-03-25 18:34           ` Eric Bénard
  0 siblings, 1 reply; 8+ messages in thread
From: Xu, Dongxiao @ 2012-03-24  8:27 UTC (permalink / raw)
  To: Eric Bénard; +Cc: bitbake-devel

I have send out a patch in my previous pull request [Patch 8/8] to
address this issue. You can have a try of that after it is checked into
master.

Thanks,
Dongxiao

On Sat, 2012-03-24 at 09:19 +0100, Eric Bénard wrote:
> Le Sat, 24 Mar 2012 10:38:05 +0800,
> "Xu, Dongxiao" <dongxiao.xu@intel.com> a écrit :
> 
> > I can reproduce it locally, thanks for reporting it.
> > 
> reported here :
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=2169
> 
> Eric





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

* Re: Hob : IndexError: list index out of range
  2012-03-24  8:27         ` Xu, Dongxiao
@ 2012-03-25 18:34           ` Eric Bénard
  0 siblings, 0 replies; 8+ messages in thread
From: Eric Bénard @ 2012-03-25 18:34 UTC (permalink / raw)
  To: bitbake-devel

Hi Dongxiao,

Le Sat, 24 Mar 2012 16:27:57 +0800,
"Xu, Dongxiao" <dongxiao.xu@intel.com> a écrit :

> I have send out a patch in my previous pull request [Patch 8/8] to
> address this issue. You can have a try of that after it is checked into
> master.
> 
> Thanks,
> Dongxiao
> 
> On Sat, 2012-03-24 at 09:19 +0100, Eric Bénard wrote:
> > Le Sat, 24 Mar 2012 10:38:05 +0800,   
> > "Xu, Dongxiao" <dongxiao.xu@intel.com> a écrit :
> > 
> > > I can reproduce it locally, thanks for reporting it.
> > > 
> > reported here :
> > https://bugzilla.yoctoproject.org/show_bug.cgi?id=2169
> > 
bug 2169 & bug 2167 are solved in actual bitbake
( at 02d3451b2e0744204a1280f9effe9fd862bb4faf ) and thus can be closed

Thanks !

Eric



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

end of thread, other threads:[~2012-03-25 18:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-22 11:22 Hob : IndexError: list index out of range Eric Bénard
2012-03-23  8:13 ` Eric Bénard
2012-03-23 11:45   ` Xu, Dongxiao
2012-03-23 11:54     ` Eric Bénard
2012-03-24  2:38     ` Xu, Dongxiao
2012-03-24  8:19       ` Eric Bénard
2012-03-24  8:27         ` Xu, Dongxiao
2012-03-25 18:34           ` Eric Bénard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.