gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] <bug>: After the first install logged in for the f


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] <bug>: After the first install logged in for the f
Date: Tue, 12 May 2009 23:08:31 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

> user comment  : After the first install logged in for the first time using 
> the default username and password

> system account: iceydr
> staff member  : iceydr

Hello IceyDr,

you need to either adjust your time zone to something both
PostgreSQL and psycopg2 can work with:

> 2009-05-12 05:22:37  WARNING   gm.database 
> (/var/lib/python-support/python2.6/Gnumed/pycommon/gmPG2.py::__validate_timezone()
>  #186): time zone [IST] seems invalid
...
> 2009-05-12 05:18:02  DEBUG     gm.cfg 
> (/var/lib/python-support/python2.6/Gnumed/pycommon/gmCfg2.py::get() #310): 
> option [client timezone] not in group [backend] in source [user]

or upgrade your psycopg2:

> 2009-05-12 05:18:02  INFO      gm.database 
> (/var/lib/python-support/python2.6/Gnumed/pycommon/gmPG2.py::<module>() #41): 
> psycopg2 version: 2.0.8 (dec mx dt ext pq3)

or upgrade your GNUmed client:

> 2009-05-12 05:18:09  INFO      gm.main 
> (/var/lib/python-support/python2.6/Gnumed/wxpython/gmGuiMain.py::<module>() 
> #79): GNUmed client version [0.3.9] on branch [0.3]

because this error:

> 2009-05-12 05:22:54  ERROR     gm.person 
> (/var/lib/python-support/python2.6/Gnumed/business/gmPerson.py::__init__() 
> #762): cannot instantiate staff instance
> Traceback (most recent call last):
>   File "/var/lib/python-support/python2.6/Gnumed/business/gmPerson.py", line 
> 760, in __init__
>     rows, idx = gmPG2.run_ro_queries(queries = [{'cmd': cmd}], 
> get_col_idx=True, verbose=True)
>   File "/var/lib/python-support/python2.6/Gnumed/pycommon/gmPG2.py", line 
> 815, in run_ro_queries
>     data = curs.fetchall()
>   File "/usr/lib/python2.6/dist-packages/psycopg2/extras.py", line 60, in 
> fetchall
>     return _cursor.fetchall(self)
> DataError: unable to parse time

has been fixed.

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




reply via email to

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