yarl / pattypan

Upload files to Wikimedia Commons. The Spreadsheet Way.
https://commons.wikimedia.org/wiki/Commons:Pattypan
MIT License
56 stars 37 forks source link

Failure to upload on Mac (v22.02 and 20.04) #153

Closed watty62 closed 2 years ago

watty62 commented 2 years ago

I've been testing 20.04 and now 22.02 on Mac OSX (Monterey 12.1). In each case, Pattypan runs ok, allows me to generate a spreadsheet. I can validate ok and then try to upload. It authenticates and starts to upload but never finishes, even if I leave one file to upload for 2 hours.

This is the output. I hope that it is helpful.

(base) ian@MacBook-Pro-2 Desktop % java --module-path "/Users/ian/javafx-sdk-17/lib" --add-modules javafx.web -jar pattypan.jar Feb 07, 2022 7:01:15 PM pattypan.Main main INFO: Wiki set as: commons.wikimedia.org Protocol set as: https:// Script path set as: /w Feb 07, 2022 7:01:15 PM pattypan.Main main INFO: Operating System: Mac OS X Pattypan Version: 22.02 Feb 07, 2022 7:01:59 PM Wiki getToken INFO: Fetching URL https://commons.wikimedia.org/w/api.php?&maxlag=5&meta=tokens&format=xml&action=query&type=login Feb 07, 2022 7:01:59 PM Wiki login INFO: Fetching URL https://commons.wikimedia.org/w/api.php?&maxlag=5&format=xml&action=login Feb 07, 2022 7:02:00 PM Wiki getUserInfo INFO: Fetching URL https://commons.wikimedia.org/w/api.php?&usprop=editcount%7Cgroups%7Crights%7Cemailable%7Cblockinfo%7Cgender%7Cregistration&maxlag=5&format=xml&action=query&list=users Feb 07, 2022 7:02:01 PM Wiki getSiteInfo INFO: Fetching URL https://commons.wikimedia.org/w/api.php?&siprop=namespaces%7Cnamespacealiases%7Cgeneral%7Cextensions&maxlag=5&meta=siteinfo&format=xml&action=query Feb 07, 2022 7:02:01 PM Wiki getSiteInfo INFO: [commons.wikimedia.org] Successfully retrieved site info for commons.wikimedia.org Feb 07, 2022 7:02:01 PM Wiki getUsers INFO: [commons.wikimedia.org] Successfully retrieved user info for 1 users. Feb 07, 2022 7:02:01 PM Wiki login INFO: [commons.wikimedia.org] Successfully logged in as watty62, highLimit = false Feb 07, 2022 7:02:06 PM Wiki getPageInfo INFO: Fetching URL https://commons.wikimedia.org/w/api.php?&maxlag=5&prop=info&inprop=protection%7Cdisplaytitle%7Cwatchers&format=xml&action=query Feb 07, 2022 7:02:06 PM Wiki getPageInfo INFO: [commons.wikimedia.org] Successfully retrieved page info for 1 pages. Feb 07, 2022 7:02:06 PM Wiki getPageInfo INFO: Fetching URL https://commons.wikimedia.org/w/api.php?&maxlag=5&prop=info&inprop=protection%7Cdisplaytitle%7Cwatchers&format=xml&action=query Feb 07, 2022 7:02:06 PM Wiki getPageInfo INFO: [commons.wikimedia.org] Successfully retrieved page info for 1 pages. Feb 07, 2022 7:02:06 PM Wiki getToken INFO: Fetching URL https://commons.wikimedia.org/w/api.php?&maxlag=5&meta=tokens&format=xml&action=query&type=csrf Feb 07, 2022 7:02:07 PM Wiki upload INFO: Fetching URL https://commons.wikimedia.org/w/api.php?&maxlag=5&format=xml&action=upload

It goes no further than that.

watty62 commented 2 years ago

Duplicate of better formatted #154