Bug 4065

Summary: Hob custom image build error
Product: [Build System, Metadata & Runtime] Hob Reporter: Cristiana Voicu <cristiana.voicu>
Component: hobAssignee: Cristiana Voicu <cristiana.voicu>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: andreea.b.proca, belen.barros.pena, cristian.iorga, jessica.zhang, poky.bs.watcher, poky.watcher, valentin.popa
Version: unspecified   
Target Milestone: 1.4 M6   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Cristiana Voicu 2013-03-20 07:42:28 UTC
Whenever I build a custom image in Hob (using Create your own image), I get the following error output once the image build stage is completed:

Traceback (most recent call last):
  File "/home/user/poky/bitbake/lib/bb/ui/crumbs/builder.py", line 1096, in handler_build_succeeded_cb
    self.build_succeeded()
  File "/home/user/poky/bitbake/lib/bb/ui/crumbs/builder.py", line 1029, in build_succeeded
    version = self.recipe_model.get_custom_image_version()
  File "/home/user/poky/bitbake/lib/bb/ui/crumbs/hoblistmodel.py", line 696, in get_custom_image_version
    return self.custom_image_version
AttributeError: 'RecipeListModel' object has no attribute 'custom_image_version'

The UI is the stuck at 99% (do_build). However, the image build process has otherwise succeeded (the image files exist in the images folder). However, Hob needs to be force closed.
Comment 1 Cristiana Voicu 2013-03-25 12:59:57 UTC
merged to master
commit ab7d8bd172f61e14266a020bd6633d33d79e3d8f
Comment 2 Andreea Brandusa Proca 2013-04-04 08:41:55 UTC
Verified in fe336b149552b1f4f24d979c40302653298b98cc.