Bug 1289

Summary: Can't open saved bb file which contains customization
Product: [Build System, Metadata & Runtime] Hob Reporter: Jessica <jessica.zhang>
Component: hobAssignee: Jessica <jessica.zhang>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: High CC: jessica.zhang, jiajun.xu, josh, lianhao.lu, liping.ke, poky.bs.watcher, poky.watcher
Version: unspecified   
Target Milestone: 1.1 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Bug Depends on:    
Bug Blocks: 1282    

Description Jessica 2011-07-24 19:17:49 UTC
When tried to open saved myimage.bb file, got the following error:

Traceback (most recent call last):
  File "/home/jzhang/poky-master/bitbake/lib/bb/ui/hob.py", line 360, in open_cb
    self.model.load_image_rep(rep)
  File "/home/jzhang/poky-master/bitbake/lib/bb/ui/crumbs/tasklistmodel.py", line 265, in load_image_rep
    packages = rep.packages.split(" ")
AttributeError: 'BuildRep' object has no attribute 'packages'
Comment 2 Jessica 2011-08-08 14:15:48 UTC
Verified against latest poky master (commit 981052592b9157ee54a9971d36de33ac72fc6626)