[Geany] Problem running Python with Geany for Windows

Nick Treleaven nick.treleaven at xxxxx
Wed Aug 22 15:31:36 UTC 2007


On 08/21/2007 10:58:49 PM, Gnipper wrote:
> I checked the execute command and that's the same as yours. I'm 
> pretty
> sure my Python paths are set up correctly as I can run Python from 
> the
> command line. It seems to be a problem with not being able to start
> the Windows command shell. Do I need Cygwin or something installed?
> Does Geany produce a log output?
> 
I've checked the source code and I think it's not a problem with 
python. The windows shell is supported. Geany has a debug option, -d. 
You could try running with that flag, but it might not help much in 
this case.

Currently, Geany creates a run script (geany_run_script.bat) in the 
current directory of the current file. From the error message in your 
first mail it seems the script did get created, but then launching the
shell fails for some reason.

Is the 'Process failed' line exactly what you get - there seems to be a 
missing closing bracket?

> [...]
> > On 08/16/2007 01:03:58 AM, Gnipper wrote:
> > > I can't get Geany to execute a Python program under Windows. I
> have
> > > installed the full Geany Windows version 0.11 with the included
> GTK
> > > runtime. When I try and execute a python script, I get the
> > > following:-
> > >
> > > Process failed (Failed to execute helper program (No such file or
> > > directory)
> > > Failed to execute the terminal program
> > >
> > > The terminal command is set to the following in tools-preferences
> > >
> > > C:\WINDOWS\system32\cmd.exe
> > >
> > > Any thoughts on what's wrong here?

Regards,
Nick




More information about the Users mailing list