Gimp-Forum.net
Python 2 support - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions)
+--- Thread: Python 2 support (/Thread-Python-2-support)

Pages: 1 2


Python 2 support - akovia - 03-26-2020

When I recently updated to 2.10.18-4, Heal Selection stopped working. I'm sure quite a few other plugins were broken as well, but I stopped and rolled back to 2.10.18-2 as I was in the middle of a project.

Today I was trying to see if anyone else had problems after this recent update and couldn't find anything. After installing it again, I realized I had missed a message during installation.

Code:
(1/3) upgrading gimp                                                                                                                                                                                          
 > The python2 plugin support is disabled, you will need to install this
 > separately if you need it, e.g. the python2-gimp package in the AUR.

Of course I then tried to install this package.

Code:
$ yay python2-gimp
1 aur/python2-gimp 2.10.18-1 (+2 1.76%) (Orphaned)

It appears to be orphaned and indeed the download failed. I figured out that download.gimp.org was offline and used a mirror instead. After building and installing this package, everything is back up and working.

So my question is if anyone else is having these issues, or is this just an Arch Linux issue right now? 

Is there a discussion somewhere on the future of python2 dependencies and converting old plugins to python3?


RE: Python 2 support - rich2005 - 03-26-2020

It is the case for Ubuntu (and versions) that the gimp-python package is not a dependency anymore.
It is not automatically installed with Gimp 2.10 , the user has to add it. Why this differs from Gimp 2.8 where python support was included I do not know. Fortunately 'buntu users do not have to compile it, .deb package is there and if using a flatpak installation, already included.

However from a historical view, python support was not included in versions up to Gimp 2.4 Similar to now, the user had to add it.

Discussions of backward compatibility? You will have to ask the developers


RE: Python 2 support - akovia - 03-26-2020

Thanks rich.

I was curious as to why Resynthesizer hadn't been ported yet being such a core plugin and found my answer.

https://github.com/bootchk/resynthesizer/issues/67

I guess things will just be in flux for a while, but it's so much better than being stagnant.

Cheers!


RE: Python 2 support - Ofnuts - 03-26-2020

AFAIK Python3 support is in plan for Gimp v3. But it looks quite different from the Python2 bindings.


RE: Python 2 support - Redraw - 03-27-2020

Hello

I have a similar thing happen and
I started just by removing the plugins and could not get them reinstalled =faulted at terminal could not finish reinstall of plugins

was going to Completely remove Gimp and dot files then re-install Gimp and plugins from aur instead went looking to see if anyone else had same issues

So do we
let Gimp be as it is for now = plugins not all working
Gimp still works more manual crafting to get the same work done
aka creativity
Eh that's OK I'm not having to catch the train now so got time
and
wait patiently for Gimp V3 then do a completely fresh install of Gimp inc dot files
All new and shiny with fresh problems  joke joke Smile


RE: Python 2 support - Ofnuts - 03-27-2020

Still works on Ubuntu... even if we are all waiting for the 2.10.18 package...


RE: Python 2 support - rich2005 - 03-27-2020

(03-27-2020, 11:04 AM)Ofnuts Wrote: Still works on Ubuntu... even if we are all waiting for the 2.10.18 package...

Not looking very promising, Stettin has had a couple of tries over the past month. Guessing problems with dependency versions not very up to date in 'buntu.  
https://launchpad.net/~otto-kesselgulasch/+archive/ubuntu/gimp-stable-prepare


RE: Python 2 support - Redraw - 04-04-2020

I tried again today and got packages, will try out how they work or not later somehow missed reading

(1/3) upgrading gimp
> The python2 plugin support is disabled, you will need to install this
> separately if you need it, e.g. the python2-gimp package in the AUR.

this
python2-gimp package

Thanks Akovia


RE: Python 2 support - Redraw - 04-04-2020

(04-04-2020, 03:03 AM)Redraw Wrote: I tried again today and got packages, will try out how they work or not later somehow missed reading

(1/3) upgrading gimp                                                                                                                                                                                          
> The python2 plugin support is disabled, you will need to install this
> separately if you need it, e.g. the python2-gimp package in the AUR.

this
python2-gimp package

Thanks Akovia

Edit
I must not rush when I read or get a bigger screen
python2-gimp package did the trick
and yes Akovia resynthersizer just tested it and working fine Thanks
also to all that help out here
Thank you for the time you all spare to help the rest of us ( creative community ) with good reading of hints tips and advice
and stay inside and stay safe
Please

(04-04-2020, 07:55 AM)Redraw Wrote:
(04-04-2020, 03:03 AM)Redraw Wrote: I tried again today and got packages, will try out how they work or not later somehow missed reading

(1/3) upgrading gimp                                                                                                                                                                                          
> The python2 plugin support is disabled, you will need to install this
> separately if you need it, e.g. the python2-gimp package in the AUR.

this
python2-gimp package

Thanks Akovia

Edit
I must not rush when I read or get a bigger screen
python2-gimp package did the trick and re-installed gimp-plugin-registry after mucking about days ago
and yes Akovia resynthersizer just tested it and working fine Thanks
also to  all that help out here
Thank you for the time you all spare to help the rest of us ( creative community ) with good reading of hints tips and advice
and stay inside and stay safe
Please

(04-04-2020, 07:55 AM)Redraw Wrote:
(04-04-2020, 03:03 AM)Redraw Wrote: I tried again today and got packages, will try out how they work or not later somehow missed reading

(1/3) upgrading gimp                                                                                                                                                                                          
> The python2 plugin support is disabled, you will need to install this
> separately if you need it, e.g. the python2-gimp package in the AUR.

this
python2-gimp package

Thanks Akovia

Edit
I must not rush when I read or get a bigger screen
python2-gimp package did the trick
and yes Akovia resynthersizer just tested it and working fine Thanks
also to  all that help out here
Thank you for the time you all spare to help the rest of us ( creative community ) with good reading of hints tips and advice
and stay inside and stay safe
Please

[quote pid='17523' dateline='1585986902']


Edit

python2-gimp package did the trick and re-installed gimp-plugin-registry after mucking about days ago

[/quote]


RE: Python 2 support - akovia - 04-04-2020

Quote:python2-gimp package did the trick
and yes Akovia resynthersizer just tested it and working fine Thanks

Glad that helped someone. Sometimes those packages update so quickly and fly by on the terminal. It's always a good idea to have a very large terminal buffer to scroll back and read, or of course read the /var/log/pacman.log

I also have an alias to search the log if I want to look back. 
plogs="cat "/var/log/pacman.log" | grep -i -C 1 "$1""    # Search pacman.log


Quote:also to  all that help out here
Thank you for the time you all spare to help the rest of us ( creative community ) with good reading of hints tips and advice
and stay inside and stay safe Please

You found the right place to get help. I wish this place was around when I was just starting.
Cheers