Re: no such file or directory

Quentin Schulz

On Fri, Sep 25, 2020 at 08:12:11AM -0700, Bel Hadj Salem Talel wrote:
Hi Community,

I have a python module which I downloaded from github containing a as all python modules.
When I create a recipe with devtool it compiles correctly with no problem, but when I copy paste the same recipe source from workspace recipes to an official meta recipe I got this error :

can't open file '': [Errno 2] No such file or directory
Here is the recipe by devtool:


SUMMARY = "Wirepas gateway transport service that connects the local dbus to a remote MQTT broker."
LICENSE = "Apache"
LIC_FILES_CHKSUM = "file://LICENSE;md5=cb6bb17b0d0cca188339074207e9f4d8"
SRC_URI = "file:///media/talel/data/multigate/multigate/meta-wirepas/recipes-wirepas/wirepas-gateway/files/wirepas_gateway-${PV}/"
If your recipe is in:
and is in:
just put:
SRC_URI = "file://wirepas_gateway-${PN}/"

I'd suggest putting your .zip file in:
(note the missing files directory), in which case, your SRC_URI would
SRC_URI = "file://"

Also... This looks like you're taking code from ? Have you thought of using the git
repo directly? e.g. devtool add python3-wirepas-gateway

It'll use the latest commit in master but it's changeable, and it is way
more maintainable IMO compared to a tarball you manually download every
now and then.

Please do NOT use _ in your recipe filename, so rename your recipe to

Please answer to all when you're answering back to me or anyone in this
community, so people could benefit from the solution or discussion
around the issue,

Join to automatically receive all group messages.