02-20-2021, 11:49 AM
(02-20-2021, 11:02 AM)miguel Wrote: Thanks for your reply.I use your unaltered files from SourceForge.
I discovered that the error must come from the unencoded os.path. My userpath includes a umlaut like 'ä', which brakes the script.
If I install the script in C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins and run GIMP as an admin (otherwise it fails to write ofn-preset-guides.log) all works fine.
Is it possible for you to modify the script that it can handle also userpaths with umlauts? (I tried some changes by myself but did not succeed)
If you replace line 80 with:
Code:
whoiam=''
does it work? But this would only explain the first error. The error Configuration file C:\Users\foo\AppData\Roaming\GIMP\2.10\plug-ins\ofn-preset-guides.ini not found or not readable: 'utf8' codec can't decode byte 0xfc in position 19: invalid start byte looks like an encoding problem in your .ini.