bugs for _subprocesses and save file button fixed?

Hello -

As of the latest release (0.87.2), the _subprocesses error
was not fixed on win32, and after the use of the save button
on the toolbar, the figure was ‘forgotten’ in interactive mode.
I recall some discussion about these on the list.

I encountered these two bugs again this week while
teaching a python class. Have these been fixed in svn?
If not, any chance someone knows how to fix them?

Thanks again,

Mark

The subprocess module code has been masked in svn. texmanager.py and
backend_ps.py are the affected files. I dont know about the save button.

Darren

···

On Wednesday 05 April 2006 11:40, Mark Bakker wrote:

Hello -

As of the latest release (0.87.2), the _subprocesses error
was not fixed on win32, and after the use of the save button
on the toolbar, the figure was 'forgotten' in interactive mode.
I recall some discussion about these on the list.
I encountered these two bugs again this week while
teaching a python class. Have these been fixed in svn?
If not, any chance someone knows how to fix them?

Mark Bakker wrote:

Hello -

As of the latest release (0.87.2), the _subprocesses error
was not fixed on win32,

Can you tell me what the _subprocess error is exactly (Could you include the traceback or compilation log?) or point me to somewhere it has been previously described?

I've done some work fairly recently (perhaps after the 0.87.2 release) which I thought would have fixed the issue.

Sorry I didn’t give more details the first time; I thought
this was a known bug.
The error below is what one of my students got with 0.87.2, installing on win32 from scratch.
It worked fine after removing 0.87.2 and replacing it with 0.86.1.

from pylab import *
Traceback (most recent call last):
File “<pyshell#2>”, line 1, in ?
from pylab import *
File "C:\Python23\Lib\site-packages

\pylab.py", line 1,
in ?

from matplotlib.pylab import *

File
“C:\Python23\Lib\site-packages\matplotlib\pylab.py”, line 219,
in ?

new_figure_manager, draw_if_interactive, show =

pylab_setup()

File
“C:\Python23\Lib\site-packages\matplotlib\backends_init_.py”,
line 23, in pylab_setup

globals(),locals(),[backend_name])

File
“C:\Python23\Lib\site-packages\matplotlib\backends\backend_tkagg.py”,
line 9, in ?

from backend_agg import FigureCanvasAgg

File
“C:\Python23\Lib\site-packages\matplotlib\backends\backend_agg.py”,
line 86, in ?

from matplotlib.texmanager import TexManager

File
“C:\Python23\Lib\site-packages\matplotlib\texmanager.py”, line
37, in ?

from subprocess import Popen, STDOUT, PIPE

File
“C:\Python23\Lib\site-packages\subprocess_init_.py”, line
366, in ?

from _subprocess import *

ImportError: No module named _subprocess

···

On 4/5/06, Andrew Straw <strawman@…36…> wrote:

Mark Bakker wrote:

Hello -

As of the latest release (0.87.2), the _subprocesses error
was not fixed on win32,

Can you tell me what the _subprocess error is exactly (Could you include

the traceback or compilation log?) or point me to somewhere it has been
previously described?

I’ve done some work fairly recently (perhaps after the 0.87.2 release)
which I thought would have fixed the issue.

It is a known bug and it's the one I think I've fixed[1]. As long as you're building from scratch, you might as well try the subversion repository. There's a nice Windows subversion GUI app called "tortoise svn", I highly recommend it.

Darren, there's no need to disable subprocess support because of this bug -- it should already be fixed.

[1] http://svn.sourceforge.net/viewcvs.cgi/matplotlib?rev=2156&view=rev

Mark Bakker wrote:

···

Sorry I didn't give more details the first time; I thought
this was a known bug.
The error below is what one of my students got with 0.87.2, installing on win32 from scratch.
It worked fine after removing 0.87.2 and replacing it with 0.86.1.

>>> from pylab import *
Traceback (most recent call last):
  File "<pyshell#2>", line 1, in ?
    from pylab import *
  File "C:\Python23\Lib\site-packages
\pylab.py", line 1, in ?
    from matplotlib.pylab import *
  File "C:\Python23\Lib\site-packages\matplotlib\pylab.py", line 219, in ?
    new_figure_manager, draw_if_interactive, show = pylab_setup()
  File "C:\Python23\Lib\site-packages\matplotlib\backends\__init__.py", line 23, in pylab_setup
    globals(),locals(),[backend_name])
  File "C:\Python23\Lib\site-packages\matplotlib\backends\backend_tkagg.py", line 9, in ?
    from backend_agg import FigureCanvasAgg
  File "C:\Python23\Lib\site-packages\matplotlib\backends\backend_agg.py", line 86, in ?
    from matplotlib.texmanager import TexManager
  File "C:\Python23\Lib\site-packages\matplotlib\texmanager.py", line 37, in ?
    from subprocess import Popen, STDOUT, PIPE
  File "C:\Python23\Lib\site-packages\subprocess\__init__.py", line 366, in ?
    from _subprocess import *
ImportError: No module named _subprocess
>>>

On 4/5/06, *Andrew Straw* <strawman@…36… > <mailto:strawman@…36…>> wrote:

    Mark Bakker wrote:

    > Hello -
    >
    > As of the latest release (0.87.2), the _subprocesses error
    > was not fixed on win32,

    Can you tell me what the _subprocess error is exactly (Could you
    include
    the traceback or compilation log?) or point me to somewhere it has
    been
    previously described?

    I've done some work fairly recently (perhaps after the 0.87.2 release)
    which I thought would have fixed the issue.