gnumed-bugs
[Top][All Lists]
Advanced

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

Re: [Gnumed-bugs] <bug>: on saving note


From: Karsten Hilbert
Subject: Re: [Gnumed-bugs] <bug>: on saving note
Date: Wed, 30 Mar 2016 15:59:50 +0200
User-agent: Mutt/1.5.24 (2015-08-30)

On Wed, Mar 30, 2016 at 03:33:01PM +0200, Karsten Hilbert wrote:

> > user comment  : on saving note
> ...
> > 2016-03-30 14:26:38  DEBUG     gm.gui 
> > (C:\Python27\lib\site-packages\Gnumed\wxpython\gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
> >  #195): unhandled exception caught:
> > Traceback (most recent call last):
> >   File 
> > "C:\Python27\lib\site-packages\Gnumed\wxpython\gmNarrativeWidgets.py", line 
> > 708, in _on_save_note_button_pressed
> >     gmTools.none_if(self._TCTRL_rfe.GetValue().strip(), u'')
> >   File 
> > "C:\Python27\lib\site-packages\Gnumed\wxpython\gmNarrativeWidgets.py", line 
> > 888, in save_current_editor
> >     if not page.save(emr = emr, episode_name_candidates = 
> > episode_name_candidates, encounter = encounter):
> >   File 
> > "C:\Python27\lib\site-packages\Gnumed\wxpython\gmProgressNotesEAWidgets.py",
> >  line 217, in save
> >     episode = self.__create_new_episode(emr = emr, episode_name_candidates 
> > = episode_name_candidates)
> >   File 
> > "C:\Python27\lib\site-packages\Gnumed\wxpython\gmProgressNotesEAWidgets.py",
> >  line 301, in __create_new_episode
> >     if not gmEMRStructWidgets.move_episode_to_issue(episode = new_episode, 
> > target_issue = issue, save_to_backend = True):
> > NameError: global name 'gmEMRStructWidgets' is not defined
> 
> Fixed.

Meanwhile you might try switching to the STC based, editor
like notes input for testing.

Another workound is to pre-create needed episodes in the EMR
tree and only add notes to existing episodes ATM.

Karsten
-- 
GPG key ID E4071346 @ eu.pool.sks-keyservers.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

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