Running script in custom tools produces error outside of Zim-D
I have a ruby script I am calling in Zim custom tools. Assuming the full path of the script is "/home/
Failed to run application: /home/myname/
/home/myname/
returned non-zero exit status 127
Now here is the actual problem. In attempting to debug the problem I am starting zim -D in debug mode and the script works every time. However running the script from zim without debugging set on, the above error condition is produced. I have tried the same with numerous external scripts in ruby, bash and python without success when Zim is not running in debug mode. However an external command such as "lxterminal -e vim %s" works without producing the above error. I have set the permissions on the script to +777 thinking it can be permission related without success.
I have used the following (preferred) shebang in the script: "#!/usr/bin/env ruby". Could it be environment related?
Running the script(s) outside of Zim works as intended.
My environment is lubuntu 14.-04 running the i3-wm desktop. Version of Zim: Zim 0.60
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Zim Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask casper.labuschagne for more information if necessary.