All of lore.kernel.org
 help / color / mirror / Atom feed
* ERROR: Unable to connect to bitbake server, or start one
       [not found] <1503588276.608193.20925.31663@mail.rambler.ru>
@ 2017-08-24 15:24 ` Gera Pesikoff
  2017-08-24 16:46   ` Leonardo Sandoval
  0 siblings, 1 reply; 3+ messages in thread
From: Gera Pesikoff @ 2017-08-24 15:24 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 958 bytes --]

Hi
I started to study bitbake and decided to repeat the BitBake Hello World from the
manual
(http://www.yoctoproject.org/docs/2.3.1/bitbake-user-manual/bitbake-user-manual.html#bitbake-hello-world).
I do everything according to the instructions, but when I run the bitbake
command, I get the following output:

NOTE: Retrying server connection... (Traceback (most recent call last):
File "/home/leonid/test/bitbake/lib/bb/main.py", line 432, in setup_bitbake
topdir, lock = lockBitbake()
File "/home/leonid/test/bitbake/lib/bb/main.py", line 484, in lockBitbake
lockfile = topdir + "/bitbake.lock"
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
)

This is repeated five times, and at the end:

ERROR: Unable to connect to bitbake server, or start one

Could someone please tell me what the problem is and what I can do about it?
I'm using Kubuntu 17.04 and clear Ubuntu 17.04. BitBake Build Tool Core version
1.35.0

[-- Attachment #2: Type: text/html, Size: 1045 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ERROR: Unable to connect to bitbake server, or start one
  2017-08-24 15:24 ` ERROR: Unable to connect to bitbake server, or start one Gera Pesikoff
@ 2017-08-24 16:46   ` Leonardo Sandoval
  0 siblings, 0 replies; 3+ messages in thread
From: Leonardo Sandoval @ 2017-08-24 16:46 UTC (permalink / raw)
  To: Gera Pesikoff; +Cc: yocto

On Thu, 2017-08-24 at 18:24 +0300, Gera Pesikoff wrote:
> Hi
> I started to study bitbake and decided to repeat the BitBake Hello
> World from the manual
> (http://www.yoctoproject.org/docs/2.3.1/bitbake-user-manual/bitbake-user-manual.html#bitbake-hello-world).
> I do everything according to the instructions, but when I run the
> bitbake command, I get the following output:
> 
> NOTE: Retrying server connection... (Traceback (most recent call
> last):
>   File "/home/leonid/test/bitbake/lib/bb/main.py", line 432, in
> setup_bitbake
>     topdir, lock = lockBitbake()
>   File "/home/leonid/test/bitbake/lib/bb/main.py", line 484, in
> lockBitbake
>     lockfile = topdir + "/bitbake.lock"
> TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
> )
> 
> This is repeated five times, and at the end:
> 
> ERROR: Unable to connect to bitbake server, or start one

Are you running bitbake from the build folder (TOPDIR)?
> 
> Could someone please tell me what the problem is and what I can do
> about it?
> I'm using Kubuntu 17.04 and clear Ubuntu 17.04. BitBake Build Tool
> Core version 1.35.0
> 
> -- 
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto




^ permalink raw reply	[flat|nested] 3+ messages in thread

* ERROR: Unable to connect to bitbake server, or start one
       [not found] <1503656551.492470.18944.43610@mail.rambler.ru>
@ 2017-08-25 10:22 ` Gera Pesikoff
  0 siblings, 0 replies; 3+ messages in thread
From: Gera Pesikoff @ 2017-08-25 10:22 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1564 bytes --]

I figured out that the new function findTopdir (Submitted on July 18, 2017) does
not handle the errors of the absence of the BBPATH variable and path to the
conf/bblayers.conf in BBATH. It just returns None.

  On Thu, 2017-08-24 at 18:24 +0300, Gera Pesikoff wrote:
  > Hi
  > I started to study bitbake and decided to repeat the BitBake Hello
  > World from the manual
  > (http://www.yoctoproject.org/docs/2.3.1/bitbake-user-manual/bitbake-user-manual.html#bitbake-hello-world).
  > I do everything according to the instructions, but when I run the
  > bitbake command, I get the following output:
  >
  > NOTE: Retrying server connection... (Traceback (most recent call
  > last):
  > File "/home/leonid/test/bitbake/lib/bb/main.py", line 432, in
  > setup_bitbake
  > topdir, lock = lockBitbake()
  > File "/home/leonid/test/bitbake/lib/bb/main.py", line 484, in
  > lockBitbake
  > lockfile = topdir + "/bitbake.lock"
  > TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
  > )
  >
  > This is repeated five times, and at the end:
  >
  > ERROR: Unable to connect to bitbake server, or start one

  Are you running bitbake from the build folder (TOPDIR)?
  >
  > Could someone please tell me what the problem is and what I can do
  > about it?
  > I'm using Kubuntu 17.04 and clear Ubuntu 17.04. BitBake Build Tool
  > Core version 1.35.0
  >
  > --
  > _______________________________________________
  > yocto mailing list
  > yocto@yoctoproject.org
  > https://lists.yoctoproject.org/listinfo/yocto

[-- Attachment #2: Type: text/html, Size: 3168 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-08-25 10:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1503588276.608193.20925.31663@mail.rambler.ru>
2017-08-24 15:24 ` ERROR: Unable to connect to bitbake server, or start one Gera Pesikoff
2017-08-24 16:46   ` Leonardo Sandoval
     [not found] <1503656551.492470.18944.43610@mail.rambler.ru>
2017-08-25 10:22 ` Gera Pesikoff

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.