无法连接到Bitbake服务器 [英] Unable to connect to bitbake server

查看:1961
本文介绍了无法连接到Bitbake服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试设置bitbake工具并尝试按照本教程进行操作

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

现在,当我运行bitbake命令时,出现以下错误,

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?

推荐答案

在我彻底取消了Bitbake进程(ctrl-c)之后,我遇到了同样的问题.

I had the same problem after I canceled a bitbake-process harshly (ctrl-c).

在构建文件夹中删除文件 bitbake.lock 后,bitbake再次按预期工作.

After removing the file bitbake.lock in the build-folder, bitbake worked again as intended.

rm bitbake.lock

这篇关于无法连接到Bitbake服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