Page MenuHomePhabricator

Upload error in video2common: An exception occurred: AttributeError: b"module 'pywikibot.data.api' has no attribute 'APIError'"
Open, Needs TriagePublicBUG REPORT

Assigned To
None
Authored By
Bennylin
Jun 14 2023, 7:28 AM
Referenced Files
F37112605: image.png
Jun 22 2023, 12:21 PM
F37103123: image.png
Jun 14 2023, 7:28 AM
Subscribers

Description

Steps to replicate the issue (include links if applicable):

  • Try to upload an mp4 file. Get to 100%, but then this error: An exception occurred: AttributeError: b"module 'pywikibot.data.api' has no attribute 'APIError'"

image.png (220×1 px, 159 KB)

  • Tried other files, same result. Tried to convert to webm locally before uploading, same result. Friend tried in different place, same result.
  • Filesize: ~25 MB

What happens?:

An exception occurred: AttributeError: b"module 'pywikibot.data.api' has no attribute 'APIError'"

Cannot upload.

What should have happened instead?:

Can convert and upload mp4 video to Commons.

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

I'm trying again, and now the error have changed

  • I clicked the orange button "restart" (mulai ulang)
  • got error `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: UploadError: exists-normalized: File exists with different extension as \\\\\\\'Saron_Pelog.jpg\\\\\\\'.")>, None)\\\'\')'`

image.png (299×1 px, 40 KB)