If a layer "openembedded-core" already exists in the system and we get another one added externally we currently fail to know which layer to update from the info from the layer index. 2015-12-15 11:42:28,368 WARNING ZZZZ: urllib2.urlopen: http://layers.openembedded.org/layerindex/api/layerItems/ Failure while trying to import the toaster config file /var/www/bia/yocto/poky/meta-yocto/conf/toasterconf.json: get() returned more than one Layer -- it returned 2! Traceback (most recent call last): File "/var/www/bia/toaster/poky/bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py", line 114, in _verify_be call_command("lsupdates") File "/var/www/bia/toaster/venv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 120, in call_command return command.execute(*args, **defaults) File "/var/www/bia/toaster/venv/local/lib/python2.7/site-packages/django/core/management/base.py", line 445, in execute output = self.handle(*args, **options) File "/var/www/bia/toaster/venv/local/lib/python2.7/site-packages/django/core/management/base.py", line 661, in handle return self.handle_noargs(**options) File "/var/www/bia/toaster/poky/bitbake/lib/toaster/orm/management/commands/lsupdates.py", line 12, in handle_noargs ls.update() File "/var/www/bia/toaster/poky/bitbake/lib/toaster/orm/models.py", line 948, in update oe_core_l = Layer.objects.get(name=oe_core_layer) File "/var/www/bia/toaster/venv/local/lib/python2.7/site-packages/django/db/models/manager.py", line 127, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/var/www/bia/toaster/venv/local/lib/python2.7/site-packages/django/db/models/query.py", line 338, in get (self.model._meta.object_name, num) MultipleObjectsReturned: get() returned more than one Layer -- it returned 2!
Not sure how to reproduce this one any more. Will re-open if it crops up again.