Re: [Matplotlib-users] plot() hangs up, how to rescue Python?

2008-07-31 Thread Michael Droettboom
Like John, I can't think of anything off hand to prevent this in the 
future.  However, if you're working with a script that causes this to 
happen again, please send us the script.  It may indicate an infinite 
loop or unbounded memory usage, and we'd like to track it down and fix it.

Also, as nice as interactive use is for experimentation, I usually build 
my important plots (where I'm concerned about losing data etc.) in a 
script file (.py), and then run that.  That way if things do get stuck, 
I can kill python and start over pretty easily.

Cheers,
Mike

Anand Patil wrote:
 Hi all,

 I'm using matplotlib with the TKAgg on a remote machine running 
 Ubuntu. Normally when I call 'plot' I see the plot in an X11 window, 
 but I called 'plot' yesterday and Python went unresponsive... it 
 doesn't listen to ctrl-C or anything, and it's been more than 24 hours.

 I would REALLY like to preserve the data Python has in memory. Is 
 there any way to kill the plot command and wake Python back up?

 Thanks,
 Anand Patil
 

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 

 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users
   

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] plot() hangs up, how to rescue Python?

2008-07-27 Thread Anand Patil
OK, no prob -- just one of those Linux things I guess.
Anand

On Sat, Jul 26, 2008 at 11:56 PM, John Hunter [EMAIL PROTECTED] wrote:

 On Sat, Jul 26, 2008 at 5:46 PM, Anand Patil
 [EMAIL PROTECTED] wrote:
  Well, I lost it... whatever was hung up apparently gave up and killed
 Python
  when I shut down my local machine. It would still be nice to know how to
 fix
  this though, in case it happens again...

 Sorry this happened -- I don't know how to fix this for future
 reference, unfortunately.

 JDH

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] plot() hangs up, how to rescue Python?

2008-07-26 Thread Anand Patil
Hi all,
I'm using matplotlib with the TKAgg on a remote machine running Ubuntu.
Normally when I call 'plot' I see the plot in an X11 window, but I called
'plot' yesterday and Python went unresponsive... it doesn't listen to ctrl-C
or anything, and it's been more than 24 hours.

I would REALLY like to preserve the data Python has in memory. Is there any
way to kill the plot command and wake Python back up?

Thanks,
Anand Patil
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] plot() hangs up, how to rescue Python?

2008-07-26 Thread Anand Patil
Well, I lost it... whatever was hung up apparently gave up and killed Python
when I shut down my local machine. It would still be nice to know how to fix
this though, in case it happens again...
Thanks,
Anand

On Sat, Jul 26, 2008 at 12:34 PM, Anand Patil 
[EMAIL PROTECTED] wrote:

 Hi all,
 I'm using matplotlib with the TKAgg on a remote machine running Ubuntu.
 Normally when I call 'plot' I see the plot in an X11 window, but I called
 'plot' yesterday and Python went unresponsive... it doesn't listen to ctrl-C
 or anything, and it's been more than 24 hours.

 I would REALLY like to preserve the data Python has in memory. Is there any
 way to kill the plot command and wake Python back up?

 Thanks,
 Anand Patil

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] plot() hangs up, how to rescue Python?

2008-07-26 Thread John Hunter
On Sat, Jul 26, 2008 at 5:46 PM, Anand Patil
[EMAIL PROTECTED] wrote:
 Well, I lost it... whatever was hung up apparently gave up and killed Python
 when I shut down my local machine. It would still be nice to know how to fix
 this though, in case it happens again...

Sorry this happened -- I don't know how to fix this for future
reference, unfortunately.

JDH

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users