[Toaster] toaster settings failure
Daiane Angolini
daiane.list at gmail.com
Mon Sep 4 10:40:46 PDT 2017
On Mon, Sep 4, 2017 at 2:37 AM, Reyna, David <david.reyna at windriver.com> wrote:
> Hi Again,
>
>> When I use poky:pyro ...
>
> If you look at the tail of the log "toaster_runbuilds.log" where you started Toaster, you will probably see an error of this form:
>
> b"FATAL: If '--server-only' is defined, we must set the servertype as 'xmlrpc'.\n\n"
>
> What this means is that Toaster from current master cannot really do "pyro" builds. This is because of recent large changes in the bitbake server code. You will need to use the Toaster from the actual "pyro" branch for this. Since "pyro" is going to be removed from Toaster master in a week or so in favor of YP-2.5, this should be a short term problem for master.
>
I cloned poky:pyro again few hours ago (in another machine) and now it
works great! Thanks a lot!
When you say Toaster is going to be removed from master in favor of
YP-2.5, do you mean YP Rocko (2.4) will NOT have Toaster support at
all?
Best Regards,
Daiane
> Hope this helps!
> David
>
>
> -----Original Message-----
> From: Reyna, David
> Sent: Sunday, September 03, 2017 4:14 PM
> To: 'Daiane Angolini'; toaster at yoctoproject.org
> Subject: RE: [Toaster] toaster settings failure
>
> Hi Daiane,
>
>> Failure while trying to setup toaster: name 'ToasterSetting' is not defined
>
> That was my mistake. I made a recent commit but missed a line.
>
> Here is the quick fix. In the file "bitbake/lib/toaster/orm/management/commands/lsupdates.py" add this line near the top:
>
> from orm.models import ToasterSetting
>
> I will have a formal patch posted soon.
>
>> When I use poky:pyro ...
>
> I will look into the "poky:pyro" issue.
>
>> Am I missing some step?
>
> It looks correct. I usually do:
>
> $ bash
> $ source oe-init-build-env
> $ source toaster start webport=0.0.0.0:8000
> ... use Toaster ...
> $ source toaster stop
> $ exit # return to a clean environment
>
> - David
>
>
> -----Original Message-----
> From: toaster-bounces at yoctoproject.org [mailto:toaster-bounces at yoctoproject.org] On Behalf Of Daiane Angolini
> Sent: Sunday, September 03, 2017 2:57 PM
> To: toaster at yoctoproject.org
> Subject: [Toaster] toaster settings failure
>
> 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
> --
> _______________________________________________
> toaster mailing list
> toaster at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/toaster
More information about the toaster
mailing list