scim-bridge doesn't work in gtk apps after last update

Bug #286923 reported by phcoder
52
This bug affects 5 people
Affects Status Importance Assigned to Milestone
scim-bridge (Ubuntu)
Fix Released
High
Arne Goetje
Intrepid
Fix Released
High
Arne Goetje

Bug Description

Binary package hint: scim-bridge

After last update I'm unable to activate scim-bridge in gtk-apps.
phcoder@phcoder-ubuntu:~$ gedit
/usr/share/themes/Human/gtk-2.0/gtkrc:273: Unable to locate image file in pixmap_path: "panel_bg.png"
/usr/bin/scim
The messenger is now down
The messenger is now down
/usr/bin/scim
The messenger is now down
An IOException occurred at scim_bridge_client_imcontext_set_cursor_location ()
/usr/bin/scim
The messenger is now down
An IOException occurred at scim_bridge_client_imcontext_set_cursor_location ()
An IOException occurred at scim_bridge_client_imcontext_set_cursor_location ()
An IOException occurred at scim_bridge_client_imcontext_set_cursor_location ()
An IOException occurred at scim_bridge_client_imcontext_set_cursor_location ()
An IOException occurred at scim_bridge_client_imcontext_set_cursor_location ()
phcoder@phcoder-ubuntu:~$ cat ~/.xinput.d/en_US
XIM=SCIM
if [ -e /usr/bin/skim ]; then
    XIM_PROGRAM=" "
else
    XIM_PROGRAM=/usr/bin/scim
