Angstrom-distribution / setup-scripts

Helper scripts for setting an Angstrom development environment
http://www.angstrom-distribution.org/building-angstrom
MIT License
84 stars 108 forks source link

bitbake virtual/kernel not working #47

Closed stone-thor closed 9 years ago

stone-thor commented 9 years ago

Checked out branch: angstrom-v2014.06-yocto1.6
Linux version / distro: openSUSE 13.2 (i586) python version: Python 2.7.8

Traceback (most recent call last): File "/home/ths/Projekte/linux/Angström/setup-scripts/sources/bitbake/bin/bitbake", line 34, in import bb File "/home/ths/Projekte/linux/Angström/setup-scripts/sources/bitbake/lib/bb/init.py", line 77, in from bb import fetch2 as fetch File "/home/ths/Projekte/linux/Angström/setup-scripts/sources/bitbake/lib/bb/fetch2/init.py", line 39, in from bb import data File "/home/ths/Projekte/linux/Angström/setup-scripts/sources/bitbake/lib/bb/data.py", line 48, in from bb import data_smart File "/home/ths/Projekte/linux/Angström/setup-scripts/sources/bitbake/lib/bb/data_smart.py", line 35, in import bb, bb.codeparser File "/home/ths/Projekte/linux/Angström/setup-scripts/sources/bitbake/lib/bb/codeparser.py", line 7, in from pysh import pyshyacc, pyshlex, sherrors File "/home/ths/Projekte/linux/Angström/setup-scripts/sources/bitbake/lib/bb/pysh/pyshyacc.py", line 650, in import pyshtables File "/home/ths/Projekte/linux/Angström/setup-scripts/sources/bitbake/lib/bb/pysh/pyshtables.py", line 2 SyntaxError: Non-ASCII character '\xc3' in file /home/ths/Projekte/linux/Angström/setup-scripts/sources/bitbake/lib/bb/pysh/pyshtables.py on line 2, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details /home/ths/Projekte/linux/Angström/setup-scripts/sources/bitbake/lib/bb/event.py:109: 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/ths/Projekte/linux/Angström/setup-scripts/sources/bitbake/lib/bb/event.py", line 109, in print_ui_queue from bb.msg import BBLogFormatter File "/home/ths/Projekte/linux/Angström/setup-scripts/sources/bitbake/lib/bb/init.py", line 77, in from bb import fetch2 as fetch File "/home/ths/Projekte/linux/Angström/setup-scripts/sources/bitbake/lib/bb/fetch2/init.py", line 39, in from bb import data File "/home/ths/Projekte/linux/Angström/setup-scripts/sources/bitbake/lib/bb/data.py", line 48, in from bb import data_smart File "/home/ths/Projekte/linux/Angström/setup-scripts/sources/bitbake/lib/bb/data_smart.py", line 35, in import bb, bb.codeparser File "/home/ths/Projekte/linux/Angström/setup-scripts/sources/bitbake/lib/bb/codeparser.py", line 7, in from pysh import pyshyacc, pyshlex, sherrors File "/home/ths/Projekte/linux/Angström/setup-scripts/sources/bitbake/lib/bb/pysh/pyshyacc.py", line 650, in import pyshtables File "/home/ths/Projekte/linux/Angström/setup-scripts/sources/bitbake/lib/bb/pysh/pyshtables.py", line 2 SyntaxError: Non-ASCII character '\xc3' in file /home/ths/Projekte/linux/Angström/setup-scripts/sources/bitbake/lib/bb/pysh/pyshtables.py on line 2, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details 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/ths/Projekte/linux/Angström/setup-scripts/sources/bitbake/lib/bb/event.py", line 109, in print_ui_queue from bb.msg import BBLogFormatter File "/home/ths/Projekte/linux/Angström/setup-scripts/sources/bitbake/lib/bb/init.py", line 77, in from bb import fetch2 as fetch File "/home/ths/Projekte/linux/Angström/setup-scripts/sources/bitbake/lib/bb/fetch2/init.py", line 39, in from bb import data File "/home/ths/Projekte/linux/Angström/setup-scripts/sources/bitbake/lib/bb/data.py", line 48, in from bb import data_smart File "/home/ths/Projekte/linux/Angström/setup-scripts/sources/bitbake/lib/bb/data_smart.py", line 35, in import bb, bb.codeparser File "/home/ths/Projekte/linux/Angström/setup-scripts/sources/bitbake/lib/bb/codeparser.py", line 7, in from pysh import pyshyacc, pyshlex, sherrors File "/home/ths/Projekte/linux/Angström/setup-scripts/sources/bitbake/lib/bb/pysh/pyshyacc.py", line 650, in import pyshtables File "/home/ths/Projekte/linux/Angström/setup-scripts/sources/bitbake/lib/bb/pysh/pyshtables.py", line 2 SyntaxError: Non-ASCII character '\xc3' in file /home/ths/Projekte/linux/Angström/setup-scripts/sources/bitbake/lib/bb/pysh/pyshtables.py on line 2, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

koenkooi commented 9 years ago

I strongly suspect it chokes on the umlaut, try using directory name with only ascii chars.

stone-thor commented 9 years ago

fixed the problem :)

..... geez

thx a ton! have a nice christmas and a happy new year :santa: