hi.. I'm a new user of geany. I seem to be having a problem running python scripts I use kubuntu and I have python 2.5 AND python 3.0 installed. However when I save the file and hit F5 to run it I get a message saying "09:57:32: Could not find terminal "xterm" (check path for Terminal tool setting in Preferences)"
what's wrong?
ps I apologize for posting this twice. It was a mistake cos I thought the first post had not been submitted correctly
Le Thu, 26 Feb 2009 10:51:09 +0530, Mahela Munasinghe mahela007@gmail.com s'exprima ainsi:
hi.. I'm a new user of geany. I seem to be having a problem running python scripts I use kubuntu and I have python 2.5 AND python 3.0 installed. However when I save the file and hit F5 to run it I get a message saying "09:57:32: Could not find terminal "xterm" (check path for Terminal tool setting in Preferences)"
what's wrong?
Not 100% sure. First learn which python is the default one for your OS with which python
Geany executes your script using an OS commant defined under build/run command. You will probably find there python "%f"
Don't know why this does not properly launch python, but you should try setting one of the python version's full path instead /usr/bin/python "%f"
You can dynamically change version if needed by setting the path found under which python2.5 which python3.0
[this is maybe a possible 'how', but I would like to know the 'why']
denis
------ la vita e estrany
spir wrote:
Le Thu, 26 Feb 2009 10:51:09 +0530, Mahela Munasinghe mahela007@gmail.com s'exprima ainsi:
hi.. I'm a new user of geany. I seem to be having a problem running python scripts I use kubuntu and I have python 2.5 AND python 3.0 installed. However when I save the file and hit F5 to run it I get a message saying "09:57:32: Could not find terminal "xterm" (check path for Terminal tool setting in Preferences)"
what's wrong?
Not 100% sure. First learn which python is the default one for your OS with which python
Geany executes your script using an OS commant defined under build/run command. You will probably find there python "%f"
Don't know why this does not properly launch python, but you should try setting one of the python version's full path instead /usr/bin/python "%f"
You can dynamically change version if needed by setting the path found under which python2.5 which python3.0
[this is maybe a possible 'how', but I would like to know the 'why']
denis
la vita e estrany _______________________________________________ Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
where can I change this path? is there an option in geany or do i have to edit a text file?
Le Thu, 26 Feb 2009 12:30:56 +0530, Mahela Munasinghe mahela007@gmail.com s'exprima ainsi:
spir wrote:
Le Thu, 26 Feb 2009 10:51:09 +0530, Mahela Munasinghe mahela007@gmail.com s'exprima ainsi:
hi.. I'm a new user of geany. I seem to be having a problem running python scripts I use kubuntu and I have python 2.5 AND python 3.0 installed. However when I save the file and hit F5 to run it I get a message saying "09:57:32: Could not find terminal "xterm" (check path for Terminal tool setting in Preferences)"
what's wrong?
Not 100% sure. First learn which python is the default one for your OS with which python
Geany executes your script using an OS commant defined under build/run command. You will probably find there python "%f"
Don't know why this does not properly launch python, but you should try setting one of the python version's full path instead /usr/bin/python "%f"
You can dynamically change version if needed by setting the path found under which python2.5 which python3.0
[this is maybe a possible 'how', but I would like to know the 'why']
denis
where can I change this path? is there an option in geany or do i have to edit a text file?
I have not geany in english ;-) But it should be in the menu "build", then something like "define includes and options", then "run command". What appears there is read from your file type definition files -- section [build] -- see the doc for changing that settings by default.
denis ------ la vita e estrany
spir wrote:
Le Thu, 26 Feb 2009 12:30:56 +0530, Mahela Munasinghe mahela007@gmail.com s'exprima ainsi:
spir wrote:
Le Thu, 26 Feb 2009 10:51:09 +0530, Mahela Munasinghe mahela007@gmail.com s'exprima ainsi:
hi.. I'm a new user of geany. I seem to be having a problem running python scripts I use kubuntu and I have python 2.5 AND python 3.0 installed. However when I save the file and hit F5 to run it I get a message saying "09:57:32: Could not find terminal "xterm" (check path for Terminal tool setting in Preferences)"
what's wrong?
Not 100% sure. First learn which python is the default one for your OS with which python
Geany executes your script using an OS commant defined under build/run command. You will probably find there python "%f"
Don't know why this does not properly launch python, but you should try setting one of the python version's full path instead /usr/bin/python "%f"
You can dynamically change version if needed by setting the path found under which python2.5 which python3.0
[this is maybe a possible 'how', but I would like to know the 'why']
denis
where can I change this path? is there an option in geany or do i have to edit a text file?
I have not geany in english ;-) But it should be in the menu "build", then something like "define includes and options", then "run command". What appears there is read from your file type definition files -- section [build] -- see the doc for changing that settings by default.
denis
la vita e estrany _______________________________________________ Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
I followed your advice and pasted '/usr/bin/python3.0' in the run command box. (actually run command is labeled execute) however, now it wont run the program. It just starts python 3 and waits until I enter the program again into the command line
Le Thu, 26 Feb 2009 14:17:46 +0530, Mahela Munasinghe mahela007@gmail.com s'exprima ainsi:
spir wrote:
Le Thu, 26 Feb 2009 12:30:56 +0530, Mahela Munasinghe mahela007@gmail.com s'exprima ainsi:
spir wrote:
Le Thu, 26 Feb 2009 10:51:09 +0530, Mahela Munasinghe mahela007@gmail.com s'exprima ainsi:
hi.. I'm a new user of geany. I seem to be having a problem running python scripts I use kubuntu and I have python 2.5 AND python 3.0 installed. However when I save the file and hit F5 to run it I get a message saying "09:57:32: Could not find terminal "xterm" (check path for Terminal tool setting in Preferences)"
what's wrong?
Not 100% sure. First learn which python is the default one for your OS with which python
Geany executes your script using an OS commant defined under build/run command. You will probably find there python "%f"
Don't know why this does not properly launch python, but you should try setting one of the python version's full path instead /usr/bin/python "%f"
You can dynamically change version if needed by setting the path found under which python2.5 which python3.0
[this is maybe a possible 'how', but I would like to know the 'why']
denis
where can I change this path? is there an option in geany or do i have to edit a text file?
I have not geany in english ;-) But it should be in the menu "build", then something like "define includes and options", then "run command". What appears there is read from your file type definition files -- section [build] -- see the doc for changing that settings by default.
denis
la vita e estrany _______________________________________________ Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
I followed your advice and pasted '/usr/bin/python3.0' in the run command box.
'/usr/bin/python3.0 "%f"' probably
------ la vita e estrany
On Thu, 26 Feb 2009 09:52:04 +0100 spir denis.spir@free.fr wrote:
Le Thu, 26 Feb 2009 14:17:46 +0530, Mahela Munasinghe mahela007@gmail.com s'exprima ainsi:
I followed your advice and pasted '/usr/bin/python3.0' in the run command box.
'/usr/bin/python3.0 "%f"' probably
Since /usr/bin should be part of $PATH it's ok to just type python3.0 "%f" in I guess.
Cheers, Frank
Frank Lanitz wrote:
On Thu, 26 Feb 2009 09:52:04 +0100 spir denis.spir@free.fr wrote:
Le Thu, 26 Feb 2009 14:17:46 +0530, Mahela Munasinghe mahela007@gmail.com s'exprima ainsi:
I followed your advice and pasted '/usr/bin/python3.0' in the run command box.
'/usr/bin/python3.0 "%f"' probably
Since /usr/bin should be part of $PATH it's ok to just type python3.0 "%f" in I guess.
Cheers, Frank
Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
now I get this error : Warning: Could not start program './geany_run_script.sh' with arguments './geany_run_script.sh'.
Am Donnerstag, den 26.02.2009, 10:51 +0530 schrieb Mahela Munasinghe:
hi.. I'm a new user of geany. I seem to be having a problem running python scripts I use kubuntu and I have python 2.5 AND python 3.0 installed. However when I save the file and hit F5 to run it I get a message saying "09:57:32: Could not find terminal "xterm" (check path for Terminal tool setting in Preferences)"
Could you please check if xterm is installed and can be found by geany? If not you can either install xterm or change the Terminal in the preferences settings, e.g. to gnome-terminal or konsole.
Regards, Dominic
Dominic Hopf wrote:
Am Donnerstag, den 26.02.2009, 10:51 +0530 schrieb Mahela Munasinghe:
hi.. I'm a new user of geany. I seem to be having a problem running python scripts I use kubuntu and I have python 2.5 AND python 3.0 installed. However when I save the file and hit F5 to run it I get a message saying "09:57:32: Could not find terminal "xterm" (check path for Terminal tool setting in Preferences)"
Could you please check if xterm is installed and can be found by geany? If not you can either install xterm or change the Terminal in the preferences settings, e.g. to gnome-terminal or konsole.
Regards, Dominic
Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
I have changed it to Konsole. I also realized that the error I posted in my previous post does not occur if I save the file in the home folder.
Dominic Hopf wrote:
Am Donnerstag, den 26.02.2009, 10:51 +0530 schrieb Mahela Munasinghe:
hi.. I'm a new user of geany. I seem to be having a problem running python scripts I use kubuntu and I have python 2.5 AND python 3.0 installed. However when I save the file and hit F5 to run it I get a message saying "09:57:32: Could not find terminal "xterm" (check path for Terminal tool setting in Preferences)"
Could you please check if xterm is installed and can be found by geany? If not you can either install xterm or change the Terminal in the preferences settings, e.g. to gnome-terminal or konsole.
Regards, Dominic
Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
The error I am reffering to is one which reads
Warning: Could not start program './geany_run_script.sh' with arguments './geany_run_script.sh'