Im trying to setup bitbake tool and trying to follow the tutorial
https://www.yoctoproject.org/docs/1.8/bitbake-user-manual/bitbake-user-manual.html#bitbake-examples
Now when I run the bitbake command I get the following error,
p@p-ubuntu:~/ba/bitbake$ bitbake
NOTE: Retrying server connection... (Traceback (most recent call last):
File "/home/p/ba/bitbake/lib/bb/main.py", line 428, in setup_bitbake
topdir, lock = lockBitbake()
File "/home/p/ba/bitbake/lib/bb/main.py", line 480, in lockBitbake
lockfile = topdir + "/bitbake.lock"
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
)
NOTE: Retrying server connection... (Traceback (most recent call last):
File "/home/p/ba/bitbake/lib/bb/main.py", line 428, in setup_bitbake
topdir, lock = lockBitbake()
File "/home/p/ba/bitbake/lib/bb/main.py", line 480, in lockBitbake
lockfile = topdir + "/bitbake.lock"
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
How do I start the bitbake server?
I had the same problem after I canceled a bitbake-process harshly (ctrl-c).
After removing the file bitbake.lock in the build-folder, bitbake worked again as intended.
rm bitbake.lock