Thread: [Fwd: Re: Bug#278855: cannot start pgadmin3 with non-C locale]

[Fwd: Re: Bug#278855: cannot start pgadmin3 with non-C locale]

From
Raphaël Enrici
Date:
Hi Andreas,

here is another one... I forward it because it is not fully solved by
beta3. I have warnings with the particular locale zh_TW.Big5

Can you try to identify the exact place for this bug ? Although it seems
that glib is complaining it may be something badly treated by pga3 or
wxWidgets ?

Regards,
Raphaël

-------- Original Message --------
Subject: Re: Bug#278855: cannot start pgadmin3 with non-C locale
Date: Fri, 29 Oct 2004 22:05:10 +0200
From: Raphaël Enrici <blacknoz@club-internet.fr>
To: Hing-Wah Wan <hingwah@hingwah.net>,  278855@bugs.debian.org
References: <41826BD5.5090109@hingwah.net>

Hello Hing-Wah,

Hing-Wah Wan wrote:
> Package: pgadmin3
> Version: 1.0.2-7
> Severity: normal
> Tags: l10n
>
> Running pgadmin3  with LC_CTYPE=zh_TW.Big5  hang in the console without
> any UI display.
> Able to run pgadmin3 successfully when LC_CTYPE=C.
> Attached strace log between LC_CTYPE=C and LC_CTYPE=zh_TW.Big5

I fully confirm this one :(
It seems linked to this particular locale as I tried it with some other
ones like fr_FR.UTF-8@euro and it ran well.
It is partially solved upstream. I've just tried the 1.2.0 beta3
recently released and the GUI launch with warnings like these instead of
freezing:

(pgadmin3:3665): GLib-GObject-WARNING **: instance with invalid (NULL)
class pointer

(pgadmin3:3665): GLib-GObject-CRITICAL **: file gsignal.c: line 1925
(g_signal_handlers_disconnect_matched): assertion `G_TYPE_CHECK_INSTANCE
(instance)' failed

I'm gonna forward this bug to pgadmin-hackers so that we determine the
exact place for this bug: pga3, wxWidgets or gtk/glib...

We keep in touch,

Raphaël
P.S. If you want to try 1.2.0 beta3, add this line to your sources.list
deb <postgresql mirror url>/pgadmin3/beta/debian (testing|unstable) pgadmin
Example for debian/testing in France:
deb ftp://ftp.fr.postgresql.org/pgadmin3/beta/debian testing pgadmin

Example for debian/unstable in France:
deb ftp://ftp.fr.postgresql.org/pgadmin3/beta/debian unstable pgadmin



Re: [Fwd: Re: Bug#278855: cannot start pgadmin3

From
Andreas Pflug
Date:
Raphaël Enrici wrote:
> Hi Andreas,
>
> here is another one... I forward it because it is not fully solved by
> beta3. I have warnings with the particular locale zh_TW.Big5
>
> Can you try to identify the exact place for this bug ? Although it seems
> that glib is complaining it may be something badly treated by pga3 or
> wxWidgets ?

pgAdmin doesn't touch gtk directly. I can't check this, but AFAIR I've
seen comments about a broken locale on wx-dev, so I believe it's not
even a wx problem but zh_TW.Big5. gsignal.c is a gtk file.

Regards,
Andreas




Re: [Fwd: Re: Bug#278855: cannot start pgadmin3

From
Raphaël Enrici
Date:
Andreas Pflug wrote:
> Raphaël Enrici wrote:
>> here is another one... I forward it because it is not fully solved by
>> beta3. I have warnings with the particular locale zh_TW.Big5
>> Can you try to identify the exact place for this bug ? Although it
>> seems that glib is complaining it may be something badly treated by
>> pga3 or wxWidgets ?
>
> pgAdmin doesn't touch gtk directly. I can't check this, but AFAIR I've
> seen comments about a broken locale on wx-dev, so I believe it's not
> even a wx problem but zh_TW.Big5. gsignal.c is a gtk file.

mmh yes, I've seen some thread concerning zh_TW.Big5 on others lists
too. But what I don't explain is why 1.0.2 freezes where 1.2.0 beta3
runs with warnings ? Any hint before I ask for help at d.o. ?

Regards,
Raphaël

Re: [Fwd: Re: Bug#278855: cannot start pgadmin3

From
Andreas Pflug
Date:
Raphaël Enrici wrote:

>>
>>
>> pgAdmin doesn't touch gtk directly. I can't check this, but AFAIR I've
>> seen comments about a broken locale on wx-dev, so I believe it's not
>> even a wx problem but zh_TW.Big5. gsignal.c is a gtk file.
>
>
> mmh yes, I've seen some thread concerning zh_TW.Big5 on others lists
> too. But what I don't explain is why 1.0.2 freezes where 1.2.0 beta3
> runs with warnings ? Any hint before I ask for help at d.o. ?

Absolutely no idea.

Regards,
Andreas