gnumed-devel
[Top][All Lists]
Advanced

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

[Gnumed-devel] Re: <bug>: trying to use 1900.1.13 as dob for new pati


From: Karsten Hilbert
Subject: [Gnumed-devel] Re: <bug>: trying to use 1900.1.13 as dob for new pati
Date: Tue, 14 Oct 2008 12:52:03 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

On Sun, Oct 12, 2008 at 03:37:21PM +0200, Dr.Leonard Horatio McCoy wrote:

> Report sent via GNUmed's handler for unexpected exceptions.
> 
> user comment  : trying to use 1900.1.13 as dob for new patient
> 
> system account: basti
> staff member  : Dr.Leonard Horatio McCoy (LMcC = any-doc)
> sender email  : address@hidden
> 
>  affects gnumed
>

> 2008-10-12 15:36:35  DEBUG     gm.gui 
> (/home/basti/sources/gnumed-0_3_patches/gnumed/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
>  #45): unhandled exception caught:
> Traceback (most recent call last):
>   File 
> "/home/basti/sources/gnumed-0_3_patches/gnumed/gnumed/Gnumed/wxpython/gmTimer.py",
>  line 67, in Notify
>     self.__callback(self.cookie)
>   File 
> "/home/basti/sources/gnumed-0_3_patches/gnumed/gnumed/Gnumed/wxpython/gmPhraseWheel.py",
>  line 702, in _on_timer_fired
>     self.__update_matches_in_picklist()
>   File 
> "/home/basti/sources/gnumed-0_3_patches/gnumed/gnumed/Gnumed/wxpython/gmPhraseWheel.py",
>  line 555, in __update_matches_in_picklist
>     matched, self.__current_matches = 
> self.matcher.getMatches(self.input2match)
>   File 
> "/home/basti/sources/gnumed-0_3_patches/gnumed/gnumed/Gnumed/pycommon/gmMatchProvider.py",
>  line 81, in getMatches
>     return self.getMatchesByPhrase(tmpFragment)
>   File 
> "/home/basti/sources/gnumed-0_3_patches/gnumed/gnumed/Gnumed/wxpython/gmDateTimeInput.py",
>  line 59, in getMatchesByPhrase
>     matches = gmDateTime.str2fuzzy_timestamp_matches(aFragment.strip())
>   File 
> "/home/basti/sources/gnumed-0_3_patches/gnumed/gnumed/Gnumed/pycommon/gmDateTime.py",
>  line 754, in str2fuzzy_timestamp_matches
>     timestamp = 
> pyDT.datetime.fromtimestamp(time.mktime(time.strptime(str2parse, 
> pattern[0]))),
> OverflowError: mktime argument out of range

Fixed in 0.3.x and CVS HEAD. Please test and close.

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]