[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-bugs] <bug>: Via menus, tried forcing language to EN_DK
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-bugs] <bug>: Via menus, tried forcing language to EN_DK |
Date: |
Tue, 21 Jul 2009 15:06:28 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Mon, Jul 20, 2009 at 05:47:42PM -0400, Dr.Leonard Horatio McCoy wrote:
> user comment : Via menus, tried forcing language to EN_DK as GNUmed appeared
> to allow me
>
> client version: 0.5.rc4
...
> 2009-07-20 14:21:01 DEBUG gm.gui
> (/home/jbusser/rc4/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
> #49): unhandled exception caught:
> Traceback (most recent call last):
> File "/home/jbusser/rc4/Gnumed/wxpython/gmGuiMain.py", line 1157, in
> __on_set_db_lang
> gmPG2.force_user_language(language = language)
> File "/home/jbusser/rc4/Gnumed/pycommon/gmPG2.py", line 656, in
> force_user_language
> 'args': {'lang': language}
> File "/home/jbusser/rc4/Gnumed/pycommon/gmPG2.py", line 1081, in
> run_rw_queries
> curs.execute(query['cmd'], args)
> File "/usr/lib/python2.5/site-packages/psycopg2/extras.py", line 89, in
> execute
> return _cursor.execute(self, query, vars, async)
> IntegrityError: duplicate key value violates unique constraint
> "curr_lang_user_key"
> CONTEXT: SQL statement "insert into i18n.curr_lang(db_user, lang) values (
> $1 , $2 )"
> PL/pgSQL function "force_curr_lang" line 7 at SQL statement
> SQL statement "select i18n.force_curr_lang( $1 , CURRENT_USER)"
> PL/pgSQL function "force_curr_lang" line 5 at SQL statement
Should be fixed. Needs a database upgrade (v11.rc5, not
released yet). Will upgrade the public DB.
Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346