iPython stops plotting
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
IPython |
Incomplete
|
Undecided
|
Ville M. Vainio |
Bug Description
While attempting to debug a bit of numpy code, I am %running a file a few times. Somewhere after several iterations of this (in the 10s--not too many!), the matplotlib plot commands (imshow, quiver) stop working, instead printing the following error. Note that I'm only up to command 54.
This problem occurs using IPython 0.8.2.svn.r2445 on a MacBook running OS X 10.4.
In [54]: plot(vort[127])
-------
IOError Traceback (most recent call last)
/Library/
2030
2031
-> 2032
2033
2034
/Library/
191
192
--> 193
194
195
/Library/
184
185
--> 186
187
188
/Library/
84
85
---> 86
87
88
/Library/
518
519
--> 520
521
522
IOError: [Errno 24] Too many open files: path('/
Changed in ipython: | |
assignee: | nobody → villemvainio |
Your %run:ed script probably left too many file descriptors open.
If your ipython process id is 8428 (find out by ps -ef), try doing:
ls -l /proc/8428/fd
To see what files are left open. Report here for result.
I'll add a feature that silently ignores this error for shadowhist_idx, though - even if it's probably pure coincidence that you get this error for this particular file.