[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] dob bug
From: |
Sebastian Hilbert |
Subject: |
Re: [Gnumed-devel] dob bug |
Date: |
Thu, 10 Mar 2011 08:28:21 +0100 |
User-agent: |
KMail/1.13.5 (Linux/2.6.34.7-0.3-desktop; KDE/4.6.0; i686; ; ) |
On Wednesday 09 March 2011 07:09:16 address@hidden wrote:
> Hi
> I eventually moved to debian testing almost after 8 years of ubuntu. The
> two distributions did not seem to be different now.
> Setting gnumed was easy.
> But the problem of not able to enter date of birth persisted on gnome as
> well as
> twm.
I overlooked that at first but since it removes gnome and kde out of the
equation it is very likely related to the timezone
I guess to nail this we really need to isolate the dob control and run this
seperately: Could even be a bug in wxgtk. twm, gnome or kde all just run
wxpython-gtk on GNU/Linux. So GTK is not out of the equation yet.
From the bootstrap log (below) it looks like it tries to set India standard
time which cannot be set (by whom?). It then maps to posix/Israel.
'client system time zone detected as equivalent to [posix/Israel]'
Will try to rproduce this in my system now.
Sebastian
------------------------------------------------------------------------------------------------
2011-03-05 23:07:44 DEBUG gm.datetime
(/var/lib/gnumed/Gnumed/pycommon/gmDateTime.py::init() #120):
mx.DateTime.now(): [2011-03-05 23:07:44.86]
2011-03-05 23:07:44 DEBUG gm.datetime
(/var/lib/gnumed/Gnumed/pycommon/gmDateTime.py::init() #121): datetime.now()
: [2011-03-05 23:07:44.862534]
2011-03-05 23:07:44 DEBUG gm.datetime
(/var/lib/gnumed/Gnumed/pycommon/gmDateTime.py::init() #122):
time.localtime() : [time.struct_time(tm_year=2011, tm_mon=3, tm_mday=5,
tm_hour=23, tm_min=7, tm_sec=44, tm_wday=5, tm_yday=64, tm_isdst=0)]
2011-03-05 23:07:44 DEBUG gm.datetime
(/var/lib/gnumed/Gnumed/pycommon/gmDateTime.py::init() #123): time.gmtime()
: [time.struct_time(tm_year=2011, tm_mon=3, tm_mday=5, tm_hour=17,
tm_min=37, tm_sec=44, tm_wday=5, tm_yday=64, tm_isdst=0)]
2011-03-05 23:07:44 DEBUG gm.datetime
(/var/lib/gnumed/Gnumed/pycommon/gmDateTime.py::init() #128): $TZ not
defined
2011-03-05 23:07:44 DEBUG gm.datetime
(/var/lib/gnumed/Gnumed/pycommon/gmDateTime.py::init() #130): time.daylight:
[0] (whether or not DST is locally used at all)
2011-03-05 23:07:44 DEBUG gm.datetime
(/var/lib/gnumed/Gnumed/pycommon/gmDateTime.py::init() #131): time.timezone:
[-19800] seconds
2011-03-05 23:07:44 DEBUG gm.datetime
(/var/lib/gnumed/Gnumed/pycommon/gmDateTime.py::init() #132): time.altzone :
[-19800] seconds
2011-03-05 23:07:44 DEBUG gm.datetime
(/var/lib/gnumed/Gnumed/pycommon/gmDateTime.py::init() #133): time.tzname :
[IST / IST] (non-DST / DST)
2011-03-05 23:07:44 DEBUG gm.datetime
(/var/lib/gnumed/Gnumed/pycommon/gmDateTime.py::init() #134):
mx.DateTime.now().gmtoffset(): [05:30:00.00]
2011-03-05 23:07:44 DEBUG gm.datetime
(/var/lib/gnumed/Gnumed/pycommon/gmDateTime.py::init() #147): DST currently
in effect: [False]
2011-03-05 23:07:44 DEBUG gm.datetime
(/var/lib/gnumed/Gnumed/pycommon/gmDateTime.py::init() #159): DST currently
not in effect: using UTC offset of [19800] seconds instead of [19800]
seconds
2011-03-05 23:07:44 DEBUG gm.datetime
(/var/lib/gnumed/Gnumed/pycommon/gmDateTime.py::init() #162): UTC offset is
positive, assuming EAST of Greenwich (clock is "ahead")
2011-03-05 23:07:44 DEBUG gm.datetime
(/var/lib/gnumed/Gnumed/pycommon/gmDateTime.py::init() #170): ISO timezone:
[05:30:00.00] (taken from mx.DateTime.now().gmtoffset())
2011-03-05 23:07:44 DEBUG gm.db
(/var/lib/gnumed/Gnumed/pycommon/gmPG2.py::__detect_client_timezone() #266):
trying to detect timezone from system
2011-03-05 23:07:45 DEBUG gm.db
(/var/lib/gnumed/Gnumed/pycommon/gmPG2.py::__expand_timezone() #247): [IST]
maps to [posix/Israel]
2011-03-05 23:07:45 DEBUG gm.db
(/var/lib/gnumed/Gnumed/pycommon/gmPG2.py::__detect_client_timezone() #283):
candidates: [u'IST', u'posix/Israel']
2011-03-05 23:07:45 DEBUG gm.db
(/var/lib/gnumed/Gnumed/pycommon/gmPG2.py::__validate_timezone() #193):
validating time zone [IST]
2011-03-05 23:07:45 WARNING gm.db
(/var/lib/gnumed/Gnumed/pycommon/gmPG2.py::__validate_timezone() #214): time
zone [IST] is not settable
2011-03-05 23:07:46 DEBUG gm.db
(/var/lib/gnumed/Gnumed/pycommon/gmPG2.py::__validate_timezone() #193):
validating time zone [posix/Israel]
2011-03-05 23:07:46 INFO gm.db
(/var/lib/gnumed/Gnumed/pycommon/gmPG2.py::__validate_timezone() #203): time
zone [posix/Israel] is settable
2011-03-05 23:07:46 INFO gm.db
(/var/lib/gnumed/Gnumed/pycommon/gmPG2.py::__validate_timezone() #209): time
zone [posix/Israel] is usable
2011-03-05 23:07:46 INFO gm.db
(/var/lib/gnumed/Gnumed/pycommon/gmPG2.py::__detect_client_timezone() #300):
client system time zone detected as equivalent to [posix/Israel]
2011-03-05 23:07:46 DEBUG gm.db
(/var/lib/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1247):
access mode [READ WRITE]
2011-03-05 23:07:46 DEBUG gm.db
(/var/lib/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1310): client
string encoding [UTF8], isolation level [serializable], time zone
[posix/Israel], datestyle [ISO], sql_inheritance [ON]
- [Gnumed-devel] dob bug, vbanait, 2011/03/09
- Re: [Gnumed-devel] dob bug, Karsten Hilbert, 2011/03/09
- Re: [Gnumed-devel] dob bug, Sebastian Hilbert, 2011/03/09
- Re: [Gnumed-devel] dob bug, Karsten Hilbert, 2011/03/09
- Re: [Gnumed-devel] dob bug, Sebastian Hilbert, 2011/03/10
- Re: [Gnumed-devel] dob bug, Karsten Hilbert, 2011/03/10
- Re: [Gnumed-devel] dob bug, Karsten Hilbert, 2011/03/10
- Re: [Gnumed-devel] dob bug, Sebastian Hilbert, 2011/03/10
- Re: [Gnumed-devel] dob bug, Karsten Hilbert, 2011/03/10
Re: [Gnumed-devel] dob bug, Sebastian Hilbert, 2011/03/09
Re: [Gnumed-devel] dob bug,
Sebastian Hilbert <=
Re: [Gnumed-devel] dob bug -more info, Sebastian Hilbert, 2011/03/17
Re: [Gnumed-devel] dob bug - workaround, Sebastian Hilbert, 2011/03/17
Re: [Gnumed-devel] dob bug -more info, Sebastian Hilbert, 2011/03/17
Re: [Gnumed-devel] dob bug -more info, Karsten Hilbert, 2011/03/17