Bug 1668 - HOB cancel file choose will cause traceback
Summary: HOB cancel file choose will cause traceback
Status: RESOLVED FIXED
Alias: None
Product: Hob
Classification: Build System, Metadata & Runtime
Component: hob (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.1 Point Release
Assignee: Joshua Lock - Disabled
QA Contact:
URL:
Whiteboard: Patch submitted
Depends on:
Blocks:
 
Reported: 2011-10-11 09:33 UTC by Jessica
Modified: 2011-11-25 03:01 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jessica 2011-10-11 09:33:59 UTC
From HOB file menu -> Open, in the file chooser, if we select cancel, will get following:

Traceback (most recent call last):
  File "/home/jzhang/poky-master/bitbake/lib/bb/ui/hob.py", line 404, in open_cb
    self.model.load_image_rep(rep)
  File "/home/jzhang/poky-master/bitbake/lib/bb/ui/crumbs/tasklistmodel.py", line 298, in load_image_rep
    packages = rep.userpkgs.split(" ")
AttributeError: 'NoneType' object has no attribute 'split'
Comment 1 Joshua Lock - Disabled 2011-11-01 11:55:59 UTC
Fix is in master

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e9f66d981ad7ac726988842490192b9b19920445

Also needs merging to Edison branch
Comment 2 Richard Purdie 2011-11-25 03:01:55 UTC
Marking as fixed, we'll consider the backport to edison as part of its release process.