Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
plugin ofn3-layer-tiles: unexpected EOF on loading
#6
(06-07-2025, 07:06 AM)Ofnuts Wrote:
(06-06-2025, 08:54 AM)rich2005 Wrote: Another Edit: From your txt file.
Querying plug-in: 'c:\Program Files\GIMP 3\lib\gimp\3.0\plug-ins\ofn3-export-layers\ofn3-export-layers.png'
GIMP-Error: Unable to run plug-in "ofn3-export-layers.png"
(c:\Program Files\GIMP 3\lib\gimp\3.0\plug-ins\ofn3-export-layers\ofn3-export-layers.png)

png's in your plugins folder ??? Time to delete that ofn3-export-layers folder and start again in your User profile.

The presence of the PNG is normal, it is distributed with the script, and is used thus:



What is not normal is that Gimp tries to execute it. However, this shouldn't have any impact on the other one.

Your plugin directory contents should look like this:


ofn3-layer-tiles
├── Doc
│   ├── ofn3-layer-tiles.html
│   └── ofn3-layer-tiles.md
├── gimphelpers.py
├── ofn3-layer-tiles.py
└── __pycache__
    └── gimphelpers.cpython-312.pyc

  • Make sure you have gimphelpers.py
  • the Doc directpry is optional
  • The __pycache__ directory is created automatically. Normally if it cannot be created (lack of write privileges) this doesn't prevent execution (but the module will be recompiled each time you use the script). If it's not there try to install the script in your use profile plug-ins directory

Thanks to rich2005 and Ofnuts for your suggestions. I moved the plugin to my user profile. After adding gimphelpers.py to the plugin directory of ofn3-layer-tiles my problem was solved. This was problaby due to erroneous user behaviour. I gues, my apologies. The __pycache__ directory is not created. 
Have a nice day.
Reply


Messages In This Thread
RE: plugin ofn3-layer-tiles: unexpected EOF on loading - by GimpAdept - 06-16-2025, 09:11 AM

Forum Jump: