Hello, I'm Dhanya,currently working to build an image using toaster. But the image is getting build successfully but at the last in toaster message i'm getting the error as " *ERROR: Target_File matching query does not exist*." The steps i followed is: $ sudo apt install gawk wget git diffstat unzip texinfo gcc build-essential chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev python3-subunit mesa-common-dev zstd liblz4-tool file locales
$ sudo locale-gen en_US.UTF-8 $ mkdir distro $ cd distro $ repo init -u https://github.com/nxp-qoriq/yocto-sdk.git -b mickledore -m ls-6.1.55-2.2.0_distro.xml $ repo sync $ source distro-setup-env -m ls1012afrwy $ source toaster start $ bitbake ls-image-main This above steps i followed because it for my layerscape board.But i tried to build core-image-minimal from poky directory as well but still i got the same error. Error is: ERROR: Target_File matching query does not exist. Traceback (most recent call last): File "/home/dhanyalakshmi/distro/sources/poky/bitbake/lib/bb/ui/toasterui.py", line 408, in main buildinfohelper.store_target_package_data(event) File "/home/dhanyalakshmi/distro/sources/poky/bitbake/lib/bb/ui/buildinfohelper.py", line 1364, in store_target_package_data self.orm_wrapper.save_target_file_information(self.internal_state['build'], target, filedata) File "/home/dhanyalakshmi/distro/sources/poky/bitbake/lib/bb/ui/buildinfohelper.py", line 562, in save_target_file_information parent_obj = Target_File.objects.get(target = target_obj, path = parent_path, inodetype = Target_File.ITYPE_DIRECTORY) File "/home/dhanyalakshmi/.local/lib/python3.10/site-packages/django/db/models/manager.py", line 85, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/home/dhanyalakshmi/.local/lib/python3.10/site-packages/django/db/models/query.py", line 435, in get raise self.model.DoesNotExist( orm.models.Target_File.DoesNotExist: Target_File matching query does not exist. ERROR: expected string or bytes-like object Traceback (most recent call last): File "/home/dhanyalakshmi/distro/sources/poky/bitbake/lib/bb/ui/toasterui.py", line 362, in main buildinfohelper.scan_image_artifacts() File "/home/dhanyalakshmi/distro/sources/poky/bitbake/lib/bb/ui/buildinfohelper.py", line 1782, in scan_image_artifacts real_image_name = re.sub(r'^defaultpkgname', image_target.target, File "/usr/lib/python3.10/re.py", line 209, in sub return _compile(pattern, flags).sub(repl, string, count) TypeError: expected string or bytes-like object WARNING: Return value is 2 I'm unable to understand this,like is a problem with toaster itself? Is their anything that i could do to resolve this issue. Does this relates to image not getting build successfully? Please help me to resolve this Hoping for the reply. Thank You.
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#63129): https://lists.yoctoproject.org/g/yocto/message/63129 Mute This Topic: https://lists.yoctoproject.org/mt/106150470/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-