Bug 7000 - [1.5.4] Hob can not launch in BA
Summary: [1.5.4] Hob can not launch in BA
Status: VERIFIED FIXED
Alias: None
Product: Runtime
Classification: Build System, Metadata & Runtime
Component: build-appliance (show other bugs)
Version: 1.5.4
Hardware: x86 Multiple
: Medium+ critical
Target Milestone: 1.5.4
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-11-26 05:47 UTC by Yi Zhao
Modified: 2014-12-02 09:32 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Used to work)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.