matthewd139 / cantera

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

'Error using ctmethods' error with Matlab on Windows 8 - 64bi #222

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
When I try to create the nasa_gas.xml file at Matlab Prompt and type:
>> cd 'C:\Program Files\Cantera\data'
>> Solution('nasa_gas.cti')

I keep getting the following error:

Error using ctmethods

************************************************
                Cantera Error!
************************************************

Procedure: ct2ctml
Error:   Error executing python while converting input file:
Python command was: '?C:\Python33\python.exe'
exec_stream_t::start: CreateProcess failed.
 command line was: ?C:\Python33\python.exe -i
The system cannot find the file specified.

[code 0x0002 (2)]

Error in XML_Node (line 11)
    x.id = ctmethods(10,15,0,src); % newxml(name)

Error in Solution (line 30)
doc = XML_Node('doc',src);

-----------------------------------------------------
What is the expected output? What do you see instead?
The expected output is an error (Procedure: xml_findByName; Error: name phase 
not found), but it should produce the file nasa_gas.xml in the current 
directory.

What version of the product are you using? On what operating system?
I am using Python 3.3 on Win8 x64.

Please provide any additional information below.
I installed Numpy. I got same error when I used Python 2.7.

Original issue reported on code.google.com by tingdong...@gmail.com on 4 Jun 2014 at 11:39

GoogleCodeExporter commented 8 years ago
Hi,

It seems like you have an extra ? before your Python command - can you check 
the value of the PYTHON_CMD environment variable? See here: 
https://code.google.com/p/cantera/wiki/WindowsInstallation in the Configure 
Matlab section.

Original comment by bryan.w....@gmail.com on 5 Jun 2014 at 8:45

GoogleCodeExporter commented 8 years ago
Thank you, I had successfully installed Cantera in my computer. It seems like 
if I install Python.exe in my path during python installation, I do not have to 
set PYTHON_CMD again. 

Original comment by tingdong...@gmail.com on 6 Jun 2014 at 4:45

GoogleCodeExporter commented 8 years ago

Original comment by yarmond on 6 Jun 2014 at 7:40