toolforge / video2commons

Transfer video and audio from external sites to Commons.
https://video2commons.toolforge.org/
GNU General Public License v3.0
43 stars 24 forks source link

APIError: uploadstash-bad-path #205

Open Yannf opened 3 months ago

Yannf commented 3 months ago

Now I got while uploading https://ok.ru/video/382960275816 this message. However I already successfully uploaded a video from this website.

An exception occurred: MaybeEncodingError: b'(\'\\\'PicklingError("Can\\\\\\\'t pickle <class \\\\\\\'video2commons.exceptions.TaskError\\\\\\\'>: import of module \\\\\\\'video2commons.exceptions\\\\\\\' failed")\\\'\', \'\\\'(1, <ExceptionInfo: TaskError(b\\\\\\\'pywikibot.Error: APIError: uploadstash-bad-path: Path doesn\\\\\\\\\\\\\\\'t exist.\\\\\\\\n[param: b\\\\\\\\\\\\\\\'--===============3082271254617086896==\\\\\\\\\\\\\\\\nContent-Type: text/plain\\\\\\\\\\\\\\\\nMIME-Version: 1.0\\\\\\\\\\\\\\\\nContent-disposition: form-data; name="action"\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\nupload\\\\\\\\\\\\\\\\n--===============3082271254617086896==\\\\\\\\\\\\\\\\nContent-Type: text/plain\\\\\\\\\\\\\\\\nMIME-Version: 1.0\\\\\\\\\\\\\\\\nContent-disposition: form-data; name="token"\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\n740e0024ced90e56a6340214413aa870668769b1+\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n--===============3082271254617086896==\\\\\\\\\\\\\\\\nContent-Type: text/plain\\\\\\\\\\\\\\\\nMIME-Version: 1.0\\\\\\\\\\\\\\\\nContent-disposition: form-data; name="stash"\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\n--===============3082271254617086896==\\\\\\\\\\\\\\\\nContent-Type: text/plain\\\\\\\\\\\\\\\\nMIME-Version: 1.0\\\\\\\\\\\\\\\\nContent-disposition: form-data; name="filesize"\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\n561002928\\\\\\\\\\\\\\\\n--===============3082271254617086896==\\\\\\\\\\\\\\\\nContent-Type: text/plain\\\\\\\\\\\\\\\\nMIME-Version: 1.0\\\\\\\\\\\\\\\\nContent-disposition: form-data; name="offset"\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\n100663296\\\\\\\\\\\\\\\\n--===============3082271254617086896==\\\\\\\\\\\\\\\\nContent-Type: application/octet-stream\\\\\\\\\\\\\\\\nMIME-Version: 1.0\\\\\\\\\\\\\\\\nContent-disposition: form-data; name="filename"\\\\\\\\\\\\\\\\nContent-Transfer-Encoding: binary\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\xd0\\\\\\\\\\\\\\\\xa1\\\\\\\\\\\\\\\\xd0\\\\\\\\\\\\\\\\xb5\\\\\\\\\\\\\\\\xd1\\\\\\\\\\\\\\\\x80\\\\\\\\\\\\\\\\xd0\\\\\\\\\\\\\\\\xb3\\\\\\\\\\\\\\\\xd0\\\\\\\\\\\\\\\\xbe \\\\\\\\\\\\\\\\xd0\\\\\\\\\\\\\\\\x9e\\\\\\\\\\\\\\\\xd1\\\\\\\\\\\\\\\\x80\\\\\\\\\\\\\\\\xd0\\\\\\\\\\\\\\\\xb4\\\\\\\\\\\\\\\\xd0\\\\\\\\\\\\\\\\xb6\\\\\\\\\\\\\\\\xd0\\\\\\\\\\\\\\\\xbe\\\\\\\\\\\\\\\\xd0\\\\\\\\\\\\\\\\xbd\\\\\\\\\\\\\\\\xd0\\\\\\\\\\\\\\\\xb8\\\\\\\\\\\\\\\\xd0\\\\\\\\\\\\\\\\xba\\\\\\\\\\\\\\\\xd0\\\\\\\\\\\\\\\\xb8\\\\\\\\\\\\\\\\xd0\\\\\\\\\\\\\\\\xb4\\\\\\\\\\\\\\\\xd0\\\\\\\\\\\\\\\\xb7\\\\\\\\\\\\\\\\xd0\\\\\\\\\\\\\\\\xb5 - \\\\\\\\\\\\\\\\xd0\\\\\\\\\\\\\\\\x94\\\\\\\\\\\\\\\\xd0\\\\\\\\\\\\\\\\xb7\\\\\\\\\\\\\\\\xd0\\\\\\\\\\\\\\\\xb8\\\\\\\\\\\\\\\\xd0\\\\\\\\\\\\\\\\xb3\\\\\\\\\\\\\\\\xd0\\\\\\\\\\\\\\\\xb0 \\\\\\\\\\\\\\\\xd0\\\\\\\\\\\\\\\\x92\\\\\\\\\\\\\\\\xd0\\\\\\\\\\\\\\\\xb5\\\\\\\\\\\\\\\\xd1\\\\\\\\\\\\\\\\x80\\\\\\\\\\\\\\\\xd1\\\\\\\\\\\\\\\\x82\\\\\\\\\\\\\\\\xd0\\\\\\\\\\\\\\\\xbe\\\\\\\\\\\\\\\\xd0\\\\\\\\\\\\\\\\xb2 - In the Memory of Sergo Ordzhonikidze (1937) by Dziga Vertov.webm\\\\\\\\\\\\\\\\n--===============3082271254617086896==\\\\\\\\\\\\\\\\nContent-Type: text/plain\\\\\\\\\\\\\\\\nMIME-Version: 1.0\\\\\\\\\\\\\\\\nContent-disposition: form-data; name="async"\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\n--===============3082271254617086896==\\\\\\\\\\\\\\\\nContent-Type: text/plain\\\\\\\\\\\\\\\\nMIME-Version: 1.0\\\\\\\\\\\\\\\\nContent-disposition: form-data; name="assert"\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\nuser\\\\\\\\\\\\\\\\n--===============3082271254617086896==\\\\\\\\\\\\\\\\nContent-Type: text/plain\\\\\\\\\\\\\\\\nMIME-Version: 1.0\\\\\\\\\\\\\\\\nContent-disposition: form-data; name="filekey"\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\n1b1q8t91wisg.2kkdc4.1.webm\\\\\\\\\\\\\\\\n--===============3082271254617086896==\\\\\\\\\\\\\\\\nContent-Type: text/plain\\\\\\\\\\\\\\\\nMIME-Version: 1.0\\\\\\\\\\\\\\\\nContent-disposition: form-data; name="maxlag"\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\n5\\\\\\\\\\\\\\\\n--===============3082271254617086896==\\\\\\\\\\\\\\\\nContent-Type: text/plain\\\\\\\\\\\\\\\\nMIME-Version: 1.0\\\\\\\\\\\\\\\\nContent-disposition: form-data; name="format"\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\njson\\\\\\\\\\\\\\\\n--===============3082271254617086896==\\\\\\\\\\\\\\\\nContent-Type: application/octet-stream\\\\\\\\\\\\\\\\nMIME-Version: 1.0\\\\\\\\\\\\\\\\nContent-disposition: form-data; name="chunk"; filename="FAKE-NAME"\\\\\\\\\\\\\\\\nContent-Transfer-Encoding: binary\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\n/\\\\\\\\\\\\\\\\xc4\\\\\\\\\\\\\\\\xdeV\\\\\\\\\\\\\\\\xaa.V\\\\\\\\\\\\\\\\x8d\\\\\\\\\\\\\\\\x7f\\\\\\\\\\\\\\\\xfa0\\\\\\\\\\\\\\\\xcbU+j\\\\\\\\\\\\\\\\xd7\\\\\\\\\\\\\\\\xf0\\\\\\\\\\\\\\\\xe3\\\\\\\\\\\\\\\\xf0\\\\\\\\\\\\\\\\xe2\\\\\\\\\\\\\\\\xc5d\\\\\\\\\\\\\\\\x92\\\\\\\\\\\\\\\\xeb\\\\\\\\\\\\\\\\x91\\\\\\\\\\\\\\\\xa6\\\\\\\\\\\\\\\\x9e\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\x9a\\\\\\\\\\\\\\\\x02\\\\\\\\\\\\\\\\xf0\\\\\\\\\\\\\\\\xd4o\\\\\\\\\\\\\\\\x11n\\\\\\\\\\\\\\\\x02\\\\\\\\\\\\\\\\x9dH@<\\\\\\\\\\\\\\\\x02\\\\\\\\\\\\\\\\xd9\\\\\\\\\\\\\\\\xad(me\\\\\\\\\\\\\\\\xf4\\\\\\\\\\\\\\\\x02f\\\\\\\\\\\\\\\\x05\\\\\\\\\\\\\\\\xe8>\\\\\\\\\\\\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\\\\\\\\\\\\\\\xd2\\\\\\\\\\\\\\\\x11\\\\\\\\\\\\\\\\x01j1\\\\\\\\\\\\\\\\xe5\\\\\\\\\\\\\\\\x8c\\\\\\\\\\\\\\\\xc6\\\\\\\\\\\\\\\\x9d\\\\\\\\\\\\\\\\xac\\\\\\\\\\\\\\\\x89\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\x18t\\\\\\\\\\\\\\\\x1bQ\\\\\\\\\\\\\\\\xf1\\\\\\\\\\\\\\\\x98\\\\\\\\\\\\\\\\xbc\\\\\\\\\\\\\\\\x84\\\\\\\\\\\\\\\\xff\\\\\\\\\\\\\\\\x88\\\\\\\\\\\\\\\\xe2\\\\\\\\\\\\\\\\xa4\\\\\\\\\\\\\\\\x84\\\\\\\\\\\\\\\\xa5\\\\\\\\\\\\\\\\x88\\\\\\\\\\\\\\\\xd6P-\\\\\\\\\\\\\\\\xdaq\\\\\\\\\\\\\\\\x10\\\\\\\\\\\\\\\\x1b[j&\\\\\\\\\\\\\\\\x9ce\\\\\\\\\\\\\\\\xa3\\\\\\\\\\\\\\\\xa4\\\\\\\\\\\\\\\\x0e\\\\\\\\\\\\\\\\xa2DP\\\\\\\\\\\\\\\\xe3\\\\\\\\\\\\\\\\xd1\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'\\\\\\\\\\\\\\\\x8aIn!\\\\\\\\\\\\\\\\x87\\\\\\\\\\\\\\\\x02\\\\\\\\\\\\\\\\x80?\\\\\\\\\\\\

Yannf commented 3 months ago

Idem from https://www.youtube.com/watch?v=g8dlM6u-peA

don-vip commented 2 months ago

New code deployed, can you please try again?