gnumed-bugs
[Top][All Lists]
Advanced

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

Re: [Gnumed-bugs] <bug>: error after signing a document from the inb


From: Karsten Hilbert
Subject: Re: [Gnumed-bugs] <bug>: error after signing a document from the inb
Date: Mon, 14 Jan 2013 12:14:31 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Hello Marc,

thanks for your report.

> user comment  : error after signing a document from the inbox and then 
> switching to the inbox again, happens every time!
> 
> client version: 1.2.7

At least we've now got proof that there's something wrong
with the code filling the inbox with items:

> 2013-01-14 11:35:15  DEBUG     gm.gui 
> (/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
>  #186): unhandled exception caught:
...
>   File "/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py", line 
> 850, in __populate_inbox
>     self._LCTRL_provider_inbox.set_data(data = self.__msgs)
>   File "/usr/share/gnumed/Gnumed/wxpython/gmListWidgets.py", line 988, in 
> set_data
>     raise ValueError('<data> length (%s) must be equal to number of list 
> items (%s)' % (len(data), self.ItemCount))
> ValueError: <data> length (109) must be equal to number of list items (218)

Can you provide the following information:

- when this happens, does the inbox show all items or only
  those for the active patient ?

- when you say "sign document from the inbox" you mean "double-click
  the inbox item saying that there's new documents" (which takes
  you to the document plugin), right ?

- when you double-click the inbox item, did you already have
  an active patient ?

- if so, was it the patient referenced from the inbox item or a different 
patient ?

Oh, and there's another hint:

> 2013-01-14 11:35:17  DEBUG     gm.gui 
> (/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
>  #165): unhandled exception caught:
> Traceback (most recent call last):
>   File "/usr/share/gnumed/Gnumed/wxpython/gmListWidgets.py", line 1188, in 
> _on_mouse_motion
>     dyna_tt = self.__item_tooltip_callback(self.__data[item_idx])
>   File "/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py", line 
> 956, in _get_msg_tooltip
>     return msg.format()
> AttributeError: 'list' object has no attribute 'format'

Inbox items shouldn't be lists ...

I'll investigate. Please help with providing the above
information so I can better reproduce the situation.

Karsten
-- 
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

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