Hi,
I use geany to run python script on ubuntu, windows or mac.
On mac (yosemite) i can't run script (F5). In console i receive the message : "The file /bin/sh /var/folders/pk/lx2v4wjd765dhy6qqbpjhrgr0000gn/T/geany_run_script_SZMU4X.sh does not exist." or " The file /bin/sh /var/tmp/geany_run_script_4CJS4X.sh does not exist. " under admin user
But the files exits What happens ?
On Wed, Sep 9, 2015 at 5:04 PM, François Couloigner fcouloigner@gmail.com wrote:
Hi,
I use geany to run python script on ubuntu, windows or mac.
On mac (yosemite) i can't run script (F5). In console i receive the message : "The file /bin/sh /var/folders/pk/lx2v4wjd765dhy6qqbpjhrgr0000gn/T/geany_run_script_SZMU4X.sh does not exist." or " The file /bin/sh /var/tmp/geany_run_script_4CJS4X.sh does not exist. " under admin user
But the files exits What happens ?
Strange, works for me. Does /bin/sh exist on your system and is it executable? Try to execute it from Geany's terminal in case Geany can't access it for some reason. To me the error message looks like /bin/sh isn't recognized as an executable and that
/bin/sh /var/folders/pk/lx2v4wjd765dhy6qqbpjhrgr0000gn /T/geany_run_script_SZMU4X.sh
is considered as a single path (within the "/bin/sh " subdirectory) which really doesn't exist. Did you set anything special under Build->Set build commands?
Cheers,
Jiri
On 10 September 2015 at 03:11, Jiří Techet techet@gmail.com wrote:
On Wed, Sep 9, 2015 at 5:04 PM, François Couloigner fcouloigner@gmail.com wrote:
Hi,
I use geany to run python script on ubuntu, windows or mac.
On mac (yosemite) i can't run script (F5). In console i receive the message : "The file /bin/sh /var/folders/pk/lx2v4wjd765dhy6qqbpjhrgr0000gn/T/geany_run_script_SZMU4X.sh does not exist." or " The file /bin/sh /var/tmp/geany_run_script_4CJS4X.sh does not exist. " under admin user
But the files exits What happens ?
Strange, works for me. Does /bin/sh exist on your system and is it executable? Try to execute it from Geany's terminal in case Geany can't access it for some reason. To me the error message looks like /bin/sh isn't recognized as an executable and that
/bin/sh /var/folders/pk/lx2v4wjd765dhy6qqbpjhrgr0000gn/T/geany_run_script_SZMU4X.sh
is considered as a single path (within the "/bin/sh " subdirectory) which really doesn't exist. Did you set anything special under Build->Set build commands?
Or did you set the terminal command to /bin/sh?
Cheers,
Jiri
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
On Thu, Sep 10, 2015 at 12:54 AM, Lex Trotman elextr@gmail.com wrote:
On 10 September 2015 at 03:11, Jiří Techet techet@gmail.com wrote:
On Wed, Sep 9, 2015 at 5:04 PM, François Couloigner <
fcouloigner@gmail.com>
wrote:
Hi,
I use geany to run python script on ubuntu, windows or mac.
On mac (yosemite) i can't run script (F5). In console i receive the message : "The file /bin/sh
/var/folders/pk/lx2v4wjd765dhy6qqbpjhrgr0000gn/T/geany_run_script_SZMU4X.sh
does not exist." or " The file /bin/sh /var/tmp/geany_run_script_4CJS4X.sh does not exist. " under admin user
But the files exits What happens ?
Strange, works for me. Does /bin/sh exist on your system and is it executable? Try to execute it from Geany's terminal in case Geany can't access it for some reason. To me the error message looks like /bin/sh
isn't
recognized as an executable and that
/bin/sh
/var/folders/pk/lx2v4wjd765dhy6qqbpjhrgr0000gn/T/geany_run_script_SZMU4X.sh
is considered as a single path (within the "/bin/sh " subdirectory) which really doesn't exist. Did you set anything special under Build->Set build commands?
Or did you set the terminal command to /bin/sh?
The /bin/sh is actually hard-coded for execution (see build.c:875) so I think this isn't the problem. However on OS X /bin/sh isn't bash but still even with sh it should work (and works on my machine).
Cheers,
Jiri
On 10 September 2015 at 19:12, Jiří Techet techet@gmail.com wrote:
On Thu, Sep 10, 2015 at 12:54 AM, Lex Trotman elextr@gmail.com wrote:
On 10 September 2015 at 03:11, Jiří Techet techet@gmail.com wrote:
On Wed, Sep 9, 2015 at 5:04 PM, François Couloigner fcouloigner@gmail.com wrote:
Hi,
I use geany to run python script on ubuntu, windows or mac.
On mac (yosemite) i can't run script (F5). In console i receive the message : "The file /bin/sh
/var/folders/pk/lx2v4wjd765dhy6qqbpjhrgr0000gn/T/geany_run_script_SZMU4X.sh does not exist." or " The file /bin/sh /var/tmp/geany_run_script_4CJS4X.sh does not exist. " under admin user
But the files exits What happens ?
Strange, works for me. Does /bin/sh exist on your system and is it executable? Try to execute it from Geany's terminal in case Geany can't access it for some reason. To me the error message looks like /bin/sh isn't recognized as an executable and that
/bin/sh
/var/folders/pk/lx2v4wjd765dhy6qqbpjhrgr0000gn/T/geany_run_script_SZMU4X.sh
is considered as a single path (within the "/bin/sh " subdirectory) which really doesn't exist. Did you set anything special under Build->Set build commands?
Or did you set the terminal command to /bin/sh?
The /bin/sh is actually hard-coded for execution (see build.c:875) so I think this isn't the problem. However on OS X /bin/sh isn't bash but still even with sh it should work (and works on my machine).
Oh, running in VTE? Didn't see that specified :)
Cheers,
Jiri
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Thanks to all,
It works fine if i excute the run_script....sh in the VTE
I use python3 so i put python3 "%f" in Build ->Set build command
the terminal command in geany is /bin/bash
2015-09-10 12:49 GMT+02:00 Lex Trotman elextr@gmail.com:
On 10 September 2015 at 19:12, Jiří Techet techet@gmail.com wrote:
On Thu, Sep 10, 2015 at 12:54 AM, Lex Trotman elextr@gmail.com wrote:
On 10 September 2015 at 03:11, Jiří Techet techet@gmail.com wrote:
On Wed, Sep 9, 2015 at 5:04 PM, François Couloigner fcouloigner@gmail.com wrote:
Hi,
I use geany to run python script on ubuntu, windows or mac.
On mac (yosemite) i can't run script (F5). In console i receive the message : "The file /bin/sh
/var/folders/pk/lx2v4wjd765dhy6qqbpjhrgr0000gn/T/geany_run_script_SZMU4X.sh
does not exist." or " The file /bin/sh /var/tmp/geany_run_script_4CJS4X.sh does not
exist.
" under admin user
But the files exits What happens ?
Strange, works for me. Does /bin/sh exist on your system and is it executable? Try to execute it from Geany's terminal in case Geany
can't
access it for some reason. To me the error message looks like /bin/sh isn't recognized as an executable and that
/bin/sh
/var/folders/pk/lx2v4wjd765dhy6qqbpjhrgr0000gn/T/geany_run_script_SZMU4X.sh
is considered as a single path (within the "/bin/sh " subdirectory) which really doesn't exist. Did you set anything special under Build->Set build commands?
Or did you set the terminal command to /bin/sh?
The /bin/sh is actually hard-coded for execution (see build.c:875) so I think this isn't the problem. However on OS X /bin/sh isn't bash but
still
even with sh it should work (and works on my machine).
Oh, running in VTE? Didn't see that specified :)
Cheers,
Jiri
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
To make sure we are clear, do you have the menu->preferences->terminal->execute programs in the vte set?
On 10 September 2015 at 22:13, François Couloigner fcouloigner@gmail.com wrote:
Thanks to all,
It works fine if i excute the run_script....sh in the VTE
I use python3 so i put python3 "%f" in Build ->Set build command
the terminal command in geany is /bin/bash
2015-09-10 12:49 GMT+02:00 Lex Trotman elextr@gmail.com:
On 10 September 2015 at 19:12, Jiří Techet techet@gmail.com wrote:
On Thu, Sep 10, 2015 at 12:54 AM, Lex Trotman elextr@gmail.com wrote:
On 10 September 2015 at 03:11, Jiří Techet techet@gmail.com wrote:
On Wed, Sep 9, 2015 at 5:04 PM, François Couloigner fcouloigner@gmail.com wrote:
Hi,
I use geany to run python script on ubuntu, windows or mac.
On mac (yosemite) i can't run script (F5). In console i receive the message : "The file /bin/sh
/var/folders/pk/lx2v4wjd765dhy6qqbpjhrgr0000gn/T/geany_run_script_SZMU4X.sh does not exist." or " The file /bin/sh /var/tmp/geany_run_script_4CJS4X.sh does not exist. " under admin user
But the files exits What happens ?
Strange, works for me. Does /bin/sh exist on your system and is it executable? Try to execute it from Geany's terminal in case Geany can't access it for some reason. To me the error message looks like /bin/sh isn't recognized as an executable and that
/bin/sh
/var/folders/pk/lx2v4wjd765dhy6qqbpjhrgr0000gn/T/geany_run_script_SZMU4X.sh
is considered as a single path (within the "/bin/sh " subdirectory) which really doesn't exist. Did you set anything special under Build->Set build commands?
Or did you set the terminal command to /bin/sh?
The /bin/sh is actually hard-coded for execution (see build.c:875) so I think this isn't the problem. However on OS X /bin/sh isn't bash but still even with sh it should work (and works on my machine).
Oh, running in VTE? Didn't see that specified :)
Cheers,
Jiri
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
On Thu, Sep 10, 2015 at 2:13 PM, François Couloigner fcouloigner@gmail.com wrote:
Thanks to all,
It works fine if i excute the run_script....sh in the VTE
I use python3 so i put python3 "%f" in Build ->Set build command
the terminal command in geany is /bin/bash
OK, would you try modifying
/Applications/Geany.app/Contents/MacOS/geany
by appending " -l" (space, -, lowercase L) to the first line? This corresponds to
https://github.com/geany/geany-osx/commit/cf0c8af62d7d55bef72b9781a27ab9cd41...
which I however applied after making the release and which causes that some OS X initialization scripts aren't applied so some environment variables aren't set which might also cause the problem when running outside VTE.
Cheers,
Jiri