[Toaster] django version
Gary Thomas
gary at mlbassoc.com
Thu Mar 20 06:44:15 PDT 2014
On 2014-03-20 07:40, pighi at selea.com 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.
>> ----- Original Message -----
>> From: gary at mlbassoc.com
>> To: toaster at yoctoproject.org
>> Data: Thu, 20 Mar 2014 07:29:35 -0600
>> Subject: Re: [Toaster] django version
>
>> On 2014-03-20 07:16, Damian, Alexandru wrote:
>>> 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
>>>
>>>
>>> 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.
>>
>>> On Thu, Mar 20, 2014 at 12:42 PM, pighi at selea.com <mailto:pighi at selea.com> <pighi at selea.com <mailto:pighi at selea.com>> wrote:
>>>
>>> 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?
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
More information about the toaster
mailing list