[Uim-bugs] [Bug 2471] uim-pref crashes when there's no ~/.uim.d directory

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Feb 5 09:32:04 EET 2005


Please do not reply to this email: if you want to comment on the bug, go to            
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=2471          
     




------- Additional Comments From yamaken at bp.iij4u.or.jp  2005-02-04 23:32 -------
I've found what caused the problem. load-modules of init.scm does not work as
intended about enabled-im-list handling. Is your init.scm fresh enough?

> The output result from im.scm seems to be written in loader.scm and 
> installed-modules.scm. 

Oops, use following patch.

> Anyway, I noticed that installed-modules.scm doesn't contain "direct" 
> input method. Is this ok? 

OK. Don't add "direct" to installed-modules.scm.

Give me information again without your patch to Makefile.am.

Index: scm/im.scm
===================================================================
--- scm/im.scm  (revision 534)
+++ scm/im.scm  (working copy)
@@ -109,6 +109,10 @@
   (lambda (name lang encoding name-label short-desc init-arg init release
                mode key-press key-release reset
                get-candidate set-candidate-index prop)
+    (print (string-append "register-im has been invoked: im="
+                         (symbol->string name)
+                         "\n"))
+    (print (im-init-handler args))
     (and (or (null? enabled-im-list)  ;; bootstrap
             (memq name enabled-im-list))
         (let ((im (im-new name lang encoding name-label short-desc
Index: scm/lazy-load.scm
===================================================================
--- scm/lazy-load.scm   (revision 534)
+++ scm/lazy-load.scm   (working copy)
@@ -45,6 +45,13 @@
                                           stub-im-init-handler))
                                 (init-handler id im arg)
                                 (begin
+                                  (print "stub IM actualization failed")
+                                  (print load-modules)
+                                  (print init-handler)
+                                  (print stub-im-init-handler)
+                                  (print im)
+                                  (print (map im-name im-list))
+                                  (print enabled-im-list)
                                   (error "stub IM actualization failed")
                                   #f))))
               context))))))
          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the uim-bugs mailing list