Re: gimp freeze

2019-02-01 Thread Yoshinori Arai
On Thu, Jan 31, 2019 at 01:35:27PM +, Maxim Cournoyer wrote:
> Hello!
> 
> On January 30, 2019 10:30:47 PM UTC, Yoshinori Arai  
> wrote:
> >On Sun, Jan 27, 2019 at 10:57:30PM -0800, Chris Marusich wrote:
> >> Yoshinori Arai  writes:
> >> 
> >> > I use gimp to make logo for my new blog but gimp freeze on my
> >locale,
> >> > ja_JP.utf-8 on GuixSD. When I invoke gimp with LC_ALL=C, gimp does
> >not freeze.
> 
> Could it be caused by the same GTK bug I reported here [0] ? It was triggered 
> by using ibus as an input system, since you might be using as well to type in 
> Japanese?
> 
> In my case I could more around it by unsetting the GTK_IM_MODULE variable.
> 
> Maxim
> 
> [0]  http://issues.guix.info/issue/33958

Hello,

In my case, I don't use ibus.

diff -u /home/yoshi/gimp-verbose1.log /home/yoshi/gimp-verbose2.log
--- /home/yoshi/gimp-verbose1.log   2019-01-31 07:07:37.528368182 +0900
+++ /home/yoshi/gimp-verbose2.log   2019-01-31 07:09:56.917469914 +0900
@@ -1,4 +1,4 @@
-yoshi@WaraToNora ~$ gimp --verbose
+yoshi@WaraToNora ~$ LC_ALL=C gimp --verbose
 Parsing 
'/gnu/store/d8yw9pl94xflsaq67syqyaiaz0q601x7-gimp-2.10.6/etc/gimp/2.0/gimprc' 
for configured language.
 Parsing '/home/yoshi/.config/GIMP/2.10/gimprc' for configured language.
 No language property found.
@@ -28,9 +28,9 @@
 INIT: gimp_real_initialize
 Parsing 
'/gnu/store/d8yw9pl94xflsaq67syqyaiaz0q601x7-gimp-2.10.6/lib/gimp/2.0/interpreters/default.interp'
 Parsing 
'/gnu/store/d8yw9pl94xflsaq67syqyaiaz0q601x7-gimp-2.10.6/lib/gimp/2.0/interpreters/pygimp.interp'
-GIMP-警告: インタープリターファイル 
'/gnu/store/d8yw9pl94xflsaq67syqyaiaz0q601x7-gimp-2.10.6/lib/gimp/2.0/interpreters/pygimp.interp'
 内で参照しているインタープリター 'python2' は無効です。
+GIMP-Warning: Bad interpreter referenced in interpreter file 
/gnu/store/d8yw9pl94xflsaq67syqyaiaz0q601x7-gimp-2.10.6/lib/gimp/2.0/interpreters/pygimp.interp:
 python2
 
-GIMP-警告: インタープリターファイル 
/gnu/store/d8yw9pl94xflsaq67syqyaiaz0q601x7-gimp-2.10.6/lib/gimp/2.0/interpreters/pygimp.interp
 に不適切な形式のバイナリ列があります。
+GIMP-Warning: Bad binary format string in interpreter file 
/gnu/store/d8yw9pl94xflsaq67syqyaiaz0q601x7-gimp-2.10.6/lib/gimp/2.0/interpreters/pygimp.interp
 
 Parsing 
'/gnu/store/d8yw9pl94xflsaq67syqyaiaz0q601x7-gimp-2.10.6/lib/gimp/2.0/environ/default.env'
 Parsing 
'/gnu/store/d8yw9pl94xflsaq67syqyaiaz0q601x7-gimp-2.10.6/lib/gimp/2.0/environ/pygimp.env'
@@ -657,15 +657,69 @@
 Parsing '/home/yoshi/.config/GIMP/2.10/devicerc'
 Parsing '/home/yoshi/.config/GIMP/2.10/controllerrc'
 loading menu 
'/gnu/store/d8yw9pl94xflsaq67syqyaiaz0q601x7-gimp-2.10.6/share/gimp/2.0/menus/image-menu.xml'
 for /image-menubar
