[Geany-Users] Geany on OS X: cannot run Python code

Matthew Brush mbrush at xxxxx
Tue Apr 21 12:22:03 UTC 2020


On 2020-04-20 11:54 p.m., Roger Moss wrote:
> 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.
> 

Just to be sure, you're using the official "geany-1.36_osx-2.dmg" 
release from Geany.org website - with the "-2" suffix - and not some 
build from homebrew or macports or such, correct?

Regards,
Matthew Brush

> 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