| Summary: | [HOB] lots of error printed when existing from configuration save dialog | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Hob | Reporter: | Jiajun Xu <jiajun.xu> |
| Component: | hob | Assignee: | Joshua Lock - Disabled <josh> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | High | CC: | jessica.zhang, lianhao.lu, liping.ke, poky.bs.watcher, poky.watcher, sgw |
| Version: | unspecified | ||
| Target Milestone: | 1.1 M2 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | Patch out for review | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
Fixed in BitBake master: 3412fbd6a16980e0fba7742c32675eea9d77d6c0 "lib/bb/ui/hob: don't error when dismissing save as dialog If the user decides to cancel the save as dialog we should not try and save regardless. Fixes [YOCTO #1220]" Verify with commit f974868cadf74d0cf8380b2c6a4152d2fa4590b5, the bug is fixed. |
Tree/Branch: Poky/Master Commit: d4132fa12885fc050313a5c9aa6903e4fa92c94f When clicking exit button of hob, it will prompt if you want to save customisations. If we choose yes and choose no in save configuration dialog, bitbake will print a lot of error log as below: ####### Traceback (most recent call last): File "/home/jxu49/osel/poky-hob/bitbake/lib/bb/ui/hob.py", line 91, in destroy_window self.quit() File "/home/jxu49/osel/poky-hob/bitbake/lib/bb/ui/hob.py", line 106, in quit self.save_recipe_file() File "/home/jxu49/osel/poky-hob/bitbake/lib/bb/ui/hob.py", line 315, in save_recipe_file rep.writeRecipe(self.save_path, self.model) File "/home/jxu49/osel/poky-hob/bitbake/lib/bb/ui/crumbs/tasklistmodel.py", line 68, in writeRecipe if os.path.exists(writepath): File "/usr/lib/python2.6/genericpath.py", line 18, in exists st = os.stat(path) TypeError: coercing to Unicode: need string or buffer, NoneType found #######