-
-(gimp:936): Gdk-WARNING **: 07:06:26.774: gdkdrawable-x11.c:942 drawable is 
not a native X11 window
-
-(gimp:936): Gdk-WARNING **: 07:06:26.786: gdkdrawable-x11.c:942 drawable is 
not a native X11 window
-
-(gimp:936): Gdk-WARNING **: 07:06:26.792: gdkdrawable-x11.c:942 drawable is 
not a native X11 window
-
-(gimp:936): Gdk-WARNING **: 07:06:26.798: gdkdrawable-x11.c:942 drawable is 
not a native X11 window
-gimp: terminated: Terminated
-
-(script-fu:949): LibGimpBase-WARNING **: 07:06:48.013: script-fu: 
gimp_wire_read(): error
+EXIT: gimp_exit
+EXIT: gui_exit_callback
+EXIT: gimp_exit
+EXIT: gui_exit_callback
+Writing '/home/yoshi/.config/GIMP/2.10/sessionrc'
+Writing '/home/yoshi/.config/GIMP/2.10/dockrc'
+Writing '/home/yoshi/.config/GIMP/2.10/devicerc'
+Writing '/home/yoshi/.config/GIMP/2.10/controllerrc'
+Writing '/home/yoshi/.config/GIMP/2.10/menurc'
+Writing '/home/yoshi/.config/GIMP/2.10/contextrc'
+Writing '/home/yoshi/.config/GIMP/2.10/internal-data/custom.ggr'
+Writing '/home/yoshi/.config/GIMP/2.10/tool-options/gimp-rect-select-tool'
+Writing '/home/yoshi/.config/GIMP/2.10/tool-options/gimp-ellipse-select-tool'
+Writing '/home/yoshi/.config/GIMP/2.10/tool-options/gimp-free-select-tool'
+Writing '/home/yoshi/.config/GIMP/2.10/tool-options/gimp-fuzzy-select-tool'
+Writing '/home/yoshi/.config/GIMP/2.10/tool-options/gimp-by-color-select-tool'
+Writing '/home/yoshi/.config/GIMP/2.10/tool-options/gimp-iscissors-tool'
+Writing 
'/home/yoshi/.config/GIMP/2.10/tool-options/gimp-foreground-select-tool'
+Writing '/home/yoshi/.config/GIMP/2.10/tool-options/gimp-vector-tool'
+Writing '/home/yoshi/.config/GIMP/2.10/tool-options/gimp-color-picker-tool'
+Writing '/home/yoshi/.config/GIMP/2.10/tool-options/gimp-zoom-tool'
+Writing '/home/yoshi/.config/GIMP/2.10/tool-options/gimp-measure-tool'
+Writing '/home/yoshi/.config/GIMP/2.10/tool-options/gimp-move-tool'
+Writing '/home/yoshi/.config/GIMP/2.10/tool-options/gimp-align-tool'
+Writing '/home/yoshi/.config/GIMP/2.10/tool-options/gimp-crop-tool'
+Writing 
'/home/yoshi/.config/GIMP/2.10/tool-options/gimp-unified-transform-tool'
+Writing '/home/yoshi/.config/GIMP/2.10/tool-options/gimp-rotate-tool'
+Writing '/home/yoshi/.config/GIMP/2.10/tool-options/gimp-s

Re: gimp freeze

2019-01-31 Thread Maxim Cournoyer
Hello!

On January 30, 2019 10:30:47 PM UTC, Yoshinori Arai  
wrote:
>On Sun, Jan 27, 2019 at 10:57:30PM -0800, Chris Marusich wrote:
>> Yoshinori Arai  writes:
>> 
>> > I use gimp to make logo for my new blog but gimp freeze on my
>locale,
>> > ja_JP.utf-8 on GuixSD. When I invoke gimp with LC_ALL=C, gimp does
>not freeze.

Could it be caused by the same GTK bug I reported here [0] ? It was triggered 
by using ibus as an input system, since you might be using as well to type in 
Japanese?

In my case I could more around it by unsetting the GTK_IM_MODULE variable.

Maxim

[0]  http://issues.guix.info/issue/33958



Re: gimp freeze

