tonythomas01 / gdrive-to-commons

Tool to upload pictures from Google Drive to Wikimedia Commons ⚠️ Moved to Wikimedia Gerrit, so this repo is read only.
https://gdrive-to-commons.toolforge.org/
Apache License 2.0
9 stars 10 forks source link

Upload from Google drive to wikimedia stuck at 75% #32

Closed NdibeRaymond closed 4 years ago

NdibeRaymond commented 4 years ago

I tried using this tool on my mobile phone as well as on my laptop and in both cases, it doesn't move beyond 75%. Maybe this has something to do with my account but I would love it if someone can confirm.

To Reproduce Steps to reproduce the behavior:

  1. Open up the tool on either your mobile phone or laptop and try uploading from Google drive to wikimedia

Expected behavior The upload should complete successfully but it isn't

Image gdrive_to_wikimediacommons_test_drive

Desktop (please complete the following information):

Smartphone (please complete the following information):

NdibeRaymond commented 4 years ago

I would love to work on this @tonythomas01

tonythomas01 commented 4 years ago

Interesting. Yes, we should fix this. Btw, I would love to see the response from the POST to upload network call to see if we have some error at the backend.

Also, see that any picture you upload goes directly to Wikimedia Commons.

NdibeRaymond commented 4 years ago

@tonythomas01 This issue has been reported in Phabricator by another user so no need duplicating it. I would love to solve it though

NdibeRaymond commented 4 years ago

the response from the network is server error 500. its definitely something from the backend

sonegillis commented 4 years ago

I had a server error too. I found out that the reason was because I didn't set the correct WIKI_URL in local_settings.py file. I set it to "test.wikipedia.com" and it gave me another error from google auth which was because I didn't enable google drive api while creating my project on my google account. After enabling, I can now successfully upload upload-success

tonythomas01 commented 4 years ago

Cannot reproduce with latest instructions. Closing as invalid. Thank you for reporting though :)