It downloaded, built and stored a whole bunch of stuff, but I finally got this error:
Install prebuilt node (10.13.0) .Traceback (most recent call last):
File “/home/student/galaxy/.venv/bin/nodeenv”, line 10, in
sys.exit(main())
File “/home/student/galaxy/.venv/local/lib/python2.7/site-packages/nodeenv.py”, line 1076, in main
create_environment(env_dir, opt)
File “/home/student/galaxy/.venv/local/lib/python2.7/site-packages/nodeenv.py”, line 905, in create_environment
install_node(env_dir, src_dir, opt)
File “/home/student/galaxy/.venv/local/lib/python2.7/site-packages/nodeenv.py”, line 692, in install_node
download_node_src(node_url, src_dir, opt, prefix)
File “/home/student/galaxy/.venv/local/lib/python2.7/site-packages/nodeenv.py”, line 542, in download_node_src
dl_contents = io.BytesIO(urlopen(node_url).read())
File “/home/student/galaxy/.venv/local/lib/python2.7/site-packages/nodeenv.py”, line 564, in urlopen
return urllib2.urlopen(req)
File “/usr/lib/python2.7/urllib2.py”, line 154, in urlopen
return opener.open(url, data, timeout)
File “/usr/lib/python2.7/urllib2.py”, line 435, in open
response = meth(req, response)
File “/usr/lib/python2.7/urllib2.py”, line 548, in http_response
‘http’, request, response, code, msg, hdrs)
File “/usr/lib/python2.7/urllib2.py”, line 473, in error
return self._call_chain(*args)
File “/usr/lib/python2.7/urllib2.py”, line 407, in _call_chain
result = func(*args)
File “/usr/lib/python2.7/urllib2.py”, line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 404: Not Found
nodeenv has attempted to download Node.js to Galaxy’s virtualenv (in /home/student/galaxy/.venv but this has failed. I suspect this may have been a transient error with the Node.js download site, but if it continues to fail, could you check the output of /home/student/galaxy/.venv/bin/nodeenv --list please?
Today I am still getting the same error than yesterday AND once a somewhat different one (the different lines are the bolded ones):
Install prebuilt node (10.13.0) .Traceback (most recent call last):
File “/home/student/galaxy/.venv/bin/nodeenv”, line 10, in
sys.exit(main())
File “/home/student/galaxy/.venv/local/lib/python2.7/site-packages/nodeenv.py”, line 1076, in main
create_environment(env_dir, opt)
File “/home/student/galaxy/.venv/local/lib/python2.7/site-packages/nodeenv.py”, line 905, in create_environment
install_node(env_dir, src_dir, opt)
File “/home/student/galaxy/.venv/local/lib/python2.7/site-packages/nodeenv.py”, line 692, in install_node
download_node_src(node_url, src_dir, opt, prefix)
File “/home/student/galaxy/.venv/local/lib/python2.7/site-packages/nodeenv.py”, line 542, in download_node_src
dl_contents = io.BytesIO(urlopen(node_url).read())
File “/home/student/galaxy/.venv/local/lib/python2.7/site-packages/nodeenv.py”, line 564, in urlopen
return urllib2.urlopen(req)
File “/usr/lib/python2.7/urllib2.py”, line 154, in urlopen
return opener.open(url, data, timeout)
File “/usr/lib/python2.7/urllib2.py”, line 429, in open
response = self._open(req, data)
File “/usr/lib/python2.7/urllib2.py”, line 447, in _open
‘_open’, req)
File “/usr/lib/python2.7/urllib2.py”, line 407, in _call_chain
result = func(*args) > File “/usr/lib/python2.7/urllib2.py”, line 1241, in https_open > context=self._context) > File “/usr/lib/python2.7/urllib2.py”, line 1198, in do_open > raise URLError(err) > urllib2.URLError: <urlopen error [Errno -3] Temporary failure in name resolution>
The output of /home/student/galaxy/.venv/bin/nodeenv --list:
Is there a proxy server or other limitation in place that prevents the host Galaxy runs on from making outbound connections? Can you, from the Galaxy host’s command line, as the user running Galaxy, successfully fetch the Nodejs binaries using wget or curl? e.g.
Not that I know. I am at my home and don’t use a proxy. I forgot to tell that I am running the OS in a virtual machine, though. Nevertheless I haven’t had any other problems using the internet, be it downloading files or surfing the WWW.
I dont have curl installed, but it seems that worked with wget:
I have a guess as to what’s going on here: there is no precompiled Node.js 10.13.0 for 32 bit Linux. By any chance is your VM 32 bit?
If yes and:
your host system is 64 bit, try recreating the VM as 64 bit.
Otherwise, try installing node from source with ./.venv/bin/nodeenv -p -n 10.13.0 --source
If the VM is not 32 bit, I’m not sure what’s going on here. You can place a print on line 563 of /home/student/galaxy/.venv/local/lib/python2.7/site-packages/nodeenv.py to see what URL is causing the 404.