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 #######
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]"
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=20e820883927514f1b66288265dd952af5dd5e19
Verify with commit f974868cadf74d0cf8380b2c6a4152d2fa4590b5, the bug is fixed.