I got an error while uploading files with pywikibot on Commons.
Other files from the same batch uploaded fine: https://commons.wikimedia.org/wiki/File:Quatrevingttreize_03_hugo_128kb.mp3
Error
https://www.archive.org/download/quatrevingttreize_2207_librivox/quatrevingttreize_04_hugo.mp3 WARNING: API error backend-fail-internal: An unknown error occurred in storage backend "local-swift-eqiad". Traceback (most recent call last): File "/cygdrive/c/Users/yannf/OneDrive/Documents/core_stable/librivox.py", line 94, in <module> filepage.upload( File "/cygdrive/c/Users/yannf/OneDrive/Documents/core_stable/pywikibot/page/_filepage.py", line 267, in upload return self.site.upload(self, source_filename=filename, source_url=url, File "/cygdrive/c/Users/yannf/OneDrive/Documents/core_stable/pywikibot/site/_decorators.py", line 92, in callee return fn(self, *args, **kwargs) File "/cygdrive/c/Users/yannf/OneDrive/Documents/core_stable/pywikibot/site/_apisite.py", line 2853, in upload return Uploader(self, filepage, **kwargs).upload() File "/cygdrive/c/Users/yannf/OneDrive/Documents/core_stable/pywikibot/site/_upload.py", line 133, in upload return self._upload(self.ignore_warnings, self.report_success) File "/cygdrive/c/Users/yannf/OneDrive/Documents/core_stable/pywikibot/site/_upload.py", line 435, in _upload return self.submit(final_request, result, data.get('result'), File "/cygdrive/c/Users/yannf/OneDrive/Documents/core_stable/pywikibot/site/_upload.py", line 455, in submit result = request.submit()['upload'] File "/cygdrive/c/Users/yannf/OneDrive/Documents/core_stable/pywikibot/data/api/_requests.py", line 1088, in submit raise pywikibot.exceptions.APIError(**args) pywikibot.exceptions.APIError: backend-fail-internal: An unknown error occurred in storage backend "local-swift-eqiad". [param: action=upload&filename=Quatrevingttreize+04+hugo.mp3&url=https%3A%2F%2Fwww.archive.org%2Fdownload%2Fquatrevingttreize_2207_librivox%2Fquatrevingttreize_04_hugo.mp3&comment=%3D%3D+%7B%7Bint%3Afiledesc%7D%7D+%3D%3D%0A%7B%7BInformation%0A%7CDescription%3D%7B%7Ben%7C%27%27Quatre-vingt-treize%27%27%2C+by+Victor+Hugo%2C+in+French.+LibriVox+recording+by+Bidou.+%27%271%C3%A9re+partie+-+livre+troisi%C3%A8me%27%27.%7D%7D%0A%7B%7Bfr%7C%27%27Quatre-vingt-treize%27%27%2C+par+Victor+Hugo.+Enregistrement+LibriVox+par+Bidou.+%27%271%C3%A9re+partie+-+livre+troisi%C3%A8me%27%27.%7D%7D%0A%7CSource%3Dhttps%3A%2F%2Farchive.org%2Fdetails%2Fquatrevingttreize_2207_librivox+https%3A%2F%2Flibrivox.org%2Fquatrevingt-treize-by-victor-hugo%2F%0A%7CDate%3D2022-07-25%0A%7CAuthor%3D%7B%7BCreator%3AVictor+Hugo%7D%7D%0A%7CPermission%3D%0A%7Cother_versions%3D%0A%7D%7D%0A%0A%3D%3D+%7B%7Bint%3Alicense-header%7D%7D+%3D%3D%0ARecording%3A%0A%7B%7BLibriVox+public+domain%7D%7D%0AOriginal%0A%7B%7BPD-old-100-expired%7D%7D%0A%0A%5B%5BCategory%3ALibriVox+-+Quatre-vingt-treize%2C+by+Victor+Hugo%5D%5D%0A%5B%5BCategory%3AFiles+uploaded+by+Yann+Forget%5D%5D%0A&text=%3D%3D+%7B%7Bint%3Afiledesc%7D%7D+%3D%3D%0A%7B%7BInformation%0A%7CDescription%3D%7B%7Ben%7C%27%27Quatre-vingt-treize%27%27%2C+by+Victor+Hugo%2C+in+French.+LibriVox+recording+by+Bidou.+%27%271%C3%A9re+partie+-+livre+troisi%C3%A8me%27%27.%7D%7D%0A%7B%7Bfr%7C%27%27Quatre-vingt-treize%27%27%2C+par+Victor+Hugo.+Enregistrement+LibriVox+par+Bidou.+%27%271%C3%A9re+partie+-+livre+troisi%C3%A8me%27%27.%7D%7D%0A%7CSource%3Dhttps%3A%2F%2Farchive.org%2Fdetails%2Fquatrevingttreize_2207_librivox+https%3A%2F%2Flibrivox.org%2Fquatrevingt-treize-by-victor-hugo%2F%0A%7CDate%3D2022-07-25%0A%7CAuthor%3D%7B%7BCreator%3AVictor+Hugo%7D%7D%0A%7CPermission%3D%0A%7Cother_versions%3D%0A%7D%7D%0A%0A%3D%3D+%7B%7Bint%3Alicense-header%7D%7D+%3D%3D%0ARecording%3A%0A%7B%7BLibriVox+public+domain%7D%7D%0AOriginal%0A%7B%7BPD-old-100-expired%7D%7D%0A%0A%5B%5BCategory%3ALibriVox+-+Quatre-vingt-treize%2C+by+Victor+Hugo%5D%5D%0A%5B%5BCategory%3AFiles+uploaded+by+Yann+Forget%5D%5D%0A&assert=user&maxlag=5&format=json&token=<redacted>; stasherrors: [{'message': 'uploadstash-exception', 'params': ['UploadStashBadPathException', "Path doesn't exist."], 'code': 'uploadstash-exception', 'type': 'error'}]; servedby: mw1392; help: See https://commons.wikimedia.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes.] CRITICAL: Exiting due to uncaught exception APIError: backend-fail-internal: An unknown error occurred in storage backend "local-swift-eqiad". [param: action=upload&filename=Quatrevingttreize+04+hugo.mp3&url=https%3A%2F%2Fwww.archive.org%2Fdownload%2Fquatrevingttreize_2207_librivox%2Fquatrevingttreize_04_hugo.mp3&comment=%3D%3D+%7B%7Bint%3Afiledesc%7D%7D+%3D%3D%0A%7B%7BInformation%0A%7CDescription%3D%7B%7Ben%7C%27%27Quatre-vingt-treize%27%27%2C+by+Victor+Hugo%2C+in+French.+LibriVox+recording+by+Bidou.+%27%271%C3%A9re+partie+-+livre+troisi%C3%A8me%27%27.%7D%7D%0A%7B%7Bfr%7C%27%27Quatre-vingt-treize%27%27%2C+par+Victor+Hugo.+Enregistrement+LibriVox+par+Bidou.+%27%271%C3%A9re+partie+-+livre+troisi%C3%A8me%27%27.%7D%7D%0A%7CSource%3Dhttps%3A%2F%2Farchive.org%2Fdetails%2Fquatrevingttreize_2207_librivox+https%3A%2F%2Flibrivox.org%2Fquatrevingt-treize-by-victor-hugo%2F%0A%7CDate%3D2022-07-25%0A%7CAuthor%3D%7B%7BCreator%3AVictor+Hugo%7D%7D%0A%7CPermission%3D%0A%7Cother_versions%3D%0A%7D%7D%0A%0A%3D%3D+%7B%7Bint%3Alicense-header%7D%7D+%3D%3D%0ARecording%3A%0A%7B%7BLibriVox+public+domain%7D%7D%0AOriginal%0A%7B%7BPD-old-100-expired%7D%7D%0A%0A%5B%5BCategory%3ALibriVox+-+Quatre-vingt-treize%2C+by+Victor+Hugo%5D%5D%0A%5B%5BCategory%3AFiles+uploaded+by+Yann+Forget%5D%5D%0A&text=%3D%3D+%7B%7Bint%3Afiledesc%7D%7D+%3D%3D%0A%7B%7BInformation%0A%7CDescription%3D%7B%7Ben%7C%27%27Quatre-vingt-treize%27%27%2C+by+Victor+Hugo%2C+in+French.+LibriVox+recording+by+Bidou.+%27%271%C3%A9re+partie+-+livre+troisi%C3%A8me%27%27.%7D%7D%0A%7B%7Bfr%7C%27%27Quatre-vingt-treize%27%27%2C+par+Victor+Hugo.+Enregistrement+LibriVox+par+Bidou.+%27%271%C3%A9re+partie+-+livre+troisi%C3%A8me%27%27.%7D%7D%0A%7CSource%3Dhttps%3A%2F%2Farchive.org%2Fdetails%2Fquatrevingttreize_2207_librivox+https%3A%2F%2Flibrivox.org%2Fquatrevingt-treize-by-victor-hugo%2F%0A%7CDate%3D2022-07-25%0A%7CAuthor%3D%7B%7BCreator%3AVictor+Hugo%7D%7D%0A%7CPermission%3D%0A%7Cother_versions%3D%0A%7D%7D%0A%0A%3D%3D+%7B%7Bint%3Alicense-header%7D%7D+%3D%3D%0ARecording%3A%0A%7B%7BLibriVox+public+domain%7D%7D%0AOriginal%0A%7B%7BPD-old-100-expired%7D%7D%0A%0A%5B%5BCategory%3ALibriVox+-+Quatre-vingt-treize%2C+by+Victor+Hugo%5D%5D%0A%5B%5BCategory%3AFiles+uploaded+by+Yann+Forget%5D%5D%0A&assert=user&maxlag=5&format=json&token=<redacted>; stasherrors: [{'message': 'uploadstash-exception', 'params': ['UploadStashBadPathException', "Path doesn't exist."], 'code': 'uploadstash-exception', 'type': 'error'}]; servedby: mw1392; help: See https://commons.wikimedia.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes.]
Impact
File failed to upload. Bot crashed.