A very quick look at the code shows "print" statements. This is catastrophic on Windows as they get sent to a fixed size buffer that never gets flushed - causing hangs.
@paynekj it takes a moment. no more than a minute or two. did it bring up a web browser.
After redirecting the stderr and stdout I can see an error if the url contains htps://: undefined global url. Without that it opens a browser window, but that just times-out. On Windows running from the command line doesn't get you the output of the print statements. See https://www.gimp-forum.net/Thread-Debugging-python-fu-scripts-in-Windows?highlight=sys.stderr for how to redirect stderr/stdout
@paynekj I'm redirecting mine to a log file. I'll let you know what I find. At the moment I'm seeing an SSL issue.
released an update on github.
* fixes the missing url bug you pointed out. thank you.
*added an ok button to the popup.
* removed all other popups. For some reason these popups freeze under window (despite working on mac and linux).
* added logs. logs are created in the .gimptoot folder
these fixes might not be enough (there's an SSL issue), but could you please give it a try. thank you.
@spaceotter That seems to work. I was already logged into Mastodon when I added the URL and it took a couple of minutes to authorize, but it is successfully tooting pictures now.
@paynekj 🙌 🙌 yay. Hopefully I can get some further updates soon. I'll publicize any updates here.
np I'll add the ok button back.
after clicking authorize python should open a web browser. sometimes it opens a tab. on rare occasion no browser is launched...
I'll run it on Windows later today. I hope I can see those print statements if I run gimp from the command line (they should be only a few bytes. < 1KB )
Thank you for looking into. I'll let you kmow what i find/fix
Follow friends and discover new ones. Publish anything you want: links, pictures, text, video. This server is run by the main developers of the Mastodon project. Everyone is welcome as long as you follow our code of conduct!