2019-01-30 Thread Yoshinori Arai
On Sun, Jan 27, 2019 at 10:57:30PM -0800, Chris Marusich wrote:
> Yoshinori Arai  writes:
> 
> > I use gimp to make logo for my new blog but gimp freeze on my locale,
> > ja_JP.utf-8 on GuixSD. When I invoke gimp with LC_ALL=C, gimp does not 
> > freeze.
> >
> > I also use the gimp installed by guix on foreign system. I can use it 
> > normaly.
> >
> > My guix system configuration is based on light desktop example. I think gimp
> > need a addtional package or service to use normaly on ja_JP.utf-8 locale.
> >
> > Plese advise me to resolve this.
> 
> Is it easy to reproduce?  I just launched my copy of GIMP with the
> invocation "LANG=ja_JP.utf-8 gimp", and I couldn't reproduce the
> problem.  I only opened it for half a minute, though.  I created a new
> file, drew some lines, and closed it.  Japanese text was displayed
> correctly.  My version of GIMP is 2.10.6.  I installed it using Guix
> version v0.16.0-1278-g82328c010 on GuixSD.
> 
> Please let us know if you can reproduce the issue.  If you start GIMP on
> the terminal, you might get interesting error messages.  Could you try
> invoking it using strace and see if you find anything interesting?  Can
> you get more information when providing the "--verbose" option to gimp?
> Most importantly, if you can reproduce the issue, it will be helpful.
> 
> -- 
> Chris

I don't know the log of strace cause of too long.
I got the diff between when I use it on ja_JP locale and on LC_ALL=C with
verbose option.

GDK-WARNING line is suspicious.

diff -u /home/yoshi/gimp-verbose1.log /home/yoshi/gimp-verbose2.log
--- /home/yoshi/gimp-verbose1.log   2019-01-31 07:07:37.528368182 +0900
+++ /home/yoshi/gimp-verbose2.log   2019-01-31 07:09:56.917469914 +0900
@@ -1,4 +1,4 @@
-yoshi@WaraToNora ~$ gimp --verbose
+yoshi@WaraToNora ~$ LC_ALL=C gimp --verbose
 Parsing 
'/gnu/store/d8yw9pl94xflsaq67syqyaiaz0q601x7-gimp-2.10.6/etc/gimp/2.0/gimprc' 
for configured language.
 Parsing '/home/yoshi/.config/GIMP/2.10/gimprc' for configured language.
 No language property found.
@@ -28,9 +28,9 @@
 INIT: gimp_real_initialize
 Parsing 
'/gnu/store/d8yw9pl94xflsaq67syqyaiaz0q601x7-gimp-2.10.6/lib/gimp/2.0/interpreters/default.interp'
 Parsing 
'/gnu/store/d8yw9pl94xflsaq67syqyaiaz0q601x7-gimp-2.10.6/lib/gimp/2.0/interpreters/pygimp.interp'
-GIMP-警告: インタープリターファイル 
'/gnu/store/d8yw9pl94xflsaq67syqyaiaz0q601x7-gimp-2.10.6/lib/gimp/2.0/interpreters/pygimp.interp'
 内で参照しているインタープリター 'python2' は無効です。
+GIMP-Warning: Bad interpreter referenced in interpreter file 
/gnu/store/d8yw9pl94xflsaq67syqyaiaz0q601x7-gimp-2.10.6/lib/gimp/2.0/interpreters/pygimp.interp:
 python2
 
-GIMP-警告: インタープリターファイル 
/gnu/store/d8yw9pl94xflsaq67syqyaiaz0q601x7-gimp-2.10.6/lib/gimp/2.0/interpreters/pygimp.interp
 に不適切な形式のバイナリ列があります。
+GIMP-Warning: Bad binary format string in interpreter file 
/gnu/store/d8yw9pl94xflsaq67syqyaiaz0q601x7-gimp-2.10.6/lib/gimp/2.0/interpreters/pygimp.interp
 
 Parsing 
'/gnu/store/d8yw9pl94xflsaq67syqyaiaz0q601x7-gimp-2.10.6/lib/gimp/2.0/environ/default.env'
 Parsing 
'/gnu/store/d8yw9pl94xflsaq67syqyaiaz0q601x7-gimp-2.10.6/lib/gimp/2.0/environ/pygimp.env'
@@ -657,15 +657,69 @@
 Parsing '/home/yoshi/.config/GIMP/2.10/devicerc'
 Parsing '/home/yoshi/.config/GIMP/2.10/controllerrc'
 loading menu 
