gnumed-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-bugs] <bug>: Iniciarlo


From: Karsten Hilbert
Subject: Re: [Gnumed-bugs] <bug>: Iniciarlo
Date: Thu, 21 Nov 2013 12:51:54 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Hello joaquin,

thanks for your report !

> client version: 1.1.7

You are running a fairly old version of GNUmed on Ubuntu.

There are a lot more recent versions available for that
platform, currently we are at v1.4

Your log indicates that there was some problem with
connecting to the database:

> 2013-11-17 17:29:29  DEBUG     gm.ui 
> (/usr/share/gnumed/Gnumed/wxpython/gmAuthWidgets.py::GetLoginInfo() #714): 
> backend profile "GNUmed database on this machine" selected
> 2013-11-17 17:29:29  DEBUG     gm.ui 
> (/usr/share/gnumed/Gnumed/wxpython/gmAuthWidgets.py::GetLoginInfo() #721):  
> details: <SALAZAR> on gnumed_v16@:5432 (UTF8, public)
> 2013-11-17 17:29:29  DEBUG     gm.ui 
> (/usr/share/gnumed/Gnumed/wxpython/gmAuthWidgets.py::GetLoginInfo() #723):  
> helpdesk: "Your own IT support <needs configuration>"
> 2013-11-17 17:29:29  DEBUG     gm.gui 
> (/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
>  #160): unhandled exception caught:
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
>     "__main__", fname, loader, pkg_name)
>   File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
>     exec code in run_globals
>   File "/usr/share/gnumed/Gnumed/gnumed.py", line 548, in <module>
>     gmGuiMain.main()
>   File "/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py", line 3352, in main
>     app = gmApp(redirect = False, clearSigInt = False)
>   File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", 
> line 7981, in __init__
>     self._BootstrapApp()
>   File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", 
> line 7555, in _BootstrapApp
>     return _core_.PyApp__BootstrapApp(*args, **kwargs)
>   File "/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py", line 2830, in OnInit
>     if not self.__establish_backend_connection():
>   File "/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py", line 3016, in 
> __establish_backend_connection
>     require_version = not override
>   File "/usr/share/gnumed/Gnumed/wxpython/gmAuthWidgets.py", line 137, in 
> connect_to_database
>     conn = gmPG2.get_raw_connection(dsn = dsn, verbose = True, readonly = 
> True)
>   File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1388, in 
> get_raw_connection
>     conn = dbapi.connect(dsn=dsn, 
> connection_factory=psycopg2.extras.DictConnection)
>   File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in 
> connect
>     connection_factory=connection_factory, async=async)

However, the exact nature was not decodable:

> UnicodeEncodeError: 'ascii' codec can't encode character u'\xa1' in position 
> 52: ordinal not in range(128)

likely because the message returned was in some
sort of Spanish or Portuguese. Later versions
are better able to deal with such languages.

Karsten
-- 
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

[Prev in Thread] Current Thread [Next in Thread]