Not sure this is the best solution, but I solved same issue using latest bitbake 1.10.1 downloaded from

http://download.berlios.de/bitbake/bitbake-1.10.1.tar.gz


James Ronald wrote:
Jaap de Jong <jaap.dejong <at> nedap.com> writes:

I'm probably totally stupid...
What am doing wrong?
(I'm working on a fresh unstable branch)
When I bitbake I get:

MACHINE=at91sam9263ek  bitbake u-boot
Traceback (most recent call last):
File "/media/OpenEmbedded/unstable/bitbake/bin/bitbake", line 143, in <module>
     main()
File "/media/OpenEmbedded/unstable/bitbake/bin/bitbake", line 123, in main
     cooker.parseConfiguration()
File "/media/OpenEmbedded/unstable/bitbake/lib/bb/cooker.py", line 68, in parseConfiguration
     self.parseConfigurationFile( os.path.join( "conf", "bitbake.conf" ) )
File "/media/OpenEmbedded/unstable/bitbake/lib/bb/cooker.py", line 402, in parseConfigurationFile
     bb.fetch.fetcher_init(self.configuration.data)
File "/media/OpenEmbedded/unstable/bitbake/lib/bb/fetch/__init__.py", line 93, in fetcher_init
     pd = persist_data.PersistData(d)
File "/media/OpenEmbedded/unstable/bitbake/lib/bb/persist_data.py", line 52, in __init__
     bb.mkdirhier(self.cachedir)
File "/media/OpenEmbedded/unstable/bitbake/lib/bb/__init__.py", line 133, in mkdirhier
     debug(3, "mkdirhier(%s)" % dir)
File "/media/OpenEmbedded/unstable/bitbake/lib/bb/__init__.py", line 103, in debug
     bb.msg.debug(lvl, None, ''.join(args))
File "/media/OpenEmbedded/unstable/bitbake/lib/bb/msg.py", line 100, in debug
     bb.event.fire(MsgDebug(msg, None))
File "/media/OpenEmbedded/unstable/bitbake/lib/bb/event.py", line 67, in fire
     if tmpHandler(event) == Handled:
   File "tmpHandler(e)", line 8, in tmpHandler
NameError: global name 'msg' is not defined


I'm getting the exact same error. I'm new to OE and just going through the Getting started wiki entry. Ubuntu 10.04 installing bitbake via apt-get install bitbake.

bitbake --version BitBake Build Tool Core version 1.8.18, bitbake version 1.8.18 OE is current as of a few minutes ago.

j...@ubuntu-xpc:~/oe/build$ bitbake nano
Traceback (most recent call last):
  File "/usr/bin/bitbake", line 143, in <module>
    main()
  File "/usr/bin/bitbake", line 123, in main
    cooker.parseConfiguration()
File "/usr/lib/pymodules/python2.6/bb/cooker.py", line 67, in parseConfiguration
    self.parseConfigurationFile( os.path.join( "conf", "bitbake.conf" ) )
File "/usr/lib/pymodules/python2.6/bb/cooker.py", line 401, in parseConfigurationFile
    bb.fetch.fetcher_init(self.configuration.data)
File "/usr/lib/pymodules/python2.6/bb/fetch/__init__.py", line 93, in fetcher_init
    pd = persist_data.PersistData(d)
  File "/usr/lib/pymodules/python2.6/bb/persist_data.py", line 52, in __init__
    bb.mkdirhier(self.cachedir)
  File "/usr/lib/pymodules/python2.6/bb/__init__.py", line 133, in mkdirhier
    debug(3, "mkdirhier(%s)" % dir)
  File "/usr/lib/pymodules/python2.6/bb/__init__.py", line 103, in debug
    bb.msg.debug(lvl, None, ''.join(args))
  File "/usr/lib/pymodules/python2.6/bb/msg.py", line 100, in debug
    bb.event.fire(MsgDebug(msg, None))
  File "/usr/lib/pymodules/python2.6/bb/event.py", line 67, in fire
    if tmpHandler(event) == Handled:
  File "tmpHandler(e)", line 8, in tmpHandler
NameError: global name 'msg' is not defined

- Jim

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to