[03:39:46] 10Pywikibot, 10Commons: Frequent chunk-too-small errors - https://phabricator.wikimedia.org/T266117 (10AntiCompositeNumber) Could not reproduce. Please provide at least the following information: * Operating system * Python environment and version (`import sys; print(sys.version)`) * Pywikibot version (`import... [06:40:18] (03PS1) 10Xqt: [tests] Shorten TestCategoryRearrangement textlib test [pywikibot/core] - 10https://gerrit.wikimedia.org/r/636154 [06:42:51] (03PS2) 10Xqt: [tests] Shorten TestCategoryRearrangement textlib test [pywikibot/core] - 10https://gerrit.wikimedia.org/r/636154 [06:46:32] (03PS3) 10Xqt: [tests] rearrange TestCategoryRearrangement textlib test [pywikibot/core] - 10https://gerrit.wikimedia.org/r/636154 [06:50:28] (03CR) 10Xqt: [C: 03+2] "tests refactoring" [pywikibot/core] - 10https://gerrit.wikimedia.org/r/636154 (owner: 10Xqt) [07:10:49] (03PS1) 10Xqt: [tests] Remove code duplications in textlib_tests.py [pywikibot/core] - 10https://gerrit.wikimedia.org/r/636155 [07:34:55] (03CR) 10Xqt: [C: 03+2] [tests] Remove code duplications in textlib_tests.py [pywikibot/core] - 10https://gerrit.wikimedia.org/r/636155 (owner: 10Xqt) [10:49:38] 10Pywikibot, 10Commons: Frequent chunk-too-small errors - https://phabricator.wikimedia.org/T266117 (10Fae) >>! In T266117#6576394, @AntiCompositeNumber wrote: > Could not reproduce. Please provide at least the following information: > * Operating system Ubuntu Release 18.04.5 LTS (Bionic Beaver) 64-bit > *... [11:22:27] (03PS5) 10Xqt: [fix] typing Dict, List, Set, Tuple are deprecated in Python 3.9 [pywikibot/core] - 10https://gerrit.wikimedia.org/r/634843 [11:24:57] (03CR) 10jerkins-bot: [V: 04-1] [fix] typing Dict, List, Set, Tuple are deprecated in Python 3.9 [pywikibot/core] - 10https://gerrit.wikimedia.org/r/634843 (owner: 10Xqt) [11:33:39] (03PS1) 10Xqt: [fix] typing Dict, List, Set, Tuple are deprecated in Python 3.9 [pywikibot/core] - 10https://gerrit.wikimedia.org/r/636163 [11:35:07] (03PS6) 10Xqt: [fix] typing Dict, List, Set, Tuple are deprecated in Python 3.9 [pywikibot/core] - 10https://gerrit.wikimedia.org/r/634843 [11:35:33] (03CR) 10jerkins-bot: [V: 04-1] [fix] typing Dict, List, Set, Tuple are deprecated in Python 3.9 [pywikibot/core] - 10https://gerrit.wikimedia.org/r/636163 (owner: 10Xqt) [11:43:53] (03PS2) 10Xqt: [fix] typing Dict, List, Set, Tuple are deprecated in Python 3.9 [pywikibot/core] - 10https://gerrit.wikimedia.org/r/636163 [11:46:14] (03CR) 10jerkins-bot: [V: 04-1] [fix] typing Dict, List, Set, Tuple are deprecated in Python 3.9 [pywikibot/core] - 10https://gerrit.wikimedia.org/r/636163 (owner: 10Xqt) [12:09:24] (03PS3) 10Xqt: [fix] typing Dict, List, Set, Tuple are deprecated in Python 3.9 [pywikibot/core] - 10https://gerrit.wikimedia.org/r/636163 [12:14:03] (03PS1) 10Mpaa: [bugfix] upload a file that ends with the '\r' byte [pywikibot/core] - 10https://gerrit.wikimedia.org/r/636164 (https://phabricator.wikimedia.org/T132676) [12:18:11] 10Pywikibot, 10Commons: Frequent chunk-too-small errors - https://phabricator.wikimedia.org/T266117 (10Mpaa) @Fae, I proposed a fix/hack at T132676. [12:38:50] 10Pywikibot, 10Patch-For-Review: Impossible to upload a file that ends with the '\r' byte using Pywikibot - https://phabricator.wikimedia.org/T132676 (10Fae) >>! In T132676#6576561, @gerritbot wrote: > Change 636164 had a related patch set uploaded (by Mpaa; owner: Mpaa): > [pywikibot/core@master] [bugfix] upl... [14:19:19] 10Pywikibot, 10Patch-For-Review: Impossible to upload a file that ends with the '\r' byte using Pywikibot - https://phabricator.wikimedia.org/T132676 (10Mpaa) @Fae, strange, it worked for me, I tried this file and the byte was added. https://commons.wikimedia.org/w/index.php?title=File%3ABritish_Transport_Comm... [14:25:30] 10Pywikibot, 10Commons: Frequent chunk-too-small errors - https://phabricator.wikimedia.org/T266117 (10Mpaa) >>! In T266117#6576230, @Fae wrote: > 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 byt... [14:43:04] (03CR) 10Xqt: [bugfix] upload a file that ends with the '\r' byte (031 comment) [pywikibot/core] - 10https://gerrit.wikimedia.org/r/636164 (https://phabricator.wikimedia.org/T132676) (owner: 10Mpaa) [14:49:12] (03CR) 10Mpaa: [bugfix] upload a file that ends with the '\r' byte (031 comment) [pywikibot/core] - 10https://gerrit.wikimedia.org/r/636164 (https://phabricator.wikimedia.org/T132676) (owner: 10Mpaa) [14:52:18] (03CR) 10Mpaa: [bugfix] upload a file that ends with the '\r' byte (031 comment) [pywikibot/core] - 10https://gerrit.wikimedia.org/r/636164 (https://phabricator.wikimedia.org/T132676) (owner: 10Mpaa) [14:53:38] (03CR) 10Xqt: [bugfix] upload a file that ends with the '\r' byte (031 comment) [pywikibot/core] - 10https://gerrit.wikimedia.org/r/636164 (https://phabricator.wikimedia.org/T132676) (owner: 10Mpaa) [14:57:37] (03PS2) 10Mpaa: [bugfix] upload a file that ends with the '\r' byte [pywikibot/core] - 10https://gerrit.wikimedia.org/r/636164 (https://phabricator.wikimedia.org/T132676) [14:58:00] (03CR) 10Mpaa: [bugfix] upload a file that ends with the '\r' byte (031 comment) [pywikibot/core] - 10https://gerrit.wikimedia.org/r/636164 (https://phabricator.wikimedia.org/T132676) (owner: 10Mpaa) [15:07:37] (03PS1) 10Xqt: [bugfix] Fix subTest [pywikibot/core] - 10https://gerrit.wikimedia.org/r/636170 [15:09:47] (03CR) 10Xqt: [C: 03+2] [bugfix] Fix subTest [pywikibot/core] - 10https://gerrit.wikimedia.org/r/636170 (owner: 10Xqt) [15:10:02] (03CR) 10Xqt: [C: 03+2] [bugfix] upload a file that ends with the '\r' byte [pywikibot/core] - 10https://gerrit.wikimedia.org/r/636164 (https://phabricator.wikimedia.org/T132676) (owner: 10Mpaa) [15:12:29] (03Merged) 10jenkins-bot: [bugfix] upload a file that ends with the '\r' byte [pywikibot/core] - 10https://gerrit.wikimedia.org/r/636164 (https://phabricator.wikimedia.org/T132676) (owner: 10Mpaa) [15:30:20] 10Pywikibot, 10Commons: Frequent chunk-too-small errors - https://phabricator.wikimedia.org/T266117 (10Fae) > I think a better workaround, if it works, is to use source_url in site.upload(). > It delegates to API the task of fetching the file. If it works, the file is hopefully the original. > See https://en.... [18:55:04] 10Pywikibot, 10Pywikibot-Scripts: reflinks.py work with duplicate references - https://phabricator.wikimedia.org/T266411 (10Rubin16) [18:55:34] 10Pywikibot, 10Pywikibot-Scripts: reflinks.py work with duplicate references - https://phabricator.wikimedia.org/T266411 (10Rubin16) p:05Triage→03Low [19:05:49] 10Pywikibot, 10Pywikibot-Scripts, 10Patch-Needs-Improvement: noreferences must recognize footnote groups - https://phabricator.wikimedia.org/T98700 (10Rubin16) @Xqt how are things going here, if you please? I have posted T55936 a long time ago and it seems to be connected: the issue moved from compat to cor... [19:10:46] (03PS12) 10Xqt: Add change_pagelang script [pywikibot/core] - 10https://gerrit.wikimedia.org/r/478611 (owner: 10Jon Harald Søby) [19:13:06] (03CR) 10jerkins-bot: [V: 04-1] Add change_pagelang script [pywikibot/core] - 10https://gerrit.wikimedia.org/r/478611 (owner: 10Jon Harald Søby) [19:15:06] 10Pywikibot: Impossible to upload a file that ends with the '\r' byte using Pywikibot - https://phabricator.wikimedia.org/T132676 (10Xqt) p:05High→03Low [19:20:43] 10Pywikibot, 10Pywikibot-Scripts, 10Russian-Sites: reflinks.py work with ref group - https://phabricator.wikimedia.org/T55936 (10Xqt) [19:20:57] 10Pywikibot, 10Pywikibot-Scripts, 10Russian-Sites: reflinks.py work with ref group - https://phabricator.wikimedia.org/T55936 (10Xqt) p:05Lowest→03Medium [19:29:29] 10Pywikibot, 10Pywikibot-Scripts, 10Patch-Needs-Improvement: noreferences must recognize footnote groups - https://phabricator.wikimedia.org/T98700 (10Xqt) >>! In T98700#6576765, @Rubin16 wrote: > @Xqt how are things going here, if you please? > > I have posted T55936 a long time ago and it seems to be conn... [20:24:10] 10Pywikibot: Impossible to upload a file that ends with the '\r' byte using Pywikibot - https://phabricator.wikimedia.org/T132676 (10Mpaa) [20:24:21] 10Pywikibot, 10Commons: Frequent chunk-too-small errors - https://phabricator.wikimedia.org/T266117 (10Mpaa) [20:25:54] (03CR) 10Mpaa: [C: 03+2] [IMPR] Replace _COLORS and _MSGS dicts by Enum [pywikibot/core] - 10https://gerrit.wikimedia.org/r/636131 (owner: 10Xqt) [20:26:46] 10Pywikibot, 10Pywikibot-Scripts: noreferences.py: "cite_error_refs_without_references_category" has been dropped for 6 years - https://phabricator.wikimedia.org/T266413 (10Xqt) [20:27:00] 10Pywikibot, 10Pywikibot-Scripts: noreferences.py: "cite_error_refs_without_references_category" has been dropped for 6 years - https://phabricator.wikimedia.org/T266413 (10Xqt) p:05Triage→03Medium [20:27:52] (03Merged) 10jenkins-bot: [IMPR] Replace _COLORS and _MSGS dicts by Enum [pywikibot/core] - 10https://gerrit.wikimedia.org/r/636131 (owner: 10Xqt) [20:49:17] (03PS1) 10Xqt: [bugfix] Use wikidata item instead of dropped MediaWiki message [pywikibot/core] - 10https://gerrit.wikimedia.org/r/636200 (https://phabricator.wikimedia.org/T266413) [21:07:19] (03CR) 10Mpaa: [C: 03+2] [bugfix] Use wikidata item instead of dropped MediaWiki message [pywikibot/core] - 10https://gerrit.wikimedia.org/r/636200 (https://phabricator.wikimedia.org/T266413) (owner: 10Xqt) [21:09:12] (03Merged) 10jenkins-bot: [bugfix] Use wikidata item instead of dropped MediaWiki message [pywikibot/core] - 10https://gerrit.wikimedia.org/r/636200 (https://phabricator.wikimedia.org/T266413) (owner: 10Xqt) [21:10:40] (03CR) 10Mpaa: "This is not very clear to me." [pywikibot/core] - 10https://gerrit.wikimedia.org/r/636132 (owner: 10Xqt) [21:18:40] (03PS1) 10Xqt: [IMPR] rename NoReferencesBot.run to treat [pywikibot/core] - 10https://gerrit.wikimedia.org/r/636202 [21:43:46] 10Pywikibot, 10Pywikibot-Scripts: noreferences.py: "cite_error_refs_without_references_category" has been dropped for 6 years - https://phabricator.wikimedia.org/T266413 (10Xqt) 05Open→03Resolved a:03Xqt