After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 169750 - "Your GIMP installation is incomplete"
"Your GIMP installation is incomplete"
Status: RESOLVED DUPLICATE of bug 168341
Product: GIMP
Classification: Other
Component: Windows Installer
2.2.x
Other Windows
: Normal major
: ---
Assigned To: Jernej Simončič
Jernej Simončič
Depends on:
Blocks:
 
 
Reported: 2005-03-09 18:48 UTC by Rod
Modified: 2008-01-15 12:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Rod 2005-03-09 18:48:31 UTC
Installing GIMP 2.2 with GTK+ 2.6.4

The above message appears with 

Failed to open file 'E:\GIMP\GIMP-2.2\share\gimp\2.0\menus\toolbox-menu.xml': 
Bad file descriptor.

and

Failed to open file 'E:\GIMP\GIMP-2.2\share\gimp\2.0\menus\image-menu.xml': Bad 
file descriptor.

The GIMP opens but no menus are available.

Problem resolved by re-installing GTK+ 2.4.14
Comment 1 Rod 2005-03-09 18:50:03 UTC
Advised to report this at GIMP forum by Sven.
Comment 2 Rod 2005-03-09 19:18:32 UTC
Bug #169750 - Additional info:

Installation of GIMP 2.2.4 with GTK+ 2.6.2 on WinME

Both toolbox-menu.xml and image-menu.xml were present in the menus folder.

Comment 3 Sven Neumann 2005-03-09 20:50:24 UTC
Tor, I am adding you to the Cc: since this looks like an incompatibility problem
with GLib/GTK+ 2.6.

Jernej, it would be important if you could tell us how the GIMP 2.2.4 binary has
been built.
Comment 4 Sven Neumann 2005-03-09 20:51:48 UTC
Bug #167973 could be a similar problem.
Comment 5 Jernej Simončič 2005-03-09 21:21:53 UTC
I used Tor's GTK+ 2.4.14, and built with gcc 3.4.2 (mingw-special). The only 
configure options were --disable-print --prefix=/stuff/gimp/2.2.4 .
Comment 6 Sven Neumann 2005-03-10 12:37:29 UTC
Thanks for this info, I just wanted to be sure. So GIMP 2.2.4 is built against
GLib/GTK+ 2.4. However it appears that running it with GLib/GTK+ 2.6 is causing
problems.

My guess is that the problem is that we are constructing the filename of the
UIManager XML files using the old glib routines (because GIMP has been built
against the glib 2.4 header files). Then we pass this filename to GTK+ which is
using the new stdio routines to open the file (because GTK+ 2.6 has of course
been built using the glib 2.6 headers). Tor, does this "analysis" make any sense?
Comment 7 Michael Schumacher 2005-03-10 13:21:46 UTC
This doesn't seem to be a problem on Windows XP or 2000.
Comment 8 Jernej Simončič 2005-03-10 13:53:09 UTC
I never noticed any problems on Windows 2000, XP and 2003, however when I tried 
Gimp 2.2.4 with GTK+ 2.6.4 on Windows 98SE today, Gimp didn't run at all (it 
crashed a few seconds after the splash screen disappeared, before any of the 
main interface was shown; there were no problems when run with GTK+ 2.4.14).
Comment 9 Robert Ögren 2005-03-10 17:23:26 UTC
Maybe this is caused by bug #168341 - "g_file_get_contents() doesn't work on
non-NT systems"
Comment 10 Tor Lillqvist 2005-03-10 17:30:48 UTC
That's possible. Where did the original poster get his GTK+ 2.6.4 from? Did it
say what version of GLib it included? Bug #168341 was fixed in GLib 2.6.3.
Comment 11 Rod 2005-03-10 19:24:30 UTC
I am the bug reporter, respoding to :-

------- Additional Comments From Tor Lillqvist  2005-03-10 12:30 -------
That's possible. Where did the original poster get his GTK+ 2.6.4 from? Did it
say what version of GLib it included? Bug #168341 was fixed in GLib 2.6.3.
---------------------------------------------------------------------------

Response: I downloaded the Windows exes from the GIMP / GNOME download site.

GLib version unknown - I am not a programmer.

Regards,
Rod.
Comment 12 Sven Neumann 2005-03-10 23:23:14 UTC
Does gtk_ui_manager_add_ui_from_file() need the same ABI stability changes as
were needed to fix bug #167973?
Comment 13 Tor Lillqvist 2005-03-11 00:16:47 UTC
It already has.
Comment 14 Sven Neumann 2005-03-11 11:43:52 UTC
OK, I verified this. So this looks a lot like bug #168341 showing it's ugly
face. If that's the case, then the problem should show up on Win98/ME only and
it should be fixed by updating to GLib 2.6.3.

Jernej, do I assume correctly that the gtk+-2.6.4 package that you are offering
for download, includes glib 2.6.3?
Comment 15 Jernej Simončič 2005-03-11 13:11:00 UTC
Yes, installer for GTK+ 2.6.4 is packed with GLib 2.6.3. But like I said, on the 
only Win98 machine I tried, Gimp crashed on statup when used with GTK+ 2.6.4.
Comment 16 Robert Ögren 2005-03-11 18:41:43 UTC
Comment #2 says GTK 2.6.2 - which version was really installed? According to the
sourceforge releases page, the 2.6.4 installer was released just 2 days ago.

Rod, if you are unsure which version you downloaded you can take a look at the
name of the file you downloaded to install GTK if you still have it, and if you
deleted it, perhaps you should download and install GTK 2.6.4 to check if the
problem really exists in that version?

(The crash on win98 might be bug #168608)
Comment 17 Rod 2005-03-11 18:58:01 UTC
Confirm download of gtk+-2.6.2-setup.zip on 6th March.

I'll try the updated 2.6.4 and get back.
Comment 18 Rod 2005-03-11 20:31:06 UTC
GIMP OK with GTK+-2.6.4

Looks like some finger trouble on my part at first report. Sorry for any 
inconvenience caused.
Comment 19 Robert Ögren 2005-03-12 13:58:07 UTC
Great! Let's assume this was caused by bug #168341 then.

*** This bug has been marked as a duplicate of 168341 ***