'/gnu/store/d8yw9pl94xflsaq67syqyaiaz0q601x7-gimp-2.10.6/share/gimp/2.0/menus/image-menu.xml'
 for /image-menubar
-
-(gimp:936): Gdk-WARNING **: 07:06:26.774: gdkdrawable-x11.c:942 drawable is 
not a native X11 window
-
-(gimp:936): Gdk-WARNING **: 07:06:26.786: gdkdrawable-x11.c:942 drawable is 
not a native X11 window
-
-(gimp:936): Gdk-WARNING **: 07:06:26.792: gdkdrawable-x11.c:942 drawable is 
not a native X11 window
-
-(gimp:936): Gdk-WARNING **: 07:06:26.798: gdkdrawable-x11.c:942 drawable is 
not a native X11 window
-gimp: terminated: Terminated
-
-(script-fu:949): LibGimpBase-WARNING **: 07:06:48.013: script-fu: 
gimp_wire_read(): error
+EXIT: gimp_exit
+EXIT: gui_exit_callback
+EXIT: gimp_exit
+EXIT: gui_exit_callback
+Writing '/home/yoshi/.config/GIMP/2.10/sessionrc'
+Writing '/home/yoshi/.config/GIMP/2.10/dockrc'
+Writing '/home/yoshi/.config/GIMP/2.10/devicerc'
+Writing '/home/yoshi/.config/GIMP/2.10/controllerrc'
+Writing '/home/yoshi/.config/GIMP/2.10/menurc'
+Writing '/home/yoshi/.config/GIMP/2.10/contextrc'
+Writing '/home/yoshi/.config/GIMP/2.10/internal-data/custom.ggr'
+Writing '/home/yoshi/.config/GIMP/2.10/tool-options/gimp-rect-select-tool'
+Writing '/home/yoshi/.config/GIMP/2.10/tool-options/gimp-ellipse-select-tool'
+Writing '/home/yoshi/.config/GIMP/2.10/tool-options/gimp-free-select-tool'
+Writing '/home/yoshi/.config/GIMP/2.10/tool-options/gimp-fuzzy-select-tool'
+Writing '/home/yoshi/.config/GIMP/2.10/tool-options/gimp-by-color-select-tool'
+Writing '/home/yoshi/.config/GIMP/2.10/tool-options/gimp-iscissors-tool'
+Writing 
'/

Re: gimp freeze

2019-01-27 Thread Chris Marusich
Yoshinori Arai  writes:

> I use gimp to make logo for my new blog but gimp freeze on my locale,
> ja_JP.utf-8 on GuixSD. When I invoke gimp with LC_ALL=C, gimp does not freeze.
>
> I also use the gimp installed by guix on foreign system. I can use it normaly.
>
> My guix system configuration is based on light desktop example. I think gimp
> need a addtional package or service to use normaly on ja_JP.utf-8 locale.
>
> Plese advise me to resolve this.

Is it easy to reproduce?  I just launched my copy of GIMP with the
invocation "LANG=ja_JP.utf-8 gimp", and I couldn't reproduce the
problem.  I only opened it for half a minute, though.  I created a new
file, drew some lines, and closed it.  Japanese text was displayed
correctly.  My version of GIMP is 2.10.6.  I installed it using Guix
version v0.16.0-1278-g82328c010 on GuixSD.

Please let us know if you can reproduce the issue.  If you start GIMP on
the terminal, you might get interesting error messages.  Could you try
invoking it using strace and see if you find anything interesting?  Can
you get more information when providing the "--verbose" option to gimp?
Most importantly, if you can reproduce the issue, it will be helpful.

-- 
Chris


signature.asc
Description: PGP signature


gimp freeze

2019-01-27 Thread Yoshinori Arai
Hello,

I use gimp to make logo for my new blog but gimp freeze on my locale,
ja_JP.utf-8 on GuixSD. When I invoke gimp with LC_ALL=C, gimp does not freeze.

I also use the gimp installed by guix on foreign system. I can use it normaly.

My guix system configuration is based on light desktop example. I think gimp
need a addtional package or service to use normaly on ja_JP.utf-8 locale.

Plese advise me to resolve this.