Thread: startup error message "cannot convert from the charset ..."

startup error message "cannot convert from the charset ..."

From
Miha Radej
Date:
hi!

i've been playing and compiling with various combinations, omitting 
--enable-debug and/or using --disable-debug with wxwidgets, a fresh 
pgadmin3 checkout and pgadmin3 1.2.2.

in all cases the result is the same: i still get the startup error 
message: http://mcajvar.prkoritu.net/images/pga3_error.png

a friend of mine who tried using my build gets the same error message, 
only with "ISO-8859-1,CP1251" instead of "ISO-8859-2,CP1250" which is 
what i get.

how can i go about finding causes for this error message?

regards,
Miha


Re: startup error message "cannot convert from

From
Andreas Pflug
Date:
Miha Radej wrote:
> hi!
> 
> i've been playing and compiling with various combinations, omitting 
> --enable-debug and/or using --disable-debug with wxwidgets, a fresh 
> pgadmin3 checkout and pgadmin3 1.2.2.
> 
> in all cases the result is the same: i still get the startup error 
> message: http://mcajvar.prkoritu.net/images/pga3_error.png
> 
> a friend of mine who tried using my build gets the same error message, 
> only with "ISO-8859-1,CP1251" instead of "ISO-8859-2,CP1250" which is 
> what i get.
> 
> how can i go about finding causes for this error message?

Please enable full debug logging and post the log file; I don't have any 
idea where this results from.

Regards,
Andreas


Re: startup error message "cannot convert from

From
Miha Radej
Date:
i've already tried full debug logging but there is nothing in the logs. 
the message pops up. only after clicking "ok" this gets logged:

2005-06-07 20:52:02 INFO   : 
##############################################################
2005-06-07 20:52:02 INFO   : # pgAdmin III Version 1.3.0 Startup
2005-06-07 20:52:02 INFO   : 
##############################################################
2005-06-07 20:52:02 INFO   : Compiled with dynamically linked SSL support
2005-06-07 20:52:02 INFO   : Creating a splash screen
2005-06-07 20:52:04 INFO   : Using fontmetrics 8/17, 10 Point
2005-06-07 20:52:04 INFO   : Native Description 'Sans 10'
2005-06-07 20:52:04 INFO   : Draw size of 'M': w=11, h=17, descent 3, 
external lead 0.
2005-06-07 20:52:04 INFO   : Draw size of 'g': w=8, h=17, descent 3, 
external lead 0.
2005-06-07 20:52:04 INFO   : Draw size of 'Mg': w=19, h=17, descent 3, 
external lead 0.
2005-06-07 20:52:04 INFO   : Creating a ctlSQLBox
2005-06-07 20:52:05 INFO   : Creating a pgCollection object
2005-06-07 20:52:05 INFO   : Reloading servers...
2005-06-07 20:52:05 INFO   : Creating a pgServer object
2005-06-07 20:52:05 INFO   : Destroying a splash screen

i've configured wxwidgets exactly as stated on the pgadmin3 website 
(except playing with the --enable-debug and --disable-debug switches)
and have followed the instructions on compiling pgadmin3 as well.

Andreas Pflug wrote:
> Miha Radej wrote:
>> hi!
>>
>> i've been playing and compiling with various combinations, omitting 
>> --enable-debug and/or using --disable-debug with wxwidgets, a fresh 
>> pgadmin3 checkout and pgadmin3 1.2.2.
>>
>> in all cases the result is the same: i still get the startup error 
>> message: http://mcajvar.prkoritu.net/images/pga3_error.png
>>
>> a friend of mine who tried using my build gets the same error message, 
>> only with "ISO-8859-1,CP1251" instead of "ISO-8859-2,CP1250" which is 
>> what i get.
>>
>> how can i go about finding causes for this error message?
> 
> Please enable full debug logging and post the log file; I don't have any 
> idea where this results from.
> 
> Regards,
> Andreas
> 


Re: startup error message "cannot convert from

