Kevin Payne is a user on mastodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

You can now post your pics from gimp.

I ported like 80% of my krita plugin to #gimp. it's alpha but does the job.

single py file you just install in ~/.gimp-2.8/plug-ins on #linux
(make plugin executable)

not macOS compatible. Windows untested atm

Download:
github.com/spaceottercode/gimp

#opensource #mastodon #mastoart #toot #python

Kevin Payne @paynekj@mastodon.social
Follow

@spaceotter

I'm trying it on Windows 7...

Don't like the popup to tell me to create an account, that doesn't have an OK button.

I assume that after I enter the Mastodon Server URL and press authorize I would get a dialog asking for username/password? Because it seems to hang at that point.

· Web · 0 · 0

@spaceotter

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.

@spaceotter
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 gimp-forum.net/Thread-Debuggin 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.

@paynekj

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.

@paynekj

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