Skip to content

Instantly share code, notes, and snippets.

@bartosh
Created September 21, 2015 07:38
Show Gist options
  • Save bartosh/7d391e75455d3bfbefe7 to your computer and use it in GitHub Desktop.
Save bartosh/7d391e75455d3bfbefe7 to your computer and use it in GitHub Desktop.
ERROR: Target_File matching query does not exist.
Traceback (most recent call last):
File "/home/ed/git/yocto/poky/bitbake/lib/bb/ui/toasterui.py", line 285, in main
buildinfohelper.store_target_package_data(event)
File "/home/ed/git/yocto/poky/bitbake/lib/bb/ui/buildinfohelper.py", line 1090, in store_target_package_data
self.orm_wrapper.save_target_file_information(self.internal_state['build'], target, filedata)
File "/home/ed/git/yocto/poky/bitbake/lib/bb/ui/buildinfohelper.py", line 364, in save_target_file_information
parent_obj = self._cached_get(Target_File, target = target_obj, path = parent_path, inodetype = Target_File.ITYPE_DIRECTORY)
File "/home/ed/git/yocto/poky/bitbake/lib/bb/ui/buildinfohelper.py", line 115, in _cached_get
vars(self)[dictname][key] = clazz.objects.get(**kwargs)
File "/usr/lib/python2.7/site-packages/django/db/models/manager.py", line 151, in get
return self.get_queryset().get(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/django/db/models/query.py", line 310, in get
self.model._meta.object_name)
DoesNotExist: Target_File matching query does not exist.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment