<p>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. </p><blockquote style="border-left: 1px solid rgb(73, 78, 89); margin: 10px; padding: 10px;"><!-- Hostname: benito104.mail.rambler.ru --><div class="messageBodyContainer isInnerPart" id="part1"><div class="messageBody isPlainText">On Thu, 2017-08-24 at 18:24 +0300, Gera Pesikoff wrote:<br> > Hi<br> > I started to study bitbake and decided to repeat the BitBake Hello<br> > World from the manual<br> > (<a href="http://www.yoctoproject.org/docs/2.3.1/bitbake-user-manual/bitbake-user-manual.html#bitbake-hello-world" target="_blank" title="http://www.yoctoproject.org/docs/2.3.1/bitbake-user-manual/bitbake-user-manual.html#bitbake-hello-world" data-mce-href="m/redirect?url=http%3A//www.yoctoproject.org/docs/2.3.1/bitbake-user-manual/bitbake-user-manual.html%23bitbake-hello-world&hash=a7e2a203f5ddf8d1c8c1468e34c6740b">http://www.yoctoproject.org/docs/2.3.1/bitbake-user-manual/bitbake-user-manual.html#bitbake-hello-world</a>).<br> > I do everything according to the instructions, but when I run the<br> > bitbake command, I get the following output:<br> > <br> > NOTE: Retrying server connection... (Traceback (most recent call<br> > last):<br> >    File "/home/leonid/test/bitbake/lib/bb/<a href="http://main.py" target="_blank" title="main.py" data-mce-href="m/redirect?url=http%3A//main.py&hash=42ece8d7f7a1857fbdd7da1899259ed8">main.py</a>", line 432, in<br> > setup_bitbake<br> >      topdir, lock = lockBitbake()<br> >    File "/home/leonid/test/bitbake/lib/bb/<a href="http://main.py" target="_blank" title="main.py" data-mce-href="m/redirect?url=http%3A//main.py&hash=42ece8d7f7a1857fbdd7da1899259ed8">main.py</a>", line 484, in<br> > lockBitbake<br> >      lockfile = topdir + "/bitbake.lock"<br> > TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'<br> > )<br> > <br> > This is repeated five times, and at the end:<br> > <br> > ERROR: Unable to connect to bitbake server, or start one<br> <br> Are you running bitbake from the build folder (TOPDIR)?<br> > <br> > Could someone please tell me what the problem is and what I can do<br> > about it?<br> > I'm using Kubuntu 17.04 and clear Ubuntu 17.04. BitBake Build Tool<br> > Core version 1.35.0<br> > <br> > -- <br> > _______________________________________________<br> > yocto mailing list<br> > <a href="/#/compose/to=yocto%40yoctoproject.org" title="yocto@yoctoproject.org" data-mce-href="#/compose/to=yocto%40yoctoproject.org">yocto@yoctoproject.org</a><br> > <a href="https://lists.yoctoproject.org/listinfo/yocto" target="_blank" title="https://lists.yoctoproject.org/listinfo/yocto" data-mce-href="m/redirect?url=https%3A//lists.yoctoproject.org/listinfo/yocto&hash=b2da024ef6083836e279441d6ad7cfc7">https://lists.yoctoproject.org/listinfo/yocto</a><br> <br> <br></div></div></blockquote>