Fae added a comment.

  In T132676#6576561 <https://phabricator.wikimedia.org/T132676#6576561>, 
@gerritbot wrote:
  
  > Change 636164 had a related patch set uploaded (by Mpaa; owner: Mpaa):
  > [pywikibot/core@master] [bugfix] upload a file that ends with the '\r' byte
  >
  > https://gerrit.wikimedia.org/r/636164
  
  Added to my site.py, but did not seem to stop the bug. Not clear to me why, 
perhaps initial conditions not met. Instead my work-around of removing the last 
byte was still triggered by receiving the error.
  
  If you want examples to test out, there are over 200 PDFs now listed at 
https://commons.wikimedia.org/wiki/Category:Work_around_of_byte_trimmed_for_chunk-too-small_API_error
 where the original PDFs are not uploaded. The target could be the same files, 
just try to overwrite with the true original PDFs.

TASK DETAIL
  https://phabricator.wikimedia.org/T132676

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Fae
Cc: Fae, Mpaa, Anomie, Avicennasis, MarkTraceur, Multichill, Liuxinyu970226, 
pywikibot-bugs-list, Matanya, matmarex, czar, Aklapper, Steinsplitter, 
zhuyifei1999, JohnsonLee01, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, 
Khutuck, Zkhalido, Hook696, Kent7301, joker88john, Viztor, CucyNoiD, Wenyi, 
Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Lewizho99, 
Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, mys_721tx, jayvdb, Masti, 
Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to