From
Andreas Pflug
Date:
Miha Radej wrote:
> i've already tried full debug logging but there is nothing in the logs. 
> the message pops up. only after clicking "ok" this gets logged:
> 
> 2005-06-07 20:52:02 INFO   : 
> ##############################################################
> 2005-06-07 20:52:02 INFO   : # pgAdmin III Version 1.3.0 Startup
> 2005-06-07 20:52:02 INFO   : 
> ##############################################################
> 2005-06-07 20:52:02 INFO   : Compiled with dynamically linked SSL support
> 2005-06-07 20:52:02 INFO   : Creating a splash screen
> 2005-06-07 20:52:04 INFO   : Using fontmetrics 8/17, 10 Point
> 2005-06-07 20:52:04 INFO   : Native Description 'Sans 10'
> 2005-06-07 20:52:04 INFO   : Draw size of 'M': w=11, h=17, descent 3, 
> external lead 0.
> 2005-06-07 20:52:04 INFO   : Draw size of 'g': w=8, h=17, descent 3, 
> external lead 0.
> 2005-06-07 20:52:04 INFO   : Draw size of 'Mg': w=19, h=17, descent 3, 
> external lead 0.
> 2005-06-07 20:52:04 INFO   : Creating a ctlSQLBox
> 2005-06-07 20:52:05 INFO   : Creating a pgCollection object
> 2005-06-07 20:52:05 INFO   : Reloading servers...
> 2005-06-07 20:52:05 INFO   : Creating a pgServer object
> 2005-06-07 20:52:05 INFO   : Destroying a splash screen

No hints from this.

Which locale are you using, which pgadmin language?
Regards,
Andreas




Re: startup error message "cannot convert from

From
Miha Radej
Date:
[mcajvar@alrisha:~]$ locale
LANG=sl_SI.UTF-8
LC_CTYPE="sl_SI.UTF-8"
LC_NUMERIC="sl_SI.UTF-8"
LC_TIME="sl_SI.UTF-8"
LC_COLLATE="sl_SI.UTF-8"
LC_MONETARY="sl_SI.UTF-8"
LC_MESSAGES="sl_SI.UTF-8"
LC_PAPER="sl_SI.UTF-8"
LC_NAME="sl_SI.UTF-8"
LC_ADDRESS="sl_SI.UTF-8"
LC_TELEPHONE="sl_SI.UTF-8"
LC_MEASUREMENT="sl_SI.UTF-8"
LC_IDENTIFICATION="sl_SI.UTF-8"
LC_ALL=

and slovenian (slovenščina) in pgadmin3. i've already tried a few 
languages before (english, japanese, german, spanish and some other) - 
same thing.

Andreas Pflug wrote:
> Miha Radej wrote:
>> i've already tried full debug logging but there is nothing in the 
>> logs. the message pops up. only after clicking "ok" this gets logged:
>>
>> 2005-06-07 20:52:02 INFO   : 
>> ##############################################################
>> 2005-06-07 20:52:02 INFO   : # pgAdmin III Version 1.3.0 Startup
>> 2005-06-07 20:52:02 INFO   : 
>> ##############################################################
>> 2005-06-07 20:52:02 INFO   : Compiled with dynamically linked SSL support
>> 2005-06-07 20:52:02 INFO   : Creating a splash screen
>> 2005-06-07 20:52:04 INFO   : Using fontmetrics 8/17, 10 Point
>> 2005-06-07 20:52:04 INFO   : Native Description 'Sans 10'
>> 2005-06-07 20:52:04 INFO   : Draw size of 'M': w=11, h=17, descent 3, 
>> external lead 0.
>> 2005-06-07 20:52:04 INFO   : Draw size of 'g': w=8, h=17, descent 3, 
>> external lead 0.
>> 2005-06-07 20:52:04 INFO   : Draw size of 'Mg': w=19, h=17, descent 3, 
>> external lead 0.
>> 2005-06-07 20:52:04 INFO   : Creating a ctlSQLBox
>> 2005-06-07 20:52:05 INFO   : Creating a pgCollection object
>> 2005-06-07 20:52:05 INFO   : Reloading servers...
>> 2005-06-07 20:52:05 INFO   : Creating a pgServer object
>> 2005-06-07 20:52:05 INFO   : Destroying a splash screen
> 
> No hints from this.
> 
> Which locale are you using, which pgadmin language?
> Regards,
> Andreas
> 
>