Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
using python scripts wiht gimp 2.10 flatpak
#3
Some observations.

There is already a clothify but a script-fu For a flatpak buried in 
/var/lib/flatpak/app/org.gimp.GIMP/x86_64/stable/active/files/share/gimp/2.0/scripts/

The python version as posted gives an error on my installation.
Traceback (most recent call last):
  File "/home/rich/gimp-flat-plugin/clothify.py", line 5, in <module>
    have_gimp11 = gimp.major_version > 1 or \

    
but there is a python version here: 
https://gitlab.gnome.org/GNOME/gimp/-/tr...p/plug-ins

For any Gimp, especially flatpak, if you use it frequently and add resources, make an easy to find folder and add to the resource path.

   

Both scm and py working here, can't see any difference in results.

   

Edit:
Quote:I had to create the folder because it was not done by the installation for some reason.

I have come across this before, seems linked to having a Gimp user profile (~/.config/GIMP)  left over from an existing/old installation.

If you start the flatpak in a terminal flatpak run org.gimp.GIMP rather than from the menu you might get a clue from any error message.
Reply


Messages In This Thread
RE: using python scripts wiht gimp 2.10 flatpak - by rich2005 - 04-21-2023, 08:39 AM

Forum Jump: