Bug #34319
problème cache metadata
Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
25 juin 2019
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
File "/usr/lib/python2.7/dist-packages/mellon/utils.py" in get_idps File "/usr/lib/python2.7/dist-packages/mellon/adapters.py" in get_idps 72. if self.load_idp(idp, i): File "/usr/lib/python2.7/dist-packages/mellon/adapters.py" in load_idp 245. self.load_metadata(idp, i) File "/usr/lib/python2.7/dist-packages/mellon/adapters.py" in load_metadata 217. self.load_metadata_url(idp, i) File "/usr/lib/python2.7/dist-packages/mellon/adapters.py" in load_metadata_url 205. __http_get() File "/usr/lib/python2.7/dist-packages/mellon/adapters.py" in __http_get 190. stale_timeout = 24 * metadata_cache_time Exception Type: TypeError at /menu.json Exception Value: unsupported operand type(s) for *: 'int' and 'NoneType'
Fichiers
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a presque 5 ans
- Fichier 0001-do-not-warn-about-stale-cache-if-not-cache-timeout-i.patch 0001-do-not-warn-about-stale-cache-if-not-cache-timeout-i.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Benjamin Dauvergne il y a presque 5 ans
METADATA_CACHE_TIME ne peut pas être à None, le défaut est à 3600 dans app_settings...
Mis à jour par Benjamin Dauvergne il y a presque 5 ans
- Statut changé de Solution proposée à Solution validée
Bon ok mais c'est louche, j'ai juste aucun moyen de reproduire.
Mis à jour par Frédéric Péters il y a presque 5 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit 40674e4d1a6b7992c9a44decf6b6ad05a11e13aa Author: Frédéric Péters <fpeters@entrouvert.com> Date: Tue Jun 25 16:05:15 2019 +0200 do not warn about stale cache if no-t- cache timeout is defined (#34319)
Mis à jour par Frédéric Péters il y a presque 5 ans
- Statut changé de Résolu (à déployer) à Solution déployée
do not warn about stale cache if not cache timeout is defined (#34319)