Skip to contentSkip to conversation

django version

DISCUSSION [email protected] 2 participants 2 messages Mar 20, 2014

lore
Share & tools
lore
#0 lore raw

So if i want a gui to create or modify images i still have touse HOb , right?
about bug in hob, i submitted to bugzilla... hope i did it in the right way.... this is my first time.

Omar

Quoted 38 lines

----- Original Message -----
From: [email protected]
To: [email protected],[email protected],[email protected]
Data: Thu, 20 Mar 2014 14:01:42 +0000
Subject: Re: [Toaster] django version

Quoted 7 lines · On 20/03/2014 13:49, "[email protected]" <[email protected]> wrote:

about your error in the Toaster wiki says:

"
Make sure that port 8000 and 8200 are free, i.e. no servers on them "
maybe is that?

Quoted 8 lines

one question on toaster: I read that it is a GUi for bitbake, but it says
"
Future releases of Toaster will add build running and build customisation capabilities."

it is already possible or still in the future, I mean is it posssible to "make and modify" an image as is possible to do in hob or not?

The answer is no, I'm afraid. We are planning to add building functionality during the 1.7 release cycle. Currently, Toaster collects information about the builds you run (things like packages installed in your target, all files in the root file system, recipes built, tasks ran by the build system, configuration, etc) and presents it to you in a web interface. The web interface is still work in progress, but we would be very interested in hearing what you think about what's currently in place.

Quoted 3 lines

