Projet

Général

Profil

Bug #61374

Module "hobo.context_processors" does not define a "home_urls" attribute/class'

Ajouté par Frédéric Péters il y a environ 2 ans. Mis à jour il y a environ 2 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
03 février 2022
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Non
Planning:
Non

Description

Exception:
  type = '<class 'ImportError'>', value = 'Module "hobo.context_processors" does not define a "home_urls" attribute/class'

Stack trace (most recent call first):
  File "/usr/lib/python3/dist-packages/django/utils/module_loading.py", line 24, in import_string
    22         raise ImportError('Module "%s" does not define a "%s" attribute/class' % (
    23             module_path, class_name)
>   24         ) from err
    25
    26

  locals:
     class_name = 'home_urls'
     dotted_path = 'hobo.context_processors.home_urls'
     module = <module 'hobo.context_processors' from '/usr/lib/python3/dist-packages/hobo/context_processors.py'>
     module_path = 'hobo.context_processors'

  File "/usr/lib/python3/dist-packages/django/template/engine.py", line 85, in <genexpr>
    83         context_processors = _builtin_context_processors
    84         context_processors += tuple(self.context_processors)
>   85         return tuple(import_string(path) for path in context_processors)
    86
    87     def get_template_builtins(self, builtins):

  locals:
     .0 = <tuple_iterator object at 0x7fbb9dbb32b0>
     path = 'hobo.context_processors.home_urls'

Plouf les recettes cassées.


Demandes liées

Lié à w.c.s. - Development #61211: ajout du context_processor user_urlsFermé28 janvier 2022

Actions

Révisions associées

Révision 208428c6 (diff)
Ajouté par Frédéric Péters il y a environ 2 ans

misc: fix reference to new user_urls context processor (#61374)

Historique

#1

Mis à jour par Frédéric Péters il y a environ 2 ans

C'est référencé par "home_urls" ici mais c'est "user_urls" dans hobo. (...) (???)

#2

Mis à jour par Frédéric Péters il y a environ 2 ans

  • Statut changé de Nouveau à Résolu (à déployer)
commit 208428c65bd4d3b0ccf7ca353c7031de7868f3ec
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Thu Feb 3 08:32:33 2022 +0100

    misc: fix reference to new user_urls context processor (#61374)

J'ai vite tapé ça pour retagger redéployer corriger.

#5

Mis à jour par Frédéric Péters il y a environ 2 ans

#6

Mis à jour par Frédéric Péters il y a environ 2 ans

  • Statut changé de Résolu (à déployer) à Solution déployée
#7

Mis à jour par Frédéric Péters il y a environ 2 ans

  • Statut changé de Solution déployée à Résolu (à déployer)

(changement de statut pour tester un paramètre scrutiny).

#8

Mis à jour par Transition automatique il y a environ 2 ans

  • Statut changé de Résolu (à déployer) à Solution déployée
#9

Mis à jour par Transition automatique il y a environ 2 ans

Automatic expiration

Formats disponibles : Atom PDF