You are here

Error message while calling python scripts

9 posts / 0 new
Last post
mmjoshi
Offline
Last seen: 1 year 3 months ago
Joined: 2019-12-17 16:32
Error message while calling python scripts

I downloaded Gimp 2.10.14 rev2 and installed it my D: drive. I also have python scripts to call programs like Nik, Lightzone, ON1 Effects etc. Whenever I call one of these programs I get an error message as shown below:

GEGL-Message: 13:38:03.741: Module 'D:\PortableApps\GIMPPortable\App\gimp\lib\gegl-0.4\ff-load.dll' load error: 'D:\PortableApps\GIMPPortable\App\gimp\lib\gegl-0.4\ff-load.dll': The specified module could not be found.
GEGL-Message: 13:38:03.741: Module 'D:\PortableApps\GIMPPortable\App\gimp\lib\gegl-0.4\ff-save.dll' load error: 'D:\PortableApps\GIMPPortable\App\gimp\lib\gegl-0.4\ff-save.dll': The specified module could not be found

Strange thing is that the filters are loaded correctly and also run correctly. Then why do I get these messages? I do not get these messages if I try the same python scripts with an installed version of Gimp 2.10.14 or on Partha's or SamJ's builds. Should I just ignore these messages? I am using Windows 10, 64 bit OS.

I also get an error message

TIFF image Message

Incompatible type for "RichTIFFIPTC"; tag ignored

Message repeated once.

Apparently nothing bad happens if I just click on the OK button to ignore this message.

mj

John T. Haller
John T. Haller's picture
Offline
Last seen: 2 hours 11 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
2.10.14-1

Please update to the current release and check again

Sometimes, the impossible can become possible, if you're awesome!

mmjoshi
Offline
Last seen: 1 year 3 months ago
Joined: 2019-12-17 16:32
I do have the latest version.

I do have the latest version. The installer I downloaded is GIMPPortable_2.10.14-1.paf.exe. Moreover, the app updater informs me that all apps are up to date.

John T. Haller
John T. Haller's picture
Offline
Last seen: 2 hours 11 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Ok 2.10.14 rev2

Ok, 2.10.14 rev2 was the previous release. I'm not sure offhand what would be causing this issue as GIMP itself is unmodified and both of those DLLs are present.

Sometimes, the impossible can become possible, if you're awesome!

mmjoshi
Offline
Last seen: 1 year 3 months ago
Joined: 2019-12-17 16:32
It's indeed strange! These

It's indeed strange! These files do exist in the expected locations. I even copied these files from other portable installations. Same problem continues.Verified with Nik, Lightzone Resynthsizer plugins.

mmjoshi
Offline
Last seen: 1 year 3 months ago
Joined: 2019-12-17 16:32
Another error!

Just to make a clean start,I reinstalled GimpPortable. Now apart from the earlier error, when I call Lightzone, after exiting from Lightzone I have started getting the following error:

An error occurred running python_fu_Lightzone

UnboundLocalError: local variable 'newlayer2' referenced before assignment

More informationraceback (most recent call last):
File "D:\PortableApps\GIMPPortable\App\gimp\lib\gimp\2.0\python/gimpfu.py", line 740, in response
dialog.res = run_script(params)
File "D:\PortableApps\GIMPPortable\App\gimp\lib\gimp\2.0\python/gimpfu.py", line 361, in run_script
return apply(function, params)
File "D:\PortableApps\GIMPPortable\App\gimp\lib\gimp\2.0\plug-ins\Lightzone.py", line 107, in plugin_main
tempimage.add_layer(newlayer2,-1)
UnboundLocalError: local variable 'newlayer2' referenced before assignment

This makes GimpPortable unusable for me. The same python script works fofine r Samj and Partha builds.

I prefer the PortableApps build since I have many applications from PortableApps.

John T. Haller
John T. Haller's picture
Offline
Last seen: 2 hours 11 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Tried Resynthesize And It Worked

I did a clean install of GIMP Portable 2.10.14-1 on a clean Windows 10 x64 machine. Just to the desktop directory. I added Resynthesize 0.13b by opening the size and extracting the contents of Program Files\GIMP-2.0 to GIMPPortable\App\gimp. I then started GIMP Portable, created a new blank image, selected an area, then clicked Filters Map Resynthesize. The dialog came up without issue. I clicked OK.

Could you let me know the exact steps you used to reproduce the error you see above?

Sometimes, the impossible can become possible, if you're awesome!

mmjoshi
Offline
Last seen: 1 year 3 months ago
Joined: 2019-12-17 16:32
It's strange. I tried the

It's strange. I tried the Resynthesizer plugin. Now it works inspite of getting the following messages which was the case earlier too.
"GEGL-Message: 13:38:03.741: Module 'D:\PortableApps\GIMPPortable\App\gimp\lib\gegl-0.4\ff-load.dll' load error: 'D:\PortableApps\GIMPPortable\App\gimp\lib\gegl-0.4\ff-load.dll': The specified module could not be found.
GEGL-Message: 13:38:03.741: Module 'D:\PortableApps\GIMPPortable\App\gimp\lib\gegl-0.4\ff-save.dll' load error: 'D:\PortableApps\GIMPPortable\App\gimp\lib\gegl-0.4\ff-save.dll': The specified module could not be found"

I also tried the plugins for Nik, ON1 Effects and LightZone copied from Partha's build. Even though I get the above messages, Nik and ON1 Effects work fine. Additionally I get the following message on return

"TIFF image Message

Incompatible type for "RichTIFFIPTC"; tag ignored

Message repeated once."

If I ignore these messages the plugins have the correct behavior. However, the LightZone plugin fails with the error

"An error occurred running python_fu_Lightzone
UnboundLocalError: local variable 'newlayer2' refernced before assignment"

All these plugins work in the Partha and SamJ builds without any error. Is there any difference between the PortableApps and these other builds.

On a side note I came across this site which hosts a portable version of digiKam 7.0.0 beta1.

https://foxxapp-paf.blogspot.com/2019/12/digikam-portable-beta.html

Apparently, it follows the same paf format as PortableApps platform and also installs to the PortableApps directory. A virus check did not show any threats. Is this any way related to PortableApps platform and safe to use?

mmjoshi
Offline
Last seen: 1 year 3 months ago
Joined: 2019-12-17 16:32
LighZone plugin file

If it's going to help I can upload the LighZone plugin file I used from Parha's build.

Log in or register to post comments