gnumed-bugs
[Top][All Lists]
Advanced

[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: Armin Sievert
Subject: Re: [Gnumed-bugs] <bug>: Dieser Fehler trat auf, als ich einen neu
Date: Thu, 29 Jul 2010 20:28:04 +0200
User-agent: KMail/1.9.10

Am Tuesday 27 July 2010 09:57:02 schrieb Karsten Hilbert:
> 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/gmExceptionHandlingWidg
> >ets.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.p
> >y", 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.p
> >y", 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_tr
> >ace() #157): >>> execution frame [__identity_valid_for_save] in
> > [/usr/lib/python2.6/site-packages/Gnumed/wxpython/gmDemographicsWidgets.p
> >y] at line 2182 <<< 2010-07-24 20:24:15  DEBUG     gm.logging
> > (/usr/lib/python2.6/site-packages/Gnumed/pycommon/gmLog2.py::log_stack_tr
> >ace() #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_tr
> >ace() #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_tr
> >ace() #172):                error = True 2010-07-24 20:24:15  DEBUG    
> > gm.logging
> > (/usr/lib/python2.6/site-packages/Gnumed/pycommon/gmLog2.py::log_stack_tr
> >ace() #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_tr
> >ace() #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_tr
> >ace() #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_tr
> >ace() #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_tr
> >ace() #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_tr
> >ace() #172):                 args = (<wx.DateTime: "Fr 01 Jan 2010
> > 00:59:59 CET" at _c0bd7309_p_wxDateTime>, 2010)
>
> Thanks,
> Karsten

Hallo Karsten,
Vielen Dank für deine Antwort. Vielleicht helfen ja die weiteren Infos, den 
Fehler erklären, reproduzieren und abstellen zu können.

Ich nutze Suse 11.1.

Das ist die Python-Version, die ich installiert habe:
Python 2.6 (r26:66714, Mar 30 2010, 00:30:21)
[GCC 4.3.2 [gcc-4_3-branch revision 141291]] on linux2

Das bekomme ich als Ausgabe, wenn ich gnumed in der console starte:
/usr/lib/python2.6/site-packages/Gnumed/pycommon/gmTools.py:11: 
DeprecationWarning: the MimeWriter module is deprecated; use the email 
package instead
 import urllib2 as wget, decimal, StringIO, MimeWriter, mimetypes, mimetools
Traceback (most recent call last):
  File "/usr/lib/python2.6/logging/__init__.py", line 765, in emit
    self.stream.write(fs % msg.encode("UTF-8"))
  File "/usr/lib/python2.6/codecs.py", line 686, in write
    return self.writer.write(data)
  File "/usr/lib/python2.6/codecs.py", line 351, in write
    data, consumed = self.encode(object, self.errors)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 167: 
ordinal not in range(128)
Traceback (most recent call last):
  File "/usr/lib/python2.6/logging/__init__.py", line 765, in emit
    self.stream.write(fs % msg.encode("UTF-8"))
  File "/usr/lib/python2.6/codecs.py", line 686, in write
    return self.writer.write(data)
  File "/usr/lib/python2.6/codecs.py", line 351, in write
    data, consumed = self.encode(object, self.errors)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 162: 
ordinal not in range(128)
Traceback (most recent call last):
  File "/usr/lib/python2.6/logging/__init__.py", line 765, in emit
    self.stream.write(fs % msg.encode("UTF-8"))
  File "/usr/lib/python2.6/codecs.py", line 686, in write
    return self.writer.write(data)
  File "/usr/lib/python2.6/codecs.py", line 351, in write
    data, consumed = self.encode(object, self.errors)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 197: 
ordinal not in range(128)
DISPATCHER WARNING: connect(): unknown signal [test_result_mod_db]
DISPATCHER WARNING: connect(): unknown signal [substance_intake_mod_db]
which: no aeskulap in 
(/opt/kde3/bin:/home/armin/bin:/usr/local/bin:/usr/bin:/bi                      
        
n:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/bin:/usr/lib/mit/bin:/usr/lib/mit/
                              
sbin:/usr/lib/qt3/bin:/opt/real/RealPlayer:/usr/local/lib)
which: no amide in 
(/opt/kde3/bin:/home/armin/bin:/usr/local/bin:/usr/bin:/bin:/                   
           
usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/bin:/usr/lib/mit/bin:/usr/lib/mit/sbi
                              
n:/usr/lib/qt3/bin:/opt/real/RealPlayer:/usr/local/lib)
which: no xmedcon in 
(/opt/kde3/bin:/home/armin/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/bin:/usr/lib/mit/bin:/usr/lib/mit/s
                              
bin:/usr/lib/qt3/bin:/opt/real/RealPlayer:/usr/local/lib)
DISPATCHER WARNING: connect(): unknown signal [message_inbox_generic_mod_db]
---=== GNUmed shutdown ===---
Sie müssen dieses Fenster manuell schließen, um GNUmed vollständig zu beenden.
Dies gewährleistet, daß Sie die Konsolenausgabe in Ruhe inspizieren können.
---=== GNUmed shutdown ===---

Ich kann mir vorstellen, dass es vielleicht gar nicht direkt mit gnumed zu tun 
hat, sondern eher mit meiner Python-Version.

Gruß Armin




reply via email to

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