Page MenuHomePhabricator

New uploads receiving apparently false empty-file API errors
Closed, DuplicatePublic

Description

For the past 24 hours my Pywikibot based upload projects have been receiving the error response:

empty-file: The file you submitted was empty.

Example upload failures from direct url upload white-listed sources are:

Using a local cache and uploading from that appeared to make no difference, neither did uploading from my bot account. The local cache copies show there is nothing different about the files compared to previous batch upload runs from the same sources.

In the meantime, file overwrites using the same pywikibot upload module are working. Example https://commons.wikimedia.org/wiki/File:Tshi-zum-hau-kau_a_Winebago_LCCN2003670095.jpg at 13:33 today.

Event Timeline

Fae created this task.Dec 13 2018, 2:07 PM
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald TranscriptDec 13 2018, 2:07 PM

Isn't this more likely an API connectivity issue?

Fae added a comment.Dec 13 2018, 9:15 PM

Connectivity from where to where? The direct URL upload does not even touch my client end, so I have no idea what can be checked.

Fae added a comment.Dec 14 2018, 11:18 AM

After 24 hours of "outage", the exact same sources are now uploading. Nothing has changed with my account or upload scripts, so something must have changed operationally.

This can be handled as a temporary bug, but without understanding the cause, this could knock out batch upload projects at any time.

Yann added a subscriber: Yann.Dec 15 2018, 7:48 AM

Works for me too.