bug in run_all.py

The script run_all.py in the basemap examples does not work when Python has
been installed to "C:\Program Files\Python25". It appears that this problem
involves the space in the path.

···

--
View this message in context: http://old.nabble.com/bug-in-run_all.py-tp26470905p26470905.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

Dr. Phillip M. Feldman wrote:

The script run_all.py in the basemap examples does not work when Python has
been installed to "C:\Program Files\Python25". It appears that this problem
involves the space in the path.
  

Phillip: I don't have a windows machine to test on - so could you please send the actual error message?

-Jeff

Dr. Phillip M. Feldman wrote:

The script run_all.py in the basemap examples does not work when Python
has
been installed to "C:\Program Files\Python25". It appears that this
problem
involves the space in the path.
  

Phillip: I don't have a windows machine to test on - so could you
please send the actual error message?

-Jeff

Jeff: Here's the actual error message:

[C:Examples/basemap-0.99.4]|12> run run_all
['barb_demo.py', 'ccsm_popgrid.py', 'contour_demo.py', 'cubed_sphere.py',
'customticks.py', 'fillsta
tes.py', 'garp.py', 'geos_demo.py', 'geos_demo_3.py', 'hires.py',
'hurrtracks.py', 'maskoceans.py',
'NetCDFFile_tst.py', 'nytolondon.py', 'ortho_demo.py', 'plotcities.py',
'plotmap.py', 'plotmap_maske
d.py', 'plotmap_oo.py', 'plotmap_shaded.py', 'plotprecip.py',
'plot_tissot.py', 'polarmaps.py', 'qui
ver_demo.py', 'randompoints.py', 'save_background.py', 'setwh.py',
'show_colormaps.py', 'simpletest.
py', 'simpletest_oo.py', 'test.py', 'warpimage.py', 'wiki_example.py']

···

**********************************************
Running C:\Program Files\Python25\python.exe C:\Program
Files\Python25\Examples\basemap-0.99.4\barb_
demo.py
C:\Program: can't open file 'Files\Python25\python.exe': [Errno 2] No such
file or directory
TEST FAILURE (status=2)
<snip>

--
View this message in context: http://old.nabble.com/bug-in-run_all.py-tp26470905p26486349.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

Dr. Phillip M. Feldman wrote:

Running C:\Program Files\Python25\python.exe C:\Program
Files\Python25\Examples\basemap-0.99.4\barb_
demo.py
C:\Program: can't open file 'Files\Python25\python.exe': [Errno 2] No such
file or directory
TEST FAILURE (status=2)

This looks like an issue with white space in the file path -- Windows can be weird about that.

That's why Python is usually installed directly into:

C:\python25

Rather than in "Program Files", though you're right, that's where it should be put.

what does that "Running" message come from -- it doesn't look like it's written to accommodate white space.

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@...259...