The issue was with java installation. It is not trivial to install it not
from the site with cookies assigned to the download.
I have copied the java .gz installation file to bucket and gsutil cp the
.gz to the worker machine at the setup time (setup.py).
I am facing an issue with exporting the Jav
I tried that. same error once the Jave installation is added.
CUSTOM_COMMANDS = [['echo', 'Custom command worked!'],
['apt-get', 'update'],
['apt-get', '--assume-yes', 'install', 'unzip'],
['apt-get', '--assume-yes', 'install', 'perl'],
Hi Robert,
Thank you. My mistake. It is actually not working.
testing it with suborcess.check_call now and will let you know
Best,
Eila
On Mon, May 4, 2020 at 12:49 PM Robert Bradshaw wrote:
> Printing the result out shouldn't matter, but as mentioned in the doce
> Popen.communicate is not inte
Printing the result out shouldn't matter, but as mentioned in the doce
Popen.communicate is not intended to be used when the amount of output is
large. If you need to just run the process, I would recommend a simple
subprocess.check_output().
On Mon, May 4, 2020 at 9:00 AM OrielResearch Eila Arich
I have updated the setup.py to print the error from the installation and it
is working now. I have no idea why that would change anything. Happy to
learn if someone knows the reason
*The code before:*
stdout_data, _ = p.communicate()
print('Command output: %s' % stdout_data)
*The code now:*
stdout
Hi all,
I have experience and very odd behaviour.
when executing the setup.py with the following CUSTOM COMMAND
CUSTOM_COMMANDS = [['echo', 'Custom command worked!'],
['apt-get', 'update'],
['apt-get', 'install', '-y', 'unzip']]
everything works great.
when ex