Hi,
I installed local jobe server (as root) to test the CodeRunner plugin (the default server seems to have an issues connecting, and I anyway need a local server).
It is running on Ubuntu 16.04. I installed the necessary dependencies as per the documentation here https://github.com/trampgeek/jobe. Install was successful.
When I run the simpletest.py, it throws the error while executing any commands e.g: "Running python...
Compile error
Compiler output:
sudo: sorry, you must have a tty to run sudo"
Googling,
I found that this needs the "Defaults requiretty" to be removed from
the /etc/sudoers file. If I do that, I get the next level of error
instead of the above: "sudo: no tty present and no askpass program specified"
This needs an update in the /etc/sudoers file to allow execution without password for the user and the commands. I see that there is a /etc/sudoers.d/jobe-sudoers file created with commands for www-data user (apache user) for a list of commands (including runguard - which was built successfully, but no compiler commands - is this expected?). I don't know/think that I should manually do anything (e.g. add commands to /etc/sudoers), as the install script should have worked and done the necessary updates (it did not throw any error/warnings).
Pls help on how to proceed with this issue.
thanks,
regards,
-Vardhan