Hi David,

In the fido branch the issue is still reproducible. If you can help me point 
out the commit or branch to look ( contrib branch ) that would be great.

Thanks,
Sujith H

From: [email protected] 
[mailto:[email protected]] On Behalf Of Haridasan, Sujith
Sent: 17 July 2015 13:57
To: Reyna, David
Cc: [email protected]
Subject: Re: [Toaster] Problem running toaster

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:[email protected]]
Sent: 17 July 2015 13:49
To: Haridasan, Sujith
Cc: [email protected]<mailto:[email protected]>
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 
<[email protected]<mailto:[email protected]>> 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@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@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:[email protected]]
Sent: 01 July 2015 21:58
To: Haridasan, Sujith
Cc: [email protected]<mailto:[email protected]>
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:[email protected]]
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:[email protected]]
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: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Haridasan, Sujith
Sent: Wednesday, July 01, 2015 2:48 AM
To: [email protected]<mailto:[email protected]>
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
-- 
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

Reply via email to