Development #52655
you have to enable the uWSGI spooler to use @_spool decorator
Début:
02 avril 2021
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
File "/usr/lib/python3/dist-packages/authentic2/manager/user_views.py" in <module> 45. from authentic2.utils import ( File "/usr/lib/python3/dist-packages/authentic2/utils/spooler.py" in <module> 89. @tenantspool File "/usr/lib/python3/dist-packages/authentic2/utils/spooler.py" in tenantspool 77. base_spooler = spool(pass_arguments=True)(spooler_func) File "/usr/lib/python3/dist-packages/uwsgidecorators.py" in __init__ 122. "you have to enable the uWSGI spooler to use @%s decorator" % self.__class__.__name__) Exception Type: Exception at /api/statistics/ Exception Value: you have to enable the uWSGI spooler to use @_spool decorator
Fichiers
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a environ 3 ans
La partie packaging debian est visiblement incomplète; il faut créer le répertoire spooler dans le postinst et le mentionner dans l'unit systemd.
Mis à jour par Benjamin Dauvergne il y a environ 3 ans
- Assigné à changé de Valentin Deniaud à Benjamin Dauvergne
Mis à jour par Benjamin Dauvergne il y a environ 3 ans
- Fichier 0001-debian-add-spooler-option-to-uwsgi-52655.patch 0001-debian-add-spooler-option-to-uwsgi-52655.patch ajouté
- Tracker changé de Bug à Development
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Serghei Mihai (congés, retour 15/05) il y a environ 3 ans
- Statut changé de Solution proposée à En cours
Il manque aussi:
ExecStartPre=/bin/mkdir -p /var/lib/%p/spooler/%m/
dans authentic2-multitenant.service
et aussi corriger dans authentic2.service
:
- ExecStartPre=/bin/mkdir -p /var/lib/authentic2/spooler/%m/ + ExecStartPre=/bin/mkdir -p /var/lib/%p/spooler/%m/
Mis à jour par Benjamin Dauvergne il y a environ 3 ans
- Fichier 0001-debian-add-spooler-option-to-uwsgi-52655.patch 0001-debian-add-spooler-option-to-uwsgi-52655.patch ajouté
- Statut changé de En cours à Solution proposée
voilà.
Mis à jour par Serghei Mihai (congés, retour 15/05) il y a environ 3 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Benjamin Dauvergne il y a environ 3 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit b817546b574357be00a6304bb478b6c8b8c525b8 Author: Benjamin Dauvergne <bdauvergne@entrouvert.com> Date: Fri Apr 2 10:25:32 2021 +0200 debian: add --spooler option to uwsgi (#52655)
Mis à jour par Frédéric Péters il y a environ 3 ans
- Statut changé de Résolu (à déployer) à Solution déployée
debian: add --spooler option to uwsgi (#52655)