Prev: Question about list comprehension/standard "for" disparities
Next: Get Eclipse/PyDev to run scripts that don't end in .py
From: wukong on 31 Mar 2010 17:26 subprocess works fine on my win pro 32-bit, but not on vista 64-bit. am i doing some wrong, or it just won't work for win64? If that's true, will it be extended to win64 in teh future? thanks in advance wk
From: Chris Rebert on 31 Mar 2010 17:33 On Wed, Mar 31, 2010 at 2:26 PM, wukong <novacompute(a)gmail.com> wrote: > subprocess works fine on my win pro 32-bit, but not on vista 64-bit. > am i doing some wrong, or it just won't work for win64? Â If that's > true, will it be extended to win64 in teh future? Please characterize exactly how it is not working for you. Include any error message and/or exception traceback. Cheers, Chris -- http://blog.rebertia.com
From: wukong on 31 Mar 2010 17:43 On Mar 31, 2:33 pm, Chris Rebert <c...(a)rebertia.com> wrote: > On Wed, Mar 31, 2010 at 2:26 PM, wukong <novacomp...(a)gmail.com> wrote: > > subprocess works fine on my win pro 32-bit, but not on vista 64-bit. > > am i doing some wrong, or it just won't work for win64? If that's > > true, will it be extended to win64 in teh future? > > Please characterize exactly how it is not working for you. > Include any error message and/or exception traceback. > > Cheers, > Chris > --http://blog.rebertia.com thanks for checking in, here's the error msg. """ Traceback (most recent call last): File "C:/GUI/mainFunc.py", line 230, in OnSolve subprocess.call([filename]) File "C:\Program Files (x86)\python26\lib\subprocess.py", line 470, in call return Popen(*popenargs, **kwargs).wait() File "C:\Program Files (x86)\python26\lib\subprocess.py", line 621, in __init__ errread, errwrite) File "C:\Program Files (x86)\python26\lib\subprocess.py", line 830, in _execute_child startupinfo) WindowsError: [Error 14001] The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail """ also subprocess.py clearly says """ import sys mswindows = (sys.platform == "win32") """ thanks wk
From: Terry Reedy on 31 Mar 2010 17:54 On 3/31/2010 5:26 PM, wukong wrote: > subprocess works fine on my win pro 32-bit, but not on vista 64-bit. You are more likely to get a helpful answer if you give a minimal example and explain exactly what 'not [works fine]' means. What did happen? Include full error traceback if there was one.
From: Martin v. Loewis on 31 Mar 2010 18:47
> WindowsError: [Error 14001] The application has failed to start > because its side-by-side configuration is incorrect. Please see the > application event log for more detail This is a configuration error on your system. The application you are trying to start is incorrectly installed - it's not only that Python can't start it, but nobody can. Regards, Martin |