Re: [Gimp-developer] Problem with tiff export from rawtherapee (4.1.80x64) to gimp (2.8.14(v.1)x64)



Nobody who can help me with that? :/

--------------------------------
Hello

First of all: I don't really know if the following problem is a problem
with gimp, Raw therapee or even Windows. So before creating a new
bug-report, I wanted to ask you for some information about this - maybe
someone here can tell me more.  :)

And this is my problem:
When I try to use RawTherapee's export-function in order to edit my
images in gimp, the image won't load properly inside gimp.  Instead I
get the following error messages while gimp starts up (roughly
translated from german to english):

--------------------------- script-fu.exe - Entry point not found
---------------------------
  The entry point "g_list_free_full" was not found in DLL "C:\Program
Files\GIMP 2\lib\gimp\2.0\plug-ins\script-fu.exe".
---------------------------

--------------------------- file-tiff-load.exe - Entry point not found
---------------------------
The entry point "gdk_win32_window_foreign_new_for_display" was not found
in DLL "C:\Program Files\GIMP 2\bin\libgimpui-2.0-0.dll".
  ---------------------------

And when gimp is finally loaded, I get the following errors:
------------------------------------
Plug-in crashed: "file-tiff-load.exe" (C:\Program Files\GIMP
2\lib\gimp\2.0\plug-ins\file-tiff-load.exe)
The dying plug-in may have messed up GIMP's internal state. You may want
to save your images and restart GIMP to be on the safe side.
Opening 'C:\Users\Simon\AppData\Local\Temp\_MG_5569.tif' failed:
Procedure 'file-tiff-load' returned no return values
----------------------------------

Which seems to be related to the first messages: gimp can't load
file-tiff-load.exe on startup, so the tiff-import won't work.

I did some research on this Problem (unsing Process Monitor) and the
result was the following:

By starting gimp from RawTherapee, the dll-search includes RT's
directory. And since RT is also based on gtk, etc. there are some dlls
which have the same name as gimps own dlls, but in another version. The
following is an example for gimp/file-tiff-dll.exe searching for gimp's
libgimpwidgets-2.0-0.dll. As you can see, RT's directory is searched,
before gimp's own directory and this is where the bad things happen (not
in this case but I think you can see, what the problem is).

5128    CreateFile    C:\Program Files\GIMP
2\lib\gimp\2.0\plug-ins\libgimpwidgets-2.0-0.dll    NAME NOT FOUND
Desired Access: Read Attributes, Disposition: Open, Options: Open
Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete,
AllocationSize: n/a
19:12:39,2479470    file-tiff-load.exe    5128    CreateFile
C:\Windows\System32\libgimpwidgets-2.0-0.dll    NAME NOT FOUND
Desired Access: Read Attributes, Disposition: Open, Options: Open
Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete,
AllocationSize: n/a
19:12:39,2482944    file-tiff-load.exe    5128    CreateFile
C:\Windows\System\libgimpwidgets-2.0-0.dll    NAME NOT FOUND    Desired
Access: Read Attributes, Disposition: Open, Options: Open Reparse Point,
Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
19:12:39,2486381    file-tiff-load.exe    5128    CreateFile
C:\Windows\libgimpwidgets-2.0-0.dll    NAME NOT FOUND    Desired Access:
Read Attributes, Disposition: Open, Options: Open Reparse Point,
Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
/*19:12:39,2489930    file-tiff-load.exe    5128    CreateFile
C:\Program Files\RawTherapee\libgimpwidgets-2.0-0.dll    NAME NOT
FOUND    Desired Access: Read Attributes, Disposition: Open, Options:
Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete,
AllocationSize: n/a*/
19:12:39,2496850    file-tiff-load.exe    5128    CreateFile
C:\Program Files\GIMP 2\bin\libgimpwidgets-2.0-0.dll    SUCCESS
Desired Access: Read Attributes, Disposition: Open, Options: Open
Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete,
AllocationSize: n/a, OpenResult: Opened


The following is an example for a dll (libglib-2.0-0.dll), which also
exists in RT's folder - as you can see, gimp finds RT's dll, before it
finds its own and therefore uses the wrong one.

19:12:39,2502152    file-tiff-load.exe    5128    CreateFile
C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\libglib-2.0-0.dll    NAME
NOT FOUND    Desired Access: Read Attributes, Disposition: Open,
Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write,
Delete, AllocationSize: n/a
19:12:39,2504812    file-tiff-load.exe    5128    CreateFile
C:\Windows\System32\libglib-2.0-0.dll    NAME NOT FOUND    Desired
Access: Read Attributes, Disposition: Open, Options: Open Reparse Point,
Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
19:12:39,2506614    file-tiff-load.exe    5128    CreateFile
C:\Windows\System\libglib-2.0-0.dll    NAME NOT FOUND    Desired Access:
Read Attributes, Disposition: Open, Options: Open Reparse Point,
Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
19:12:39,2508431    file-tiff-load.exe    5128    CreateFile
C:\Windows\libglib-2.0-0.dll    NAME NOT FOUND    Desired Access: Read
Attributes, Disposition: Open, Options: Open Reparse Point, Attributes:
n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
/*19:12:39,2510259    file-tiff-load.exe    5128    CreateFile
C:\Program Files\RawTherapee\libglib-2.0-0.dll    SUCCESS    Desired
Access: Read Attributes, Disposition: Open, Options: Open Reparse Point,
Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a,
OpenResult: Opened*/


As I already mentioned before, I don't really know if this can even be
fixed within gimp's source or whether it has to be fixed somewhere else,
so some feedback would be nice.

With respect,

Simon Müller


_______________________________________________
gimp-developer-list mailing list
List address:    gimp-developer-list gnome org
List membership:
https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]