[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-bugs] <bug>: Error
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-bugs] <bug>: Error |
Date: |
Thu, 19 May 2011 17:56:33 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hello Alexis,
thank you for your problem report.
> client version: 0.9.1
There seems to be a problem for the mx.DateTime module to ...
> Traceback (most recent call last):
> File
> "C:\workplace\gnumed-client.0.9.1\build\pyi.win32\setup\outPYZ1.pyz/Gnumed.wxpython.gmPhraseWheel",
> line 67, in Notify
> File
> "C:\workplace\gnumed-client.0.9.1\build\pyi.win32\setup\outPYZ1.pyz/Gnumed.wxpython.gmPhraseWheel",
> line 819, in _on_timer_fired
> File
> "C:\workplace\gnumed-client.0.9.1\build\pyi.win32\setup\outPYZ1.pyz/Gnumed.wxpython.gmPhraseWheel",
> line 592, in __update_matches_in_picklist
> File
> "C:\workplace\gnumed-client.0.9.1\build\pyi.win32\setup\outPYZ1.pyz/Gnumed.pycommon.gmMatchProvider",
> line 80, in getMatches
> File
> "C:\workplace\gnumed-client.0.9.1\build\pyi.win32\setup\outPYZ1.pyz/Gnumed.wxpython.gmDateTimeInput",
> line 110, in getMatchesByPhrase
> File
> "C:\workplace\gnumed-client.0.9.1\build\pyi.win32\setup\outPYZ1.pyz/Gnumed.pycommon.gmDateTime",
> line 1190, in str2pydt_matches
> File
> "C:\workplace\gnumed-client.0.9.1\build\pyi.win32\setup\outPYZ1.pyz/Gnumed.pycommon.gmDateTime",
> line 937, in __numbers_only2py_dt
> File
> "C:\workplace\gnumed-client.0.9.1\build\pyi.win32\setup\outPYZ1.pyz/Gnumed.pycommon.gmDateTime",
> line 210, in mxdt2py_dt
> Error: cannot convert value to a time value
... turn your input into a timestamp suggestion.
Unfortunately, the log file does not give us any more
details on it except that it must have happened when you
tried to save a new patient and entered digits only into the
date of birth field:
> File
> "C:\workplace\gnumed-client.0.9.1\build\pyi.win32\setup\outPYZ1.pyz/Gnumed.pycommon.gmDateTime",
> line 937, in __numbers_only2py_dt
The error message itself is rather unspecific, too.
However, I have fixed in 0.9.5 (which I just uploaded) two
problems with exactly that part of the code:
FIX: exception on DOB input because .strptime() returns TZ naive dates
[thanks J.Busser]
FIX: exceptions on entering large integers into DOB field
so you may want to upgrade and try again to see if the
problem is still there. If it is I should like to know how I
can reproduce it so I can fix it.
Thanks,
Karsten
--
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346