[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-bugs] <bug>: on selecting EMR Journal
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-bugs] <bug>: on selecting EMR Journal |
Date: |
Wed, 13 Apr 2016 14:14:37 +0200 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
Hello Marc,
thanks for reporting this issue.
On Wed, Apr 13, 2016 at 01:48:26PM +0200, Marc Angermann wrote:
> user comment : on selecting EMR Journal
>
> client version: 1.6.3
...
> 2016-04-13 13:46:59 DEBUG gm.gui
> (C:\Python27\lib\site-packages\Gnumed\wxpython\gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
> #219): unhandled exception caught:
> Traceback (most recent call last):
> File "C:\Python27\lib\site-packages\Gnumed\wxpython\gmHorstSpace.py", line
> 243, in _on_notebook_page_changed
> new_page.receive_focus()
> File "C:\Python27\lib\site-packages\Gnumed\wxpython\gmPlugin.py", line 189,
> in receive_focus
> self._widget.repopulate_ui()
> File "C:\Python27\lib\site-packages\Gnumed\wxpython\gmEMRBrowser.py", line
> 1450, in repopulate_ui
> fname = exporter.export_to_file_by_encounter(patient =
> gmPerson.gmCurrentPatient())
> File "C:\Python27\lib\site-packages\Gnumed\exporters\gmPatientExporter.py",
> line 1006, in export_to_file_by_encounter
> self.__export_by_encounter(target = f, patient = patient)
> File "C:\Python27\lib\site-packages\Gnumed\exporters\gmPatientExporter.py",
> line 1021, in __export_by_encounter
> target.write(txt)
> TypeError: must be unicode, not str
I have attempted a fix. Can you please test the attached file
and report back ?
Karsten
--
GPG key ID E4071346 @ eu.pool.sks-keyservers.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346
gmPatientExporter.py
Description: Text Data