Re: [uWSGI] intermittent No module named context_processors when using nginx/uwsgi

2019-01-10 Thread Larry Martell
On Thu, Jan 10, 2019 at 3:15 AM tk wrote: > > i dont know... what Django version are you using? I have no problems > running my sites with Django 1.11.x, django-hotsauce and uWSGI. I have both 1.9 and 2.0 and it happens with both. > > Cheers, > > tk > > Le 05/01/20

[uWSGI] intermittent No module named context_processors when using nginx/uwsgi

2019-01-05 Thread Larry Martell
I am having an odd interment django problem. I have an app which is deployed at 30 different sites, some with apache and wsgi and some with nginx and uwsgi. At only the nginx/uwsgi sites and only intermittently, users will get the error No module named context_processors. I am only posting it

Re: [uWSGI] running with a different version of python

2017-12-12 Thread Larry Martell
On Tue, Dec 12, 2017 at 7:49 AM, Larry Martell <larry.mart...@gmail.com> wrote: > On Tue, Dec 12, 2017 at 1:18 AM, Gerhard Schmidt <esta...@augusta.de> wrote: >> Am 12.12.2017 um 03:07 schrieb Larry Martell: >> >>> So is there any way I can run it using t

Re: [uWSGI] running with a different version of python

2017-12-12 Thread Larry Martell
On Tue, Dec 12, 2017 at 1:18 AM, Gerhard Schmidt <esta...@augusta.de> wrote: > Am 12.12.2017 um 03:07 schrieb Larry Martell: > >> So is there any way I can run it using the different version? > > You have to compile a second uwsgi binary using the needed version at >

Re: [uWSGI] running with a different version of python

2017-12-11 Thread Larry Martell
On Mon, Dec 11, 2017 at 8:22 PM Damjan Georgievski <gdam...@gmail.com> wrote: > On 11 December 2017 at 23:56, Larry Martell <larry.mart...@gmail.com> > wrote: > > I am running on CentOS 7, which has a default python of 2.7.5. I want > > to run uWSGI with 2.5.13,

Re: [uWSGI] running with a different version of python

2017-12-11 Thread Larry Martell
On Mon, Dec 11, 2017 at 5:56 PM, Larry Martell <larry.mart...@gmail.com> wrote: > I am running on CentOS 7, which has a default python of 2.7.5. I want > to run uWSGI with 2.5.13, which I have downloaded. From a shell I need > to run this to enable the other version: > > scl

[uWSGI] running with a different version of python

2017-12-11 Thread Larry Martell
I am running on CentOS 7, which has a default python of 2.7.5. I want to run uWSGI with 2.5.13, which I have downloaded. From a shell I need to run this to enable the other version: scl enable python27 bash I tried modifying /etc/systemd/system/uwsgi.service thusly: ExecStart=/usr/bin/scl

Re: [uWSGI] Weirdness with persistent threads

2017-04-10 Thread Larry Martell
ded to redesign the app to use external processes instead of threads, but I will keep this email and I know it will come in handy in the future. > > On Fri, Apr 7, 2017 at 1:33 PM, Larry Martell <larry.mart...@gmail.com> > wrote: >> >> I have a django app that I serve with ngin

[uWSGI] Weirdness with persistent threads

2017-04-07 Thread Larry Martell
I have a django app that I serve with nginx and uwsgi. Some requests that the app receives start python threads that are not complete when the request returns a response to the client. When I run with the django devel server the threads continue to run to completion. But when I run with the djanbo

Re: [uWSGI] django1.6 with uwsgi and nginx on RHEL 7

2016-06-06 Thread Larry Martell
On Mon, Jun 6, 2016 at 1:21 PM, Mikko Ohtamaa wrote: > >> the main thing here beeing: >> --- no python application found, check your startup logs for errors --- >> >> which means the real error is somewhere above > > > This is usually a sign that wsgi.py script has

[uWSGI] django1.6 with uwsgi and nginx on RHEL 7

2016-06-06 Thread Larry Martell
I have successfully deployed django1.6 with uwsgi and nginx on RHEL6 but I cannot seem to get it working on RHEL7. I get Internal Server Error in the browser, and this in the uwsgi log: --- no python application found, check your startup logs for errors --- [pid: 10582|app: -1|req: -1/2]

[uWSGI] Not getting request structure

2016-02-27 Thread Larry Martell
I don't know if this is a uWSGI issue or not, but I have not received any help on the django list. I have a django 1.9 set up - RHEL 6, python 2,7, nginx, uWSGI. When I try an access a URL, the django view is called, but the request object is empty - this is all it has: This prevents the app

Re: [uWSGI] newbie help

2014-11-05 Thread Larry Martell
On Wed, Nov 5, 2014 at 1:06 AM, Roberto De Ioris robe...@unbit.it wrote: Trying to get uWSGI going with nginx and django, following the directions here: https://uwsgi.readthedocs.org/en/latest/tutorials/Django_and_nginx.html I am running version 1.9.17.1-debian on Ubuntu using python3.

Re: [uWSGI] newbie help

2014-11-05 Thread Larry Martell
On Wed, Nov 5, 2014 at 6:55 AM, Roberto De Ioris robe...@unbit.it wrote: On Wed, Nov 5, 2014 at 1:06 AM, Roberto De Ioris robe...@unbit.it wrote: Trying to get uWSGI going with nginx and django, following the directions here:

Re: [uWSGI] newbie help

2014-11-05 Thread Larry Martell
On Wed, Nov 5, 2014 at 7:03 AM, Roberto De Ioris robe...@unbit.it wrote: On Wed, Nov 5, 2014 at 6:55 AM, Roberto De Ioris robe...@unbit.it wrote: On Wed, Nov 5, 2014 at 1:06 AM, Roberto De Ioris robe...@unbit.it wrote: Trying to get uWSGI going with nginx and django, following the

[uWSGI] newbie help

2014-11-04 Thread Larry Martell
Trying to get uWSGI going with nginx and django, following the directions here: https://uwsgi.readthedocs.org/en/latest/tutorials/Django_and_nginx.html I am running version 1.9.17.1-debian on Ubuntu using python3. First test on that page: uwsgi --http :8000 --wsgi-file test.py uwsgi: option