[Toaster] Problem running toaster

Haridasan, Sujith Sujith_Haridasan at mentor.com
Fri Jul 17 01:26:53 PDT 2015


Hi David,

The fix is available in the fido branch of poky right? If so I will do a fresh checkout of poky and try to launch toaster again.

Thanks,
Sujith H

From: Reyna, David [mailto:david.reyna at windriver.com]
Sent: 17 July 2015 13:49
To: Haridasan, Sujith
Cc: toaster at yoctoproject.org
Subject: Re: Problem running toaster

Hi,

We found the issue, and it was in an upstream source that Toaster over reacted to. I believe that it fixed, in our contrib branch at least.

I suggest you retry with a fresh pull. And if that does not work we can pass you the git commit that you can cherry pick.

David

Sent from my iPhone

On Jul 17, 2015, at 12:08 AM, Haridasan, Sujith <Sujith_Haridasan at mentor.com<mailto:Sujith_Haridasan at mentor.com>> wrote:
Hi David,

Sorry for delayed response. Due to some work at office I couldn't dig too much into the issue. But I have another finding to share:

(venv)sujith at kdekid:~/MEL/mytest/poky$ bitbake/lib/toaster/manage.py lsupdates
Fetching branches
Fetching layer information
Cannot find layer version  OpenEmbedded (1) 65 fido
Traceback (most recent call last):
  File "bitbake/lib/toaster/manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/home/sujith/MEL/mytest/poky/venv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
    utility.execute()
  File "/home/sujith/MEL/mytest/poky/venv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/sujith/MEL/mytest/poky/venv/local/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/home/sujith/MEL/mytest/poky/venv/local/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute
    output = self.handle(*args, **options)
  File "/home/sujith/MEL/mytest/poky/venv/local/lib/python2.7/site-packages/django/core/management/base.py", line 415, in handle
    return self.handle_noargs(**options)
  File "/home/sujith/MEL/mytest/poky/bitbake/lib/toaster/orm/management/commands/lsupdates.py", line 12, in handle_noargs
    ls.update()
  File "/home/sujith/MEL/mytest/poky/bitbake/lib/toaster/orm/models.py", line 835, in update
    raise e
orm.models.DoesNotExist: Layer_Version matching query does not exist.
(venv)sujith at kdekid:~/MEL/mytest/poky$

At Mentor Graphics we have access to both git and http paths. You are correct this failure doesn't look like git pull error. By the way I am using Ubuntu 15.04 to run toaster. Hope that's not an issue.

Thanks,
Sujith H

From: Reyna, David [mailto:david.reyna at windriver.com]
Sent: 01 July 2015 21:58
To: Haridasan, Sujith
Cc: toaster at yoctoproject.org<mailto:toaster at yoctoproject.org>
Subject: RE: Problem running toaster

Hi Sujith,

> I would have to check with the IT team over here if they are blocking layer-index which could be causing issue.

I will mention  that I had in the past tremendous issues trying to set up Toaster at several Intel sites directly because of the firewalls. In my case, while doing a git from an "http:" repository path worked it was completely blocked for "git:" repository path. So, IT blocking may indeed be related to your issue.

However I am not seeing the git pull errors that I would expect, unless the error message is hiding the true root cause. It may be that in your case the paths to Yocto Project are allowed but the paths to Open Embedded are blocked on purpose or by accident, and you are seeing these errors after YP is loaded because of the YP feature of pull-on-demand.

I will take a look to see what those OE paths are in case that helps provide a clue.

- David

From: Haridasan, Sujith [mailto:Sujith_Haridasan at mentor.com]
Sent: Wednesday, July 01, 2015 9:02 AM
To: Reyna, David
Subject: RE: Problem running toaster

Hi David,

Unfortunately after following the last part of your slides, I am getting same error:

--------------
Toaster can use a SINGLE predefined configuration file to set up default project settings and layer information sources.

Toaster will list now the configuration files that it found. Select the number to use the desired configuration file.
  [1] - /home/sujith/MEL/mytest/poky/meta-yocto/conf/toasterconf.json

  [0] - Exit without importing any file

Enter your option: 1
Importing file: /home/sujith/MEL/mytest/poky/meta-yocto/conf/toasterconf.json
Layer configuration imported. Updating information from the layer sources, please wait.
You can re-update any time later by running bitbake/lib/toaster/manage.py lsupdates
Fetching branches
Fetching layer information
Cannot find layer version  OpenEmbedded (1) 65 fido
Failure while trying to import the toaster config file: Layer_Version matching query does not exist.
Starting webserver...
Webserver address:  http://0.0.0.0:8000/
Starting browser...
Toaster is now running. You can stop it with Ctrl-C

I would have to check with the IT team over here if they are blocking layer-index which could be causing issue.

Thanks,
Sujith H

From: Reyna, David [mailto:david.reyna at windriver.com]
Sent: 01 July 2015 20:57
To: Haridasan, Sujith
Subject: RE: Problem running toaster

Here is a presentation I gave about Toaster.

At the end are instructions on how to set up Toaster for the release branch Fido (1.8).

I hope this helps.

- David

From: toaster-bounces at yoctoproject.org<mailto:toaster-bounces at yoctoproject.org> [mailto:toaster-bounces at yoctoproject.org] On Behalf Of Haridasan, Sujith
Sent: Wednesday, July 01, 2015 2:48 AM
To: toaster at yoctoproject.org<mailto:toaster at yoctoproject.org>
Subject: [Toaster] Problem running toaster

Hi all,

While running toaster I found an issue and hence attaching the log file along with the mail.
Any pointers would be helpful to understand what could be wrong while loading toaster configuration? I haven't modified the toaster json configuration file.
And because of this error, none of the common layers like meta etc are getting added to toaster. A helping hand would be appreciated.

Thanks,
Sujith H
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20150717/7ee3afc9/attachment-0001.html>


More information about the toaster mailing list