[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-bugs] <bug>: <user did not comment on bug report>
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-bugs] <bug>: <user did not comment on bug report> |
Date: |
Mon, 21 Feb 2011 16:14:14 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Hello Andrey,
thanks for your report.
> client version: 0.7.9
Your PostgreSQL server is configured to speak Russian:
> 2011-02-20 21:17:39 DEBUG gm.logging
> (/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):
> msg = Unable to connect to database:
>
> не удалось преобразовать имя хоста "salaam.homeunix.com" в адрес: Имя или
> служба не известны
>
>
> Please retry another backend / user / password combination !
And so is your GNUmed client:
> 2011-02-20 21:17:09 DEBUG gm.i18n
> (/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::activate_locale() #230):
> activating user-default locale with <locale.setlocale(locale.LC_ALL, '')>
> returns: [ru_RU.UTF-8]
> 2011-02-20 21:17:09 DEBUG gm.i18n
> (/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #123):
> locale settings after activating user-default locale
> 2011-02-20 21:17:09 DEBUG gm.i18n
> (/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #125):
> current locale settings:
> 2011-02-20 21:17:09 DEBUG gm.i18n
> (/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #126):
> locale.get_locale(): ('ru_RU', 'UTF8')
> 2011-02-20 21:17:09 DEBUG gm.i18n
> (/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #128):
> locale.get_locale(LC_NUMERIC): ('ru_RU', 'UTF8')
> 2011-02-20 21:17:09 DEBUG gm.i18n
> (/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #128):
> locale.get_locale(LC_MESSAGES): ('ru_RU', 'UTF8')
> 2011-02-20 21:17:09 DEBUG gm.i18n
> (/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #128):
> locale.get_locale(LC_MONETARY): ('ru_RU', 'UTF8')
> 2011-02-20 21:17:09 DEBUG gm.i18n
> (/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #128):
> locale.get_locale(LC_COLLATE): ('ru_RU', 'UTF8')
> 2011-02-20 21:17:09 DEBUG gm.i18n
> (/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #128):
> locale.get_locale(LC_CTYPE): ('ru_RU', 'UTF8')
> 2011-02-20 21:17:09 DEBUG gm.i18n
> (/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #128):
> locale.get_locale(LC_TIME): ('ru_RU', 'UTF8')
> 2011-02-20 21:17:09 DEBUG gm.i18n
> (/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #131):
> (locale.set_locale(LC_NUMERIC): ru_RU.UTF-8)
> 2011-02-20 21:17:09 DEBUG gm.i18n
> (/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #131):
> (locale.set_locale(LC_MESSAGES): ru_RU.UTF-8)
> 2011-02-20 21:17:09 DEBUG gm.i18n
> (/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #131):
> (locale.set_locale(LC_MONETARY): ru_RU.UTF-8)
> 2011-02-20 21:17:09 DEBUG gm.i18n
> (/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #131):
> (locale.set_locale(LC_COLLATE): ru_RU.UTF-8)
> 2011-02-20 21:17:09 DEBUG gm.i18n
> (/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #131):
> (locale.set_locale(LC_CTYPE): ru_RU.UTF-8)
> 2011-02-20 21:17:09 DEBUG gm.i18n
> (/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #131):
> (locale.set_locale(LC_ALL): ru_RU.UTF-8)
> 2011-02-20 21:17:09 DEBUG gm.i18n
> (/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #131):
> (locale.set_locale(LC_TIME): ru_RU.UTF-8)
> 2011-02-20 21:17:09 DEBUG gm.i18n
> (/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #134):
> locale.getdefaultlocale() - default (user) locale: ('ru_RU', 'UTF8')
However, PostgreSQL is unable to tell client which encoding
it will send client messages in hence GNUmed cannot know.
A solution to that would be to use PG 9.1 or to configure
PostgreSQL to speak English. Also, GNUmed 0.8 better works
around this issue.
However, even then that would fail because:
2011-02-20 21:17:39 DEBUG gm.logging
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):
dsn = dbname=gnumed_v13 host=salaam.homeunix.com port=5432 user=АМитяев
sslmode=prefer
1) salaam.homeunix.com does not exist anymore
- use publicdb.gnumed.de now (edit the config files)
2) the user "АМитяев" does not exist in the public database
- use any-doc/any-doc
Karsten
--
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346