Re: [casper] KATCP Python Interface doesn't exit cleanly

2009-08-06 Thread Jason Manley
Thanks Simon I have updated CORR's katcp wrapper to do this by default now. Jason On 05 Aug 2009, at 14:10, Simon Cross wrote: Hi Jason and Suraj On Wed, 2009-08-05 at 13:55 +0200, Jason Manley wrote: Yes, I have had similar experiences. You have to close any open connections yourself,

Re: [casper] KATCP Python Interface doesn't exit cleanly

2009-08-05 Thread Jason Manley
Hi Suraj Yes, I have had similar experiences. You have to close any open connections yourself, else the (separate) thread with the open port stays open, hanging the exit procedure. myroachobject.stop() does this. Take a look at some of my scripts in the corr package to see an example.

[casper] KATCP Python Interface doesn't exit cleanly

2009-08-04 Thread Suraj Gowda
Hello everybody, When using the python interface to KATCP (and the corr package), scripts don't seem to exit cleanly out of the python shell. This isn't a serious problem but is a bit annoying because anytime a roach script is run, the shell becomes unresponsive and needs to be re-