Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ofn-text-along-path issues
#1
I've been trying to set up the ofn-text-along-path plugin/extension for the past few days, and it's just not showing up in GIMP. I assume I've done something horribly wrong, but I have no idea what. In the various forum posts I've looked at about it, and the docs that came in the .zip, it should show up in the path right click menu -> Tools -> Text Along Path..., but the Tools dropdown just isn't there. I'm assuming I've installed it wrong, or there's a dependency I'm missing, or something, but I'm just not sure what it is. It could be that I've done something else horribly wrong.

There's also always the possibility that its NixOS's fault, but I highly doubt it. The attached screenshot should contain all relevant information, but if there's something missing, I can provide it.


Attached Files Thumbnail(s)
   
Reply
#2
A quick look at NixOS on distrowatch and it looks like you get a Gimp 2.10.38 - Is that correct ?

it also shows default python packages as Python 3.xx

Gimp python plugins require Python 2.7 + a gimp-python package and these are missing from most up-to-date Gimp installations.

As a check, in the filters menu is there a Python-Fu entry ?

   

If not then python plugins do not work.  There are alternatives where Python 2.7 is bundled with Gimp 2.10 to enable python plugins.  The flatpak version, also some of the appimage Gimps.

I am packing in for the day now but if you post details you will get more advice.

(edit - not looking promising
Nix stores all packages in isolation from each other; as a result there are no /bin, /sbin, /lib or /usr directories and all packages are kept in /nix/store instead.}
Reply
#3
Yeah, that's how Nix works. It stores packages in isolation from eachother to keep everything reproducible, which is really nice in some situations, but a massive pain in this situation specifically. I'll ask the Nix folks if they've got a solution for this, and if not, I'll just spin up an Arch VM or the flatpak.

I'm not at my computer right now, but I'll check for python-fu later. I doubt it'll work, though, because of what you just mentioned.
Reply
#4
I trued running GIMP with python 2.7 in $PATH, and there was no difference. However, since I ran it through the terminal, I noticed a little error in the logs indicating that it is at least attempting to run the plugin. I could always go over to an old Arch installation I've kept lying around for some unknown reason, or I could use Windows on a different device, but I'd like to get it working in Nix.

(yeahhh so ignore the other "it's" in the ss, i messed up)


Attached Files Thumbnail(s)
   
Reply
#5
(5 hours ago)skyeisqueer Wrote: I trued running GIMP with python 2.7 in $PATH, and there was no difference. However, since I ran it through the terminal, I noticed a little error in the logs indicating that it is at least attempting to run the plugin. I could always go over to an old Arch installation I've kept lying around for some unknown reason, or I could use Windows on a different device, but I'd like to get it working in Nix.

(yeahhh so ignore the other "it's" in the ss, i messed up)

What version of Gimp? The one you install from your distro probably has the Python support disabled. dding Python 2.7 to the OS is not enough. Check that you have Filters > Python-fu > Console. The flatpak and some AppImage packagings come with a built-in Python 2.7.

   
Reply


Forum Jump: