Bug #74939
testdef, TypeError: expected str, bytes or os.PathLike object, not NoneType
Début:
28 février 2023
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/107415/
TypeError: expected str, bytes or os.PathLike object, not NoneType (17 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 82, in _q_traverse obj = self._q_lookup(component) File "wcs/forms/common.py", line 87, in _q_lookup return self.serve_file(file, thumbnail=self.thumbnails) File "wcs/forms/common.py", line 96, in serve_file content = misc.get_thumbnail(file.get_fs_filename(), content_type=file.content_type) File "wcs/qommon/misc.py", line 723, in get_thumbnail fp = open(filepath, 'rb') # pylint: disable=consider-using-with
Révisions associées
Historique
Mis à jour par Valentin Deniaud il y a environ un an
- Projet changé de Suivi des traces à w.c.s.
- Sujet changé de TypeError: expected str, bytes or os.PathLike object, not NoneType à testdef, TypeError: expected str, bytes or os.PathLike object, not NoneType
- Assigné à mis à Valentin Deniaud
Mis à jour par Robot Gitea il y a environ un an
- Statut changé de Nouveau à Solution proposée
Valentin Deniaud (vdeniaud) a ouvert une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/wcs/pulls/141
- Titre : qommon: disable thumbnail for image in test data (#74939)
- Modifications : https://git.entrouvert.org/entrouvert/wcs/pulls/141/files
Mis à jour par Robot Gitea il y a environ un an
- Statut changé de Solution proposée à Solution validée
Thomas NOËL (tnoel) a approuvé une pull request sur Gitea concernant cette demande :
Mis à jour par Robot Gitea il y a environ un an
- Statut changé de Solution validée à En cours
Thomas NOËL (tnoel) a relu et demandé des modifications sur une pull request sur Gitea concernant cette demande :
Mis à jour par Valentin Deniaud il y a environ un an
- Statut changé de En cours à Solution proposée
Mis à jour par Robot Gitea il y a environ un an
- Statut changé de Solution proposée à Solution validée
Frédéric Péters (fpeters) a approuvé une pull request sur Gitea concernant cette demande :
Mis à jour par Robot Gitea il y a environ un an
- Statut changé de Solution validée à Résolu (à déployer)
Valentin Deniaud (vdeniaud) a mergé une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/wcs/pulls/141
- Titre : qommon: disable thumbnail for image in test data (#74939)
- Modifications : https://git.entrouvert.org/entrouvert/wcs/pulls/141/files
Mis à jour par Transition automatique il y a environ un an
- Statut changé de Résolu (à déployer) à Solution déployée
qommon: disable thumbnail for image in test data (#74939)