Bug 3319 - AttributeError: 'module' object has no attribute 'msg'
Summary: AttributeError: 'module' object has no attribute 'msg'
Status: VERIFIED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.4
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-10-22 13:58 UTC by Mihai Lindner
Modified: 2012-12-14 14:15 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mihai Lindner 2012-10-22 13:58:45 UTC
$ BBDEBUG=1 bitbake

Pseudo may be out of date, rebuilding pseudo before the main build
Traceback (most recent call last):
  File "/home/mihai/poky/bitbake/bin//bitbake", line 34, in <module>
    import bb
  File "/home/mihai/poky/bitbake/lib/bb/__init__.py", line 80, in <module>
    bb.msg.set_debug_level(level)
AttributeError: 'module' object has no attribute 'set_debug_level'
/home/mihai/poky/bitbake/lib/bb/event.py:104: 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.6/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/home/mihai/poky/bitbake/lib/bb/event.py", line 104, in print_ui_queue
    from bb.msg import BBLogFormatter
  File "/home/mihai/poky/bitbake/lib/bb/__init__.py", line 80, in <module>
    bb.msg.set_debug_level(level)
AttributeError: 'module' object has no attribute 'msg'
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/lib/python2.6/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/home/mihai/poky/bitbake/lib/bb/event.py", line 104, in print_ui_queue
    from bb.msg import BBLogFormatter
  File "/home/mihai/poky/bitbake/lib/bb/__init__.py", line 80, in <module>
    bb.msg.set_debug_level(level)
AttributeError: 'module' object has no attribute 'msg'
Comment 2 Mihai Lindner 2012-12-14 14:15:05 UTC
$ BBDEBUG=1 bitbake
Nothing to do.  Use 'bitbake world' to build everything, or run 'bitbake --help' for usage information.
DEBUG: Removed the following variables from the environment: PSEUDO_BINDIR, GIT_PROXY_PORT, PSEUDO_LOCALSTATEDIR, PYTHONDONTWRITEBYTECODE, LESSOPEN, SSH_CLIENT, CVS_RSH, PSEUDO_LIBDIR, LD_LIBRARY_PATH, LANG, HISTCONTROL, SHLVL, G_BROKEN_FILENAMES, HISTSIZE, EDITOR, BBFETCH2, LD_PRELOAD, VISUAL, _, PSEUDO_OPTS, SSH_CONNECTION, BUILDDIR, SOCKS5_SERVER, SSH_TTY, LC_COLLATE, HOSTNAME, PSEUDO_PREFIX, MAIL, LS_COLORS, GIT_PROXY_HOST, BBDEBUG
...

It's fine now.