DDMAL / DDMAL/cantus

Manifest proxy returns 500 for both Gallica manuscripts, so they show no images

Open
#1,007 0 comments 0 reactions 1 assignee Claimed by @etosphere View on GitHub
Dominant language
JavaScript
Stars
16
Forks
4
Avg merge
2d 16h
Merged PRs (30d)
3

Description

Two of the public manuscripts show no images at all:

- F-Pn Lat. 12044: https://cantus.simssa.ca/manuscript/123628/
- F-Pn Lat. 15181: https://cantus.simssa.ca/manuscript/123631/

From #937, Andrew pointed out that the 500 was coming from us, not from Gallica. The user-agent we use is the default `python-requests/2.32.3`, and Gallica answers `403` for it. Besides, the error page goes straight into `json.loads(response.text)` and raises `JSONDecodeError`. That is a ValueError, so Django turns it into a 500.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.