GNOME Bugzilla – Bug 305837
Loading IM context type 'ime' failed under Win32
Last modified: 2005-06-01 21:43:49 UTC
Distribution/Version: XP #I have installed ActivePerl 5.8.6 build 811 and Gtk+ 2 for Windows 2.6.7 #(downloaded at http://gimp-win.sourceforge.net/stable.html) #My Gtk2::version is 1.080 use warnings; use strict; use Gtk2 -init; my $w = Gtk2::Window->new; $w->add(Gtk2::Entry->new); $w->show_all; Gtk2->main; __END__ After executed the above code, I always get errors below: C:\Documents and Settings\Seven\Desktop\destcadmin>perl t.pl Gtk-WARNING **: The specified module could not be found. at t.pl line 12. Gtk-WARNING **: Loading IM context type 'ime' failed at t.pl line 12. My OS is Windows XP and locale is Chinese (PRC) Correcting the module paths found in this file: C:\Program Files\Common Files\GTK\2.0\etc\gtk-2.0\gtk.immodules solved the problem. I believe this is an installation bug. The file gtk.immodules should be updated with correct path information along with the end of Gtk+ 2 Win32 installation.
Duplicate of bug #304806.
*** This bug has been marked as a duplicate of 304806 ***