[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-bugs] <bug>: Dieser Fehler trat auf, als ich einen neu
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-bugs] <bug>: Dieser Fehler trat auf, als ich einen neu |
Date: |
Tue, 27 Jul 2010 09:57:02 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Hello Armin,
thanks for your report !
> user comment : Dieser Fehler trat auf, als ich einen neu angelegter Benutzer
> abspeichern wollte.
>
> client version: 0.7.7
...
> 2010-07-24 20:24:15 DEBUG gm.gui
> (/usr/lib/python2.6/site-packages/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
> #49): unhandled exception caught:
> Traceback (most recent call last):
> File "/usr/lib/python2.6/site-packages/Gnumed/wxpython/gmEditArea.py", line
> 253, in _on_save_button_pressed
> if self._PNL_ea.save():
> File "/usr/lib/python2.6/site-packages/Gnumed/wxpython/gmEditArea.py", line
> 144, in save
> if not self._valid_for_save():
> File
> "/usr/lib/python2.6/site-packages/Gnumed/wxpython/gmDemographicsWidgets.py",
> line 2373, in _valid_for_save
> return (self.__identity_valid_for_save() and
> self.__address_valid_for_save(empty_address_is_valid = True))
> File
> "/usr/lib/python2.6/site-packages/Gnumed/wxpython/gmDemographicsWidgets.py",
> line 2182, in __identity_valid_for_save
> elif dob > gmDateTime.wx_now_here(wx = wx):
> File "/usr/lib/python2.6/site-packages/Gnumed/pycommon/gmDateTime.py", line
> 203, in wx_now_here
> return py_dt2wxDate(py_dt = pydt_now_here(), wx = wx)
> File "/usr/lib/python2.6/site-packages/Gnumed/pycommon/gmDateTime.py", line
> 240, in py_dt2wxDate
> wxdt.SetYear(py_dt.year)
> File
> "/usr/local/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_misc.py",
> line 3656, in SetYear
> return _misc_.DateTime_SetYear(*args, **kwargs)
> PyAssertionError: C++ assertion "IsValid()" failed at
> ../include/wx/datetime.h(1688) in GetTicks(): invalid wxDateTime
I have unsuccessfully tried to reproduce this under
Debian/Squeeze. Can you please give a more detailed
description how I can povoke this problem ?
The relevant data surely does not at all look suspicious:
> 2010-07-24 20:24:15 DEBUG gm.logging
> (/usr/lib/python2.6/site-packages/Gnumed/pycommon/gmLog2.py::log_stack_trace()
> #157): >>> execution frame [__identity_valid_for_save] in
> [/usr/lib/python2.6/site-packages/Gnumed/wxpython/gmDemographicsWidgets.py]
> at line 2182 <<<
> 2010-07-24 20:24:15 DEBUG gm.logging
> (/usr/lib/python2.6/site-packages/Gnumed/pycommon/gmLog2.py::log_stack_trace()
> #172): dob = Sa 24 Jul 2010 00:00:00 CEST
> 2010-07-24 20:24:15 DEBUG gm.logging
> (/usr/lib/python2.6/site-packages/Gnumed/pycommon/gmLog2.py::log_stack_trace()
> #172): self =
> <Gnumed.wxpython.gmDemographicsWidgets.cNewPatientEAPnl; proxy of <Swig
> Object of type 'wxPanel *' at 0x964be68> >
> 2010-07-24 20:24:15 DEBUG gm.logging
> (/usr/lib/python2.6/site-packages/Gnumed/pycommon/gmLog2.py::log_stack_trace()
> #172): error = True
> 2010-07-24 20:24:15 DEBUG gm.logging
> (/usr/lib/python2.6/site-packages/Gnumed/pycommon/gmLog2.py::log_stack_trace()
> #157): >>> execution frame [wx_now_here] in
> [/usr/lib/python2.6/site-packages/Gnumed/pycommon/gmDateTime.py] at line 203
> <<<
> 2010-07-24 20:24:15 DEBUG gm.logging
> (/usr/lib/python2.6/site-packages/Gnumed/pycommon/gmLog2.py::log_stack_trace()
> #157): >>> execution frame [py_dt2wxDate] in
> [/usr/lib/python2.6/site-packages/Gnumed/pycommon/gmDateTime.py] at line 240
> <<<
> 2010-07-24 20:24:15 DEBUG gm.logging
> (/usr/lib/python2.6/site-packages/Gnumed/pycommon/gmLog2.py::log_stack_trace()
> #172): wxdt = Fr 01 Jan 2010 00:59:59 CET
> 2010-07-24 20:24:15 DEBUG gm.logging
> (/usr/lib/python2.6/site-packages/Gnumed/pycommon/gmLog2.py::log_stack_trace()
> #172): py_dt = 2010-07-24 20:24:15.450620+02:00
> 2010-07-24 20:24:15 DEBUG gm.logging
> (/usr/lib/python2.6/site-packages/Gnumed/pycommon/gmLog2.py::log_stack_trace()
> #157): >>> execution frame [SetYear] in
> [/usr/local/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_misc.py] at
> line 3656 <<<
> 2010-07-24 20:24:15 DEBUG gm.logging
> (/usr/lib/python2.6/site-packages/Gnumed/pycommon/gmLog2.py::log_stack_trace()
> #172): args = (<wx.DateTime: "Fr 01 Jan 2010 00:59:59 CET"
> at _c0bd7309_p_wxDateTime>, 2010)
Thanks,
Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346