| Summary: | Switching package format in hob is unstable | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Hob | Reporter: | Jiajun Xu <jiajun.xu> |
| Component: | hob | Assignee: | Joshua Lock - Disabled <josh> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | High | CC: | jessica.zhang, jiajun.xu, poky.bs.watcher, poky.watcher |
| Version: | unspecified | ||
| Target Milestone: | 1.1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Jiajun Xu
2011-09-23 00:30:17 UTC
Any hint as to whether this is strictly a Hob issue? Have from scratch builds with ipk and deb been successfully run from the command line UI? I manage to reproduce this, I think. If I switch the package format from the UI and click 'Bake' I see:
joshual@scimitar:~/Projects/Yocto/poky/build [master]
$ hob
Traceback (most recent call last):
File "/home/joshual/Projects/Yocto/poky/bitbake/lib/bb/ui/hob.py", line 473, in bake_clicked_cb
self.handler.build_targets(image, self.configurator)
File "/home/joshual/Projects/Yocto/poky/bitbake/lib/bb/ui/crumbs/hobeventhandler.py", line 267, in build_targets
if self.image_dir in bbpath.split(":"):
AttributeError: 'bool' object has no attribute 'split'
Traceback (most recent call last):
File "/home/joshual/Projects/Yocto/poky/bitbake/lib/bb/ui/hob.py", line 473, in bake_clicked_cb
self.handler.build_targets(image, self.configurator)
File "/home/joshual/Projects/Yocto/poky/bitbake/lib/bb/ui/crumbs/hobeventhandler.py", line 267, in build_targets
if self.image_dir in bbpath.split(":"):
AttributeError: 'bool' object has no attribute 'split'
For some reason the getVariable command sometimes returns some Boolean value when requesting the BBFILES and BBPATH variables.
I'm testing a patch to get the values of these variables at handler instantiation and store them as member values instead of requesting them of the server for each build.
|