by the way, using hob often it stuck seems to doing nothing (hanging forever..." did you have nay behaviour like that?

Quoted 115 lines

If you can be a bit more specific about when you encounter this problem, it would be helpful to us if you opened an issue in our Bugzilla instance:
https://bugzilla.yoctoproject.org

Cheers

Belén

Quoted 105 lines
Quoted 80 lines

----- Original Message -----
From: [email protected]
To: [email protected],[email protected]
Data: Thu, 20 Mar 2014 07:44:15 -0600
Subject: Re: [Toaster] django version

Quoted 2 lines · On 2014-03-20 07:40, [email protected] wrote:

but did you install the django 1.5 even on the opensuse 12.3 .??? is it possible to force it? any side effect?

That's the whole point of the virtual environment suggested by Alex. You install it for just this purpose without interfering with the system version.

Quoted 63 lines
Quoted 63 lines

----- Original Message -----
From: [email protected]
To: [email protected]
Data: Thu, 20 Mar 2014 07:29:35 -0600
Subject: Re: [Toaster] django version

Quoted 17 lines · Alexandru

Hello,

I would recommend trying to install django and south to the required versions using pip,maybe setup a virtualenv environment.

This isn't tested, but it should give you a rough idea

mkdir ~/workspace
cd ~/workspace
virtualenv venv
source venv/bin/activate
pip install django
pip install south
source <path-to-poky>/oe-build-init-env
source toaster start

Quoted 1 line

Can you please let me know if this works ?

Following these instructions didn't quite work.

First, it insisted on
pip install django==1.5

Then when I tried to start toaster, I got this error:

The BBPATH variable is not set
DEBUG: Removed the following variables from the environment: LANG, VIRTUAL_ENV, SSH_CONNECTION, LESSCLOSE, XDG_RUNTIME_DIR, SHLVL, SSH_TTY, OLDPWD, LS_COLORS, LESSOPEN, SSH_CLIENT,
MAIL, PS1, XDG_SESSION_ID, DISPLAY, _, BUILDDIR
DEBUG: Found bblayers.conf (/tmp/workspace/build/conf/bblayers.conf)
DEBUG: LOAD /tmp/workspace/build/conf/bblayers.conf Bitbake server start failed
ERROR: Could not connect to server at localhost:8200 ([Errno 111] Connection refused)
[1]+ Terminated python $BBBASEDIR/lib/toaster/manage.py
runserver 0.0.0.0:8000 < /dev/null > ${BUILDDIR}/toaster_web.log 2>&1
lsof: status error on bitbake.lock: No such file or directory lsof 4.86
latest revision: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ latest FAQ: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ latest man page:
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_man
usage: [-?abhKlnNoOPRtUvVX] [+|-c c] [+|-d s] [+D D] [+|-f[gG]] [+|-e s]
[-F [f]] [-g [s]] [-i [i]] [+|-L [l]] [+m [m]] [+|-M] [-o [o]] [-p s] [+|-r [t]] [-s [p:s]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [--] [names]
Use the ``-h'' option to get more help information.
Failed start.

Quoted 4 lines

On Thu, Mar 20, 2014 at 12:42 PM, [email protected] <mailto:[email protected]> <[email protected] <mailto:[email protected]>> wrote:

Quoted 14 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

I'm just startign to using Toaster,
I have the opensus 12.3 (as suggested in Yocto doc). but Toaster
require django version 1.5, but with opensuse 12.3 the last vesion of django is 1.4.8... so it doesn't start.
So how can i solve it?

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

Dott.Ing. Omar Pighi
R&D Selea

Signature · 4 lines
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

Dott.Ing. Omar Pighi
R&D Selea

#1 lore raw
Quoted 2 lines · On 20/03/2014 14:26, "[email protected]" <[email protected]> wrote:

So if i want a gui to create or modify images i still have touse HOb , right?

Yes: for the moment the only GUI you can use for building images is Hob.

Quoted 2 lines

about bug in hob, i submitted to bugzilla... hope i did it in the right way.... this is my first time.

Thanks! :)

Quoted 172 lines

Omar

Quoted 40 lines

----- Original Message -----
From: [email protected]
To: [email protected],[email protected],[email protected]
Data: Thu, 20 Mar 2014 14:01:42 +0000
Subject: Re: [Toaster] django version

Quoted 14 lines · On 20/03/2014 13:49, "[email protected]" <[email protected]> wrote:

about your error in the Toaster wiki says:

"
Make sure that port 8000 and 8200 are free, i.e. no servers on them "
maybe is that?

one question on toaster: I read that it is a GUi for bitbake, but it says
"
Future releases of Toaster will add build running and build customisation
capabilities."

Quoted 2 lines

it is already possible or still in the future, I mean is it posssible to "make and modify" an image as is possible to do in hob or not?

The answer is no, I'm afraid. We are planning to add building functionality during the 1.7 release cycle. Currently, Toaster collects information about the builds you run (things like packages installed in your target, all files in the root file system, recipes built, tasks ran by the build system, configuration, etc) and presents it to you in a web interface. The web interface is still work in progress, but we would be very interested in hearing what you think about what's currently in place.

Quoted 3 lines

by the way, using hob often it stuck seems to doing nothing (hanging forever..." did you have nay behaviour like that?

Quoted 122 lines

If you can be a bit more specific about when you encounter this problem, it would be helpful to us if you opened an issue in our Bugzilla instance:
https://bugzilla.yoctoproject.org

Cheers

Belén

Quoted 111 lines
Quoted 84 lines

----- Original Message -----
From: [email protected]
To: [email protected],[email protected]
Data: Thu, 20 Mar 2014 07:44:15 -0600
Subject: Re: [Toaster] django version

Quoted 2 lines · On 2014-03-20 07:40, [email protected] wrote:

but did you install the django 1.5 even on the opensuse 12.3 .??? is it possible to force it? any side effect?

That's the whole point of the virtual environment suggested by Alex. You install it for just this purpose without interfering with the system version.

Quoted 67 lines
Quoted 67 lines

----- Original Message -----
From: [email protected]
To: [email protected]
Data: Thu, 20 Mar 2014 07:29:35 -0600
Subject: Re: [Toaster] django version

Quoted 18 lines · Alexandru

Hello,

I would recommend trying to install django and south to the required
versions using pip,maybe setup a virtualenv environment.

This isn't tested, but it should give you a rough idea

mkdir ~/workspace
cd ~/workspace
virtualenv venv
source venv/bin/activate
pip install django
pip install south
source <path-to-poky>/oe-build-init-env
source toaster start

Quoted 1 line

Can you please let me know if this works ?

Following these instructions didn't quite work.

First, it insisted on
pip install django==1.5

Then when I tried to start toaster, I got this error:

The BBPATH variable is not set
DEBUG: Removed the following variables from the environment: LANG, VIRTUAL_ENV, SSH_CONNECTION, LESSCLOSE, XDG_RUNTIME_DIR, SHLVL, SSH_TTY, OLDPWD, LS_COLORS, LESSOPEN, SSH_CLIENT,
MAIL, PS1, XDG_SESSION_ID, DISPLAY, _, BUILDDIR
DEBUG: Found bblayers.conf (/tmp/workspace/build/conf/bblayers.conf)
DEBUG: LOAD /tmp/workspace/build/conf/bblayers.conf Bitbake server start failed
ERROR: Could not connect to server at localhost:8200 ([Errno 111] Connection refused)
[1]+ Terminated python
$BBBASEDIR/lib/toaster/manage.py
runserver 0.0.0.0:8000 < /dev/null > ${BUILDDIR}/toaster_web.log 2>&1
lsof: status error on bitbake.lock: No such file or directory lsof 4.86
latest revision: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ latest FAQ: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ latest man page:
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_man
usage: [-?abhKlnNoOPRtUvVX] [+|-c c] [+|-d s] [+D D] [+|-f[gG]] [+|-e
s]
[-F [f]] [-g [s]] [-i [i]] [+|-L [l]] [+m [m]] [+|-M] [-o [o]] [-p s]
[+|-r [t]] [-s [p:s]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [--] [names]
Use the ``-h'' option to get more help information.
Failed start.

Quoted 4 lines

On Thu, Mar 20, 2014 at 12:42 PM, [email protected] <mailto:[email protected]> <[email protected] <mailto:[email protected]>> wrote:

Quoted 16 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

I'm just startign to using Toaster,
I have the opensus 12.3 (as suggested in Yocto doc). but
Toaster
require django version 1.5, but with opensuse 12.3 the last vesion of
django is 1.4.8... so it doesn't start.
So how can i solve it?

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

Dott.Ing. Omar Pighi
R&D Selea

Signature · 4 lines
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

Dott.Ing. Omar Pighi
R&D Selea