[Pywikipedia-bugs] [Maniphest] [Commented On] T266117: Frequent chunk-too-small errors

2020-10-24 Thread AntiCompositeNumber
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

[Pywikipedia-bugs] [Maniphest] [Commented On] T266117: Frequent chunk-too-small errors

2020-10-24 Thread Fae
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