gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] talkback client


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] talkback client
Date: Fri, 25 Mar 2005 22:17:54 +0100
User-agent: Mutt/1.3.22.1i

On Fri, Mar 25, 2005 at 07:38:20PM +0100, Hilbert, Sebastian wrote:

> > if an exception kills the client you'll drop into the talkback
> what do you mean by you will drop. does it start some GUI ?
> Can this be tested e.g a test exception :-)
Sure, either run --debug --talkback or run --talkback and
write some rubbish somewhere after the talkback was
initialized.

> > gnumed/client/wxpython/gmTalkback.py
> >
> needs fixing. BTW this fix does ! work with 2.4.
Which one ?

> I know this because we have
> had issues like those before for wxMAC (which always was 2.5)
Yep, that was the same issue. AFAIR we ended up IFDEFing
wxMAC, though, didn't we ?

> > > How does it send Mail ?
> > Python support, sends to address@hidden, just fired off a
> > test mail to that address
> what I am asking here is. Is some sort of setup needed (smtp server) because
> you could use it to send spam mail, can't you ?
uhm, like, you need to have standard email running somewhere
on your system, no different from any other MUA then

> ----------
> Traceback (most recent call last):
>   File "gmTalkback.py", line 134, in ?
>     run(email_logger)
>   File "gmTalkback.py", line 123, in run
>     app = cTalkbackApp(0)
>   File "/usr/lib/python2.3/site-packages/wx/_core.py", line 5243, in
> __init__
>     self._BootstrapApp()
>   File "/usr/lib/python2.3/site-packages/wx/_core.py", line 4931, in
> _BootstrapApp
>     return _core_.PyApp__BootstrapApp(*args, **kwargs)
>   File "gmTalkback.py", line 113, in OnInit
>     self.frame = cTalkbackFrame(NULL, -1, "GNUmed Talks Back",
> wxDefaultPosition, size=wxSize(-1,-1), style=
> wxDEFAULT_FRAME_STYLE|wxNO_FULL_REPAINT_ON_RESIZE)
>   File "gmTalkback.py", line 66, in __init__
>     self.__do_layout()
>   File "gmTalkback.py", line 93, in __do_layout
>     self.szr_btns.Add(20, 20, 0, wxEXPAND, 0)
>   File "/usr/lib/python2.3/site-packages/wx/_core.py", line 8966, in Add
>     return _core_.Sizer_Add(*args, **kwargs)
> TypeError: wxWindow, wxSizer, wxSize, or (w,h) expected for item

BTW, I tried both Add((20, 20), ...) and Add(wxSize(), ...)
and both do work in 2.4.

So, if someone wants to step up and fix all the Add(w, h, ...)
lines into Add((w, h), ...) because wx2.5 complains - go ahead.

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




reply via email to

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