mansrz / pymt

Automatically exported from code.google.com/p/pymt
0 stars 0 forks source link

On OSX, need to force quit the process #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Under OSX with Python 2.6, I can close pymt windows by pressing escape, but
it doesn't kill the process.  Afterwards, I can't seem to kill the process
in the terminal with ctrl-x or ctrl-c, I need to manually kill it with the
PID, any ideas why this is happening ?

Thanks,

Nat

Original issue reported on code.google.com by leca...@gmail.com on 19 Nov 2008 at 8:32

GoogleCodeExporter commented 9 years ago
I have noticed this as well.  I'll take a look at it, it might be a simple fix 
in 
attaching an function calling sys.exit() to the window close handler.  Not sure 
why 
it behaves differently only on OSX, might be a pyglet issue.

Original comment by thomas.h...@gmail.com on 19 Nov 2008 at 9:03

GoogleCodeExporter commented 9 years ago
I guess that is because the settimout() line that had been commented ... the 
sockets 
still work after closed the window!

Original comment by felipe.c...@gmail.com on 25 Nov 2008 at 12:59

GoogleCodeExporter commented 9 years ago
still seems to be an issue.  I think Felipe is right, it has to do with the osc 
connection.  will need to take a closer look at this soon.  (after finals :P)

Original comment by thomas.h...@gmail.com on 15 Dec 2008 at 5:16

GoogleCodeExporter commented 9 years ago

Original comment by thomas.h...@gmail.com on 15 Dec 2008 at 5:17

GoogleCodeExporter commented 9 years ago
I've the same issue in ubuntu intrepid with latest svn version.

Original comment by txprog on 29 Dec 2008 at 11:53

GoogleCodeExporter commented 9 years ago
This is the commented settimeout line.
We got 2 solutions: 
- use no-blocking socket
- repair issue with MTSimulator(?) and timeout socket

Original comment by txprog on 6 Jan 2009 at 2:51

GoogleCodeExporter commented 9 years ago
I've remove the timeout. Please fill a bug report if MTSimulator don't work !
(commited as r61)

Original comment by txprog on 6 Jan 2009 at 7:55