fi
XIM_ARGS="-d"
if [ -e /usr/lib/gtk-2.0/*/immodules/im-scim-bridge.so ]; then
    GTK_IM_MODULE=scim-bridge
else
    GTK_IM_MODULE=xim
fi
if [ -e /usr/lib/qt3/plugins/inputmethods/im-scim-bridge.so ]; then
    QT_IM_MODULE=scim-bridge
else
    QT_IM_MODULE=xim
fi

DEPENDS="scim | skim, scim-bridge-agent, scim-bridge-client-gtk | scim-bridge-client-qt"

phcoder@phcoder-ubuntu:~$ set | grep GTK
GTK_IM_MODULE=scim-bridge
GTK_RC_FILES=/etc/gtk/gtkrc:/home/phcoder/.gtkrc-1.2-gnome2

Related branches

Revision history for this message
ZhengPeng Hou (zhengpeng-hou) wrote :

would you mind give me more infomations:
dpkg -l |grep scim

and also would you mind backup ~/.scim, and delete this directory, and try again?

Revision history for this message
Tonohono (tonohono-deactivatedaccount) wrote :

I too experience this bug since yesterday's update.

Unfortunately, deleting ~/.scim and restarting X does not solve the issue.

Attached is the result of
dpkg -l |grep scim

Revision history for this message
Doug Rintoul (doug-rintoul) wrote :

This is related to a change made to 50_check_scim_binary.patch. The patch was modified to check for a running scim and if it does not find one it returns a fail condition. However, the scim executable does not seem to be running in the current Intrepid environment. Two instances of scim-launcher, as well as scim-helper-manager and scim-panel-gtk are running, but no scim. Perhaps the patch should be checking for scim-launcher?

Revision history for this message
WangLu (coolwanglu) wrote :

confirmed on my machine

a simple walkaround is to execute 'scim' manually

Revision history for this message
Kevin (kevinshlee) wrote :

When I executed 'scim' manually, I got the following messages

$ scim
Smart Common Input Method 1.4.7

Launching a SCIM process with x11...
Loading socket Config module ...
Creating backend ...
Loading x11 FrontEnd module ...
SCIM has exited abnormally.

------------------------------------------------------
then it crashed with the following error.

scim-launcher crashed with SIGSEGV in scim::FrontEndModule::load()
This error looks like this one.
https://bugs.launchpad.net/ubuntu/+source/scim/+bug/275458

Revision history for this message
Arne Goetje (arnegoetje) wrote : Re: [Bug 286923] Re: scim-bridge doesn't work in gtk apps after last update

Blade II wrote:
> When I executed 'scim' manually, I got the following messages
>
> $ scim
> Smart Common Input Method 1.4.7
>
> Launching a SCIM process with x11...
> Loading socket Config module ...
> Creating backend ...
> Loading x11 FrontEnd module ...
> SCIM has exited abnormally.
>
> ------------------------------------------------------
> then it crashed with the following error.
>
> scim-launcher crashed with SIGSEGV in scim::FrontEndModule::load()
> This error looks like this one.
> https://bugs.launchpad.net/ubuntu/+source/scim/+bug/275458
>

Probably all related... :( just the cause is still unknown...

Revision history for this message
Tonohono (tonohono-deactivatedaccount) wrote :

Along the lines of what Doug already mentioned, It seems this issue began when scim-bridge-agent and scim-bridge-client-gtk were upgraded to version 0.4.14-2ubuntu3.
Downgrading to 0.4.14-2ubuntu1 immediately remedies the issue, with no ill effects.

Revision history for this message
Arne Goetje (arnegoetje) wrote :

I have a new package in my ppa.

Please go to System -> Administration -> Software Sources and in the Third-Party Software add the following link:

deb http://ppa.launchpad.net/arnegoetje/ubuntu intrepid main

Then please update scim-bridge and test if this solves the issue.

Thanks.

Revision history for this message
Tonohono (tonohono-deactivatedaccount) wrote :

Your packages work absolutely fine!

Revision history for this message
Kevin (kevinshlee) wrote :

Wow! It works!!! Thank you so much Arne!

Regards,
Kevin

Arne Goetje (arnegoetje)
Changed in scim-bridge:
assignee: nobody → arnegoetje
status: New → In Progress
Revision history for this message
Arne Goetje (arnegoetje) wrote :

This patch also fixes #250046

Colin Watson (cjwatson)
Changed in scim-bridge:
importance: Undecided → High
milestone: none → ubuntu-8.10
Revision history for this message
Colin Watson (cjwatson) wrote :

As I said on IRC I think it's better to defer the optimisation to Jaunty and just fix the immediately important bugs. Updated patch attached.

Revision history for this message
arekkusu (arekkusu-r) wrote :

I can confirm I also have input problem with SCIM since a few days and on my two computer (I use SCIM for Japanese input)

After start-up input seem broken in every apps I tried.

Workaround I found: exiting from the gnome tray icon and launching "scim" (alt + f2)

I hope this get corrected for the final version. SCIM input is something that should just work.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package scim-bridge - 0.4.14-2ubuntu4

---------------
scim-bridge (0.4.14-2ubuntu4) intrepid; urgency=low

  All changes thanks to Zheng Peng-Hou.
  * Disable 50_check_scim_binary.dpatch since only a dependency on scim is
    enough. Actually only a running scim-helper is needed, which is in the
    scim package and gets started (and restarted if it dies) automatically.
    However, modified the patch to check for schim-helper instead in case the
    patch becomes necessary again. (LP: #286923)
  * Add patch 50_fix_qt4_focus.dpatch to fix focus loss under KDE4. (LP:
    #250046)
  * Update debian/control to fix dependencies and the Name of the Original
    Maintainer.

 -- Arne Goetje <email address hidden> Wed, 22 Oct 2008 10:44:39 +0800

Changed in scim-bridge:
status: In Progress → Fix Released
Revision history for this message
ChrisDavaz (cdavaz) wrote :

Even thought I have 0.4.14-2ubuntu5 I still have the same problem! =(

im-switch -l
Your input method setup under en_HK locale as below.
=======================================================
No private "/home/cdavaz/.xinput.d/en_HK or /home/cdavaz/.xinput.d/all_ALL" is defined.
=======================================================
The system wide default is pointed by "/etc/alternatives/xinput-all_ALL" .
xinput-all_ALL - status is auto.
 link currently points to default
default - priority 10
default-xim - priority 0
none - priority 0
Current `best' version is default.
=======================================================
The available input method configuration files are:
/usr/bin/find: `/home/cdavaz/.xinput.d': No such file or directory
default default-xim none scim scim-bridge scim-chewing scim-immodule scim-pinyin th-xim
=======================================================

Revision history for this message
Rob Speer (rspeer) wrote :

I believe this bug may have regressed. I'm running Karmic Beta, and I get the messages that are being described here when I run an app such as Evince. Indeed, I cannot run the input manager when my cursor is inside Evince.

My exact messages are:

The messenger is now down
An IOException occurred at scim_bridge_client_imcontext_set_cursor_location ()
The messenger is now down
An IOException occurred at scim_bridge_client_imcontext_set_cursor_location ()
The messenger is now down
The messenger is now down

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.