[Geany-Users] Geany on OS X: cannot run Python code
Roger Moss
roger at xxxxx
Tue Apr 21 06:54:53 UTC 2020
Hi Matthew
Thanks, yes, I've got xterm, I can open a terminal window and type xterm
in it, XQuartz starts up and a new xterm window appears OK. I'm not an
OS X/Linux expert but bash and sh seem to work too.
If I have "Execute in the VTE" ticked, the terminal pane in Geany gives
the Warning: GnuTLS not enabled... message, nothing more (even with
"Don't use run script").
Without that, I get the "Cannot execute build commend" message.
My feeling is that Geany does not have permission to write a file like
/var/folders/_x/j4bl...very long string.../T/geany_run_script_5H9910.sh
I've got Geany on my Windows machine and it just works - somehow the Mac
is different.
Kind regards
Roger
On 21/04/2020 00:31, Matthew Brush wrote:
> On 2020-04-20 12:43 p.m., Roger Moss wrote:
>> Hi everyone
>>
>> I've just installed Geany 1.36 on my Mac (with OS X 10.13.6 High
>> Sierra, XCode 10.1+command line tools, Python 3.8.2).
>>
>> I cannot get print('hello world') to run. When I click the two gears
>> icon the status window shows a message:
>>
>> "Cannot execute build command "xterm -e "/bin/sh
>> /var/folders/_x/j4bl...very long
>> string.../T/geany_run_script_5H9910.sh" No such file or directory.
>> Check the terminal setting in Preferences".
>>
>> The directory exists but there is no geany_run_script in it.
>>
>> Also (don't know if this is related) the terminal window has a
>> message: "WARNING: GnuTLS not enabled: data will be written to disk
>> unencrypted".
>>
>> Any tips? Does it usually just work?
>>
>
> You probably don't have Xterm on Macos, do you?
>
> You could change the terminal under
> `Edit->Preferences->Tools->Terminal` or you can use the builtin
> terminal by ticking `Edit->Preferences->Terminal->Execute program in
> the VTE` as well as `Don't use run script`.
>
> Hope that helps.
>
> Regards,
> Matthew Brush
> _______________________________________________
> Users mailing list
> Users at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users
More information about the Users
mailing list