Bug 7000

Summary: [1.5.4] Hob can not launch in BA
Product: [Build System, Metadata & Runtime] Runtime Reporter: Yi Zhao <yi.zhao>
Component: build-applianceAssignee: Saul Wold <sgw>
Status: VERIFIED FIXED QA Contact:
Severity: critical    
Priority: Medium+ CC: alexandru.c.georgescu, ke.zou, richard.purdie, sgw, yi.zhao
Version: 1.5.4   
Target Milestone: 1.5.4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: No (bug/feature does not impact docs)

Description Yi Zhao 2014-11-26 05:47:27 UTC
Image location: http://autobuilder.yoctoproject.org/pub/releases/yocto-1.5.4.rc1

Git rev: dora/de14d21bc6633ddeb810cef051b91ee322276496 

The Hob doesn't launch after BA boot up.

When ran "hob" command in terminal, I got the following error:
##################################
Traceback (most recent call last):
  File "/home/builder/poky/bitbake/bin/bitbake", line 34, in <module>
    import bb
  File "/home/builder/poky/bitbake/lib/bb/__init__.py", line 77, in <module>
    from bb import fetch2 as fetch
  File "/home/builder/poky/bitbake/lib/bb/fetch2/__init__.py", line 1564, in <module>
    from . import wget
  File "/home/builder/poky/bitbake/lib/bb/fetch2/wget.py", line 40, in <module>
    from   bs4 import BeautifulSoup
  File "/home/builder/poky/bitbake/lib/bs4/__init__.py", line 30, in <module>
    from .builder import builder_registry, ParserRejectedMarkup
  File "/home/builder/poky/bitbake/lib/bs4/builder/__init__.py", line 4, in <module>
    from bs4.element import (
  File "/home/builder/poky/bitbake/lib/bs4/element.py", line 5, in <module>
    from bs4.dammit import EntitySubstitution
  File "/home/builder/poky/bitbake/lib/bs4/dammit.py", line 11, in <module>
    from htmlentitydefs import codepoint2name
ImportError: No module named htmlentitydefs
/home/builder/poky/bitbake/lib/bb/event.py:106: RuntimeWarning: Parent module 'bb' not found while handling absolute import
  from bb.msg import BBLogFormatter
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/home/builder/poky/bitbake/lib/bb/event.py", line 106, in print_ui_queue
    from bb.msg import BBLogFormatter
  File "/home/builder/poky/bitbake/lib/bb/__init__.py", line 77, in <module>
    from bb import fetch2 as fetch
  File "/home/builder/poky/bitbake/lib/bb/fetch2/__init__.py", line 39, in <module>
    from bb import data
ImportError: cannot import name data
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/home/builder/poky/bitbake/lib/bb/event.py", line 106, in print_ui_queue
    from bb.msg import BBLogFormatter
  File "/home/builder/poky/bitbake/lib/bb/__init__.py", line 77, in <module>
    from bb import fetch2 as fetch
  File "/home/builder/poky/bitbake/lib/bb/fetch2/__init__.py", line 39, in <module>
    from bb import data
ImportError: cannot import name data
#########################
Comment 1 Saul Wold 2014-11-27 00:17:56 UTC
This looks like it's using a newer version of Bitbake?
Comment 2 Saul Wold 2014-11-29 19:47:02 UTC
I realized this is an issue with the way the autobuilder was set up, I am 
rebuilding the Build Appliance with Dora and DEFAULT setting.  I will send 
email with an updated build appliance image
Comment 3 Saul Wold 2014-12-01 16:58:55 UTC
Please use this autobuilder image, it should contain the correct YP code.

http://autobuilder.yoctoproject.org/pub/build-appliance/20141129-1/
Comment 4 Yi Zhao 2014-12-02 09:32:37 UTC
Verified with the new build. No errors found.