Skip to contentSkip to conversation

Hob : IndexError: list index out of range

DISCUSSION Eric Bénard 2 participants 8 messages Mar 22, 2012 – Mar 25, 2012

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 11 lines · Eric Bénard

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

#2 lore raw
Quoted 13 lines · Eric Bénard
Quoted 11 lines · Eric Bénard

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

Quoted 1 line

is there anyone reproducing this or is this a local issue ?

Could you tell me your configuration to reproduce this issue?

Thanks,
Dongxiao

Quoted 8 lines

Thanks
Eric

_______________________________________________
bitbake-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/bitbake-devel

#3 lore raw

Hi Dongxiao,

Quoted 14 lines · Dongxiao
Quoted 13 lines · Eric Bénard
Quoted 11 lines · Eric Bénard

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

Quoted 4 lines
Quoted 1 line

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

#4 lore raw
In reply to Xu, Dongxiao

I can reproduce it locally, thanks for reporting it.

Thanks,
Dongxiao

Quoted 36 lines · Dongxiao
Quoted 13 lines · Eric Bénard
Quoted 11 lines · Eric Bénard

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

Quoted 1 line

is there anyone reproducing this or is this a local issue ?

Could you tell me your configuration to reproduce this issue?

Thanks,
Dongxiao

Quoted 8 lines

Thanks
Eric

_______________________________________________
bitbake-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/bitbake-devel

_______________________________________________
bitbake-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/bitbake-devel

#6 lore raw

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

Quoted 9 lines · Eric Bénard
Quoted 2 lines · Dongxiao

I can reproduce it locally, thanks for reporting it.

reported here :
https://bugzilla.yoctoproject.org/show_bug.cgi?id=2169

Eric

#7 lore raw

Hi Dongxiao,

Quoted 4 lines · Dongxiao

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.

Quoted 12 lines

Thanks,
Dongxiao

Quoted 8 lines · Eric Bénard
Quoted 2 lines · Dongxiao

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