Fae added a comment.
Some of these files do eventually upload, but they are not flagged as such, and the API appears to keep on with the 'retrying' loop. The example below is IA_catalogoftitleen33018libr <https://commons.wikimedia.org/wiki/File:Catalog_of_Title_Entries_of_Books_Etc._July_3-Dec_30_1893_5,_Nos._105-130_(IA_catalogoftitleen33018libr).pdf> which seems to have taken 48 minutes to actually upload, though the process keeps running for another hour before generating a (technically correct) error that the file now exists on the WMF servers, because the same process actually managed to complete some time before. Wikimedia Commons is effectively broken if uploading simple PDFs is unreliable, and even a "successful" upload might take 2 hours for a 43 MB file. 669/674 Catalog of Title Entries of Books Etc. July 3-Dec 30 1893 5, Nos. 105-130 12:19:43 Catalog of Title Entries of Books Etc. July 3-Dec 30 1893 5, Nos. 105-130 (IA catalogoftitleen33018libr).pdf https://archive.org/download/catalogoftitleen33018libr/catalogoftitleen33018libr.pdf 43.1M Sleeping for 7.5 seconds, 2020-06-07 12:19:48 WARNING: Waiting 5 seconds before retrying. WARNING: Waiting 10 seconds before retrying. WARNING: Waiting 20 seconds before retrying. WARNING: Waiting 40 seconds before retrying. WARNING: Waiting 80 seconds before retrying. WARNING: Waiting 120 seconds before retrying. WARNING: Waiting 120 seconds before retrying. WARNING: Waiting 120 seconds before retrying. WARNING: Waiting 120 seconds before retrying. WARNING: Waiting 120 seconds before retrying. WARNING: Waiting 120 seconds before retrying. WARNING: Waiting 120 seconds before retrying. WARNING: Waiting 120 seconds before retrying. WARNING: Waiting 120 seconds before retrying. WARNING: Waiting 120 seconds before retrying. WARNING: Waiting 120 seconds before retrying. WARNING: Waiting 120 seconds before retrying. WARNING: Waiting 120 seconds before retrying. WARNING: Waiting 120 seconds before retrying. WARNING: Waiting 120 seconds before retrying. WARNING: Waiting 120 seconds before retrying. WARNING: Waiting 120 seconds before retrying. WARNING: Waiting 120 seconds before retrying. WARNING: Waiting 120 seconds before retrying. WARNING: Http response status 503 WARNING: Non-JSON response received from server commons:commons; the server may be down. WARNING: Waiting 120 seconds before retrying. Maximum retries attempted without success. Maximum retries attempted without success. WARNING: Waiting 5 seconds before retrying. WARNING: Waiting 10 seconds before retrying. WARNING: Waiting 20 seconds before retrying. WARNING: Waiting 40 seconds before retrying. WARNING: Waiting 80 seconds before retrying. WARNING: Waiting 120 seconds before retrying. WARNING: Waiting 120 seconds before retrying. WARNING: Waiting 120 seconds before retrying. WARNING: Waiting 120 seconds before retrying. WARNING: Waiting 120 seconds before retrying. WARNING: Waiting 120 seconds before retrying. WARNING: Waiting 120 seconds before retrying. WARNING: Waiting 120 seconds before retrying. WARNING: Waiting 120 seconds before retrying. WARNING: Waiting 120 seconds before retrying. WARNING: Waiting 120 seconds before retrying. WARNING: Waiting 120 seconds before retrying. WARNING: Waiting 120 seconds before retrying. WARNING: ./scripts/ia_copyrightrecords.py:100: UserWarning: The upload returned 2 warnings: nochange, exists ignore_warnings = False, nochange: The upload is an exact duplicate of the current version of this file. TASK DETAIL https://phabricator.wikimedia.org/T254459 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Fae Cc: Dvorapa, Aklapper, pywikibot-bugs-list, Fae, JohnsonLee01, SHEKH, Dijkstra, CBogen, Biazzzzoo, Philoserf, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Poyekhali, Altostratus, Taiwania_Justo, Avicennasis, Ixocactus, Wong128hk, mys_721tx, Hydriz, El_Grafo, Dinoguy1000, jayvdb, Masti, Alchimista, Steinsplitter, Rxy, Jay8g, Keegan
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
