AntiCompositeNumber added a comment.
Could not reproduce. Please provide at least the following information:
- Operating system
- Python environment and version (`import sys; print(sys.version)`)
- Pywikibot version (`import pywikibot; print(pywikibot.__version__)`)
- Relevant code
Fae added a comment.
As my 'personal' work-around, just for UK legislation PDFs that the API flags
with chunk-too-small and fails on a second upload, the pdf is trimmed of the
final byte and re-attempted. In my view this is a terrible hack rather than a
fix.
However, this initially