Comments (4)
possible duplicate of issue #32
from gdrive-to-commons.
Hi @NdibeRaymond ,
I have just gone through the issue #32 .
I have found out that you have not mentioned the actual results clearly and i feel that the issue has been just mentioned vaguely. That's why I have added this issue.
Thanks!
from gdrive-to-commons.
Thank you guys. Can you also paste the result of the network call (from inspector in the browser) to the POST call to upload/
. We might find some answers there.
from gdrive-to-commons.
I have followed the local environment setup instructions that were mentioned in the documentation. I have got all the Google Cloud Platform related keys and pasted them in the local settings.
Then, I have started the process to request for an OAuth client using Wikimedia:OAuth by filling the following form: https://meta.wikimedia.org/wiki/Special:OAuthConsumerRegistration/propose
In the 1st try, I have set the MediaWiki OAuth Callback URL as http://127.0.0.1:8000/ (Local host) and I was facing a problem while running the application
In the 2nd try, I have set the MediaWiki OAuth Callback URL as https://tools.wmflabs.org/google-drive-photos-to-commons/upload/? (Choose Photos from Google Drive button page) and I have got both the keys.
Then I have pasted the keys in local_settings.py file and then I have Run the Django standard runserver. Now I'm able to upload the file to Wikimedia commons from google drive successfully as shown below.
Also, I have used the dev keys as given in the https://phabricator.wikimedia.org/P10014
The only keys I have changed are the OAuth client using Wikimedia:OAuth because I felt there was a mistake in the callback URL.
I'm also able to upload images multiple times.
Hence I would request you to generate new OAuth client using Wikimedia:OAuth by setting the MediaWiki OAuth Callback URL as https://tools.wmflabs.org/google-drive-photos-to-commons/upload/? (Choose Photos from Google Drive button page) and paste both the newly generated keys in local settings.py and run the tool and test it.
So, I feel that the solution for the primary bug is found out now and it would be a great help if you can test this method and let me know.
from gdrive-to-commons.
Related Issues (20)
- Compress images before upload HOT 3
- Token error: Missing unauthorized token HOT 1
- Improve the design of the main screen that has agreement info HOT 3
- Document the use of Prettier in the project HOT 3
- Make the tool more responsive and mobile friendly HOT 2
- Upload from Google drive to wikimedia stuck at 75% HOT 6
- After login, files are listed in a random order
- Not able to select multiple images HOT 3
- Inform the users that they can edit the details of the image and addition of details
- Create setup guide for windows users HOT 3
- Improve the accessibility of this tool HOT 2
- Button "choose photos from google drive" not working HOT 2
- Button 'I've read and accept the privacy policy' turns completely blue when clicked
- Tool is not working in internet explorer HOT 2
- Show a loading spinner when uploading images HOT 1
- Handle errors during upload process and show user friendly messages with modal HOT 1
- Create documentation to configure app to upload to a local test wiki HOT 2
- Post upload, show a better screen listing uploaded files HOT 1
- style: Lets make "Date of Creation (first published)" column header a bit nicer ? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gdrive-to-commons.