Bug 1270 - hob layer is broken
Summary: hob layer is broken
Status: RESOLVED OBSOLETE
Alias: None
Product: Hob
Classification: Build System, Metadata & Runtime
Component: hob (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Low minor
Target Milestone: 1.1
Assignee: Joshua Lock - Disabled
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks: 1271
  Show dependency tree
 
Reported: 2011-07-21 23:25 UTC by Jessica
Modified: 2011-08-08 13:40 UTC (History)
6 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-07-21 23:25:15 UTC
When I tried to add a layer in hob, first noticed all the packages are wiped out and in the command line, the following trace:

Traceback (most recent call last):
  File "/home/jzhang/poky-master/bitbake/lib/bb/ui/hob.py", line 267, in update_model
    self.model.set_selected_image(self.selected_image)
  File "/home/jzhang/poky-master/bitbake/lib/bb/ui/crumbs/tasklistmodel.py", line 517, in set_selected_image
    image_contents=True)
  File "/home/jzhang/poky-master/bitbake/lib/bb/ui/crumbs/tasklistmodel.py", line 395, in include_item
    name = self[item_path][self.COL_NAME]
TypeError: could not parse subscript as a tree path
Comment 1 Joshua Lock - Disabled 2011-07-22 09:52:09 UTC
I can't reproduce this here on Poky master with the meta-demo layer. Which layer were you adding? How did you add it?
Comment 2 Jessica 2011-07-22 10:01:31 UTC
I added meta-rt, I first using the layer menu under file, then used add layer under Layers Add Layers.  Now after clean up my layer mess and restart hob, I can't reproduce it either, so I'll lower the priority to low since now it ended into a sighting...btw, why we have layer item under File.  If possible, I'd like us to have one place to manipulate layer to avoid unnecessary complexity of code and lead to errors...
Comment 3 Jessica 2011-08-08 13:40:21 UTC
Seems can't reproduce the issue with latest hob