Projet

Général

Profil

Bug #48458

AttributeError: 'memoryview' object has no attribute 'replace'

Ajouté par Sentry Io il y a plus de 3 ans. Mis à jour il y a plus d'un an.

Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
10 novembre 2020
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Non
Planning:
Non

Description

https://sentry.entrouvert.org/entrouvert/publik/issues/6789/

AttributeError: 'memoryview' object has no attribute 'replace'
(9 additional frame(s) were not displayed)
...
  File "quixote/directory.py", line 88, in _q_traverse
    return obj._q_traverse(path)
  File "quixote/directory.py", line 92, in _q_traverse
    return obj()
  File "wcs/backoffice/management.py", line 1843, in _q_index
    include_checkboxes=bool(multi_actions))
  File "wcs/forms/backoffice.py", line 123, in listing
    include_checkboxes=include_checkboxes))
  File "wcs/forms/backoffice.py", line 297, in tbody
    r += field_value.replace(str('[download]'), str('%sdownload' % link))

Demandes liées

Lié à w.c.s. - Development #48456: __repr__ pour les RelatedFieldFermé10 novembre 2020

Actions
Lié à w.c.s. - Bug #72312: geojson d'un champ image dans un bloc (AttributeError: 'memoryview' object has no attribute 'replace')Fermé12 décembre 2022

Actions

Historique

#1

Mis à jour par Frédéric Péters il y a plus de 3 ans

  • Projet changé de Suivi des traces à w.c.s.

Détail de la trace :

Stack trace (most recent call first):
  File "/usr/lib/python3/dist-packages/wcs/forms/backoffice.py", line 297, in tbody
   295                 else:
   296                     r += htmltext('<td>')
>  297                 r += field_value.replace(str('[download]'), str('%sdownload' % link))
   298                 r += htmltext('</td>')
   299             r += htmltext('</tr>\n')

  locals:
     classes = ['status-16-wf-35', 'odd']
     css_class = None
     data = ' data-link="38/"'
     f = <wcs.backoffice.management.RelatedField object at 0x7f218ac63a90>
     field_value = <memory at 0x7f2189daea08>
#2

Mis à jour par Frédéric Péters il y a plus de 3 ans

#3

Mis à jour par Frédéric Péters il y a plus d'un an

  • Statut changé de Nouveau à Fermé

Traité dans #72312.

#4

Mis à jour par Frédéric Péters il y a plus d'un an

  • Lié à Bug #72312: geojson d'un champ image dans un bloc (AttributeError: 'memoryview' object has no attribute 'replace') ajouté

Formats disponibles : Atom PDF