Project

General

Profile

Development #29297

passer à uwsgi

Added by Benjamin Dauvergne over 1 year ago. Updated 6 days ago.

Status:
Nouveau
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
20 Dec 2018
Due date:
% Done:

0%

Patch proposed:
No
Planning:
No

Description

Comme tout le monde #8910.


Related issues

Related to Authentic 2 - Development #40372: python3: debian packaging Solution déployée 03 Mar 2020

History

#2 Updated by Frédéric Péters 4 months ago

#3 Updated by Emmanuel Cazenave 7 days ago

  • Assignee set to Emmanuel Cazenave
  • Status changed from Nouveau to En cours

Je suis devenu un expert uwsgi ces dernières 24 heures.

#4 Updated by Emmanuel Cazenave 7 days ago

Il va falloir que j'augmente mon niveau d'expertise, ça fait des bizarre erreurs d'import au démarrage :

juin 30 15:08:58 cazino-laptop uwsgi[30197]: *** Operational MODE: preforking ***
juin 30 15:08:58 cazino-laptop uwsgi[30197]: Traceback (most recent call last):
juin 30 15:08:58 cazino-laptop uwsgi[30197]:   File "/usr/lib/python2.7/dist-packages/authentic2/wsgi.py", line 36, in <module>
juin 30 15:08:58 cazino-laptop uwsgi[30197]:     from django.core.wsgi import get_wsgi_application
juin 30 15:08:58 cazino-laptop uwsgi[30197]:   File "/usr/lib/python2.7/dist-packages/django/core/wsgi.py", line 2, in <module>
juin 30 15:08:58 cazino-laptop uwsgi[30197]:     from django.core.handlers.wsgi import WSGIHandler
juin 30 15:08:58 cazino-laptop uwsgi[30197]:   File "/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 8, in <module>
juin 30 15:08:58 cazino-laptop uwsgi[30197]:     from django import http
juin 30 15:08:58 cazino-laptop uwsgi[30197]:   File "/usr/lib/python2.7/dist-packages/django/http/__init__.py", line 5, in <module>
juin 30 15:08:58 cazino-laptop uwsgi[30197]:     from django.http.response import (
juin 30 15:08:58 cazino-laptop uwsgi[30197]:   File "/usr/lib/python2.7/dist-packages/django/http/response.py", line 13, in <module>
juin 30 15:08:58 cazino-laptop uwsgi[30197]:     from django.core.serializers.json import DjangoJSONEncoder
juin 30 15:08:58 cazino-laptop uwsgi[30197]:   File "/usr/lib/python2.7/dist-packages/django/core/serializers/__init__.py", line 23, in <module>
juin 30 15:08:58 cazino-laptop uwsgi[30197]:     from django.core.serializers.base import SerializerDoesNotExist
juin 30 15:08:58 cazino-laptop uwsgi[30197]:   File "/usr/lib/python2.7/dist-packages/django/core/serializers/base.py", line 4, in <module>
juin 30 15:08:58 cazino-laptop uwsgi[30197]:     from django.db import models
juin 30 15:08:58 cazino-laptop uwsgi[30197]:   File "/usr/lib/python2.7/dist-packages/django/db/models/__init__.py", line 3, in <module>
juin 30 15:08:58 cazino-laptop uwsgi[30197]:     from django.db.models.aggregates import *  # NOQA
juin 30 15:08:58 cazino-laptop uwsgi[30197]:   File "/usr/lib/python2.7/dist-packages/django/db/models/aggregates.py", line 5, in <module>
juin 30 15:08:58 cazino-laptop uwsgi[30197]:     from django.db.models.expressions import Func, Star
juin 30 15:08:58 cazino-laptop uwsgi[30197]:   File "/usr/lib/python2.7/dist-packages/django/db/models/expressions.py", line 6, in <module>
juin 30 15:08:58 cazino-laptop uwsgi[30197]:     from django.db.models import fields
juin 30 15:08:58 cazino-laptop uwsgi[30197]:   File "/usr/lib/python2.7/dist-packages/django/db/models/fields/__init__.py", line 14, in <module>
juin 30 15:08:58 cazino-laptop uwsgi[30197]:     from django import forms
juin 30 15:08:58 cazino-laptop uwsgi[30197]:   File "/usr/lib/python2.7/dist-packages/django/forms/__init__.py", line 6, in <module>
juin 30 15:08:58 cazino-laptop uwsgi[30197]:     from django.forms.boundfield import *  # NOQA
juin 30 15:08:58 cazino-laptop uwsgi[30197]:   File "/usr/lib/python2.7/dist-packages/django/forms/boundfield.py", line 7, in <module>
juin 30 15:08:58 cazino-laptop uwsgi[30197]:     from django.forms.widgets import Textarea, TextInput
juin 30 15:08:58 cazino-laptop uwsgi[30197]:   File "/usr/lib/python2.7/dist-packages/django/forms/widgets.py", line 14, in <module>
juin 30 15:08:58 cazino-laptop uwsgi[30197]:     from django.templatetags.static import static
juin 30 15:08:58 cazino-laptop uwsgi[30197]:   File "/usr/lib/python2.7/dist-packages/django/templatetags/static.py", line 1, in <module>
juin 30 15:08:58 cazino-laptop uwsgi[30197]:     from django import template
juin 30 15:08:58 cazino-laptop uwsgi[30197]:   File "/usr/lib/python2.7/dist-packages/django/template/__init__.py", line 44, in <module>
juin 30 15:08:58 cazino-laptop uwsgi[30197]:     from .engine import Engine
juin 30 15:08:58 cazino-laptop uwsgi[30197]:   File "/usr/lib/python2.7/dist-packages/django/template/engine.py", line 6, in <module>
juin 30 15:08:58 cazino-laptop uwsgi[30197]:     from .base import Context, Template
juin 30 15:08:58 cazino-laptop uwsgi[30197]:   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 59, in <module>
juin 30 15:08:58 cazino-laptop uwsgi[30197]:     from django.template.context import (  # NOQA: imported for backwards compatibility
juin 30 15:08:58 cazino-laptop uwsgi[30197]: ImportError: No module named context

#5 Updated by Emmanuel Cazenave 6 days ago

  • Status changed from En cours to Nouveau
  • Assignee deleted (Emmanuel Cazenave)

Finalement plus un préalable à #40372 qui part en gunicorn3, je laisse pour l'instant.

Also available in: Atom PDF