[Toaster] toaster settings failure

Daiane Angolini daiane.list at gmail.com
Sun Sep 3 14:56:53 PDT 2017


Hi,


I'm trying to test toaster, but I've been facing problems with both
master and pyro.

When I use poky:pyro, choose pyro for the first project, I cannot
really got to the end of project creation.

When I use poky:master, I face a settings failure, and if I change the
machine to "qemuarm" the build will never leave the "Tasks starting...
" state.

I've been using the following commands to start toaster:
pip3 install --user -r bitbake/toaster-requirements.txt
source oe-init-build-env
source toaster start

Am I missing some step?

How can I "configure" toaster to get a ToasterSettings defined?

Log on master:
----
Build configuration saved
Loading default settings
Installed 7 object(s) from 1 fixture(s)
Loading poky configuration
Installed 28 object(s) from 1 fixture(s)
Importing custom settings if present

Fetching information from the layer index, please wait.
You can re-update any time later by running
bitbake/lib/toaster/manage.py lsupdates

Failure while trying to setup toaster: name 'ToasterSetting' is not defined
Traceback (most recent call last):
  File "/media/disco2/poky/bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py",
line 117, in _verify_be
    call_command("lsupdates")
  File "/home/user/.local/lib/python3.5/site-packages/django/core/management/__init__.py",
line 120, in call_command
    return command.execute(*args, **defaults)
  File "/home/user/.local/lib/python3.5/site-packages/django/core/management/base.py",
line 445, in execute
    output = self.handle(*args, **options)
  File "/media/disco2/poky/bitbake/lib/toaster/orm/management/commands/lsupdates.py",
line 334, in handle
    self.update()
  File "/media/disco2/poky/bitbake/lib/toaster/orm/management/commands/lsupdates.py",
line 84, in update
    if ToasterSetting.objects.filter(name='CUSTOM_LAYERINDEX_SERVER').count()
== 1:
NameError: name 'ToasterSetting' is not defined
Starting webserver...
Toaster development webserver started at http://localhost:8000

You can now run 'bitbake <target>' on the command line and monitor
your build in Toaster.
You can also use a Toaster project to configure and run a build.
----

I don't know how to have access other logs from toaster, if something
else is needed them please let me know how to take them.

Thanks a lot in advance,
Daiane


More information about the toaster mailing list