cloudml
cloudml copied to clipboard
Error in terminal window - getcwd() failed: No such file or directory
I'm getting the following error in the terminal pane when submitting a job. The job gets submitted and runs, but the results aren't collected back to the local system automatically. Do I have to manually make sure that some directory exists before using cloudml_train()
?
143218205 --polling-interval=5 ; "/usr/lib/R/bin/Rscript" -e "cloudml::job_collect('cloudml_2018_08_09_143218205', destination = '/home/davek/R/cloudml-testing/runs', view = 'save')" ; "/usr/lib/R/bin/Rscript" -e "utils::browseURL('/home/davek/R/cloudml-testing/runs/cloudml_2018_08_09_143218205/tfruns.d/view.html')"
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
Traceback (most recent call last):
File "/home/davek/.virtualenvs/r-tensorflow/lib/python2.7/site.py", line 703, in <module>
main()
File "/home/davek/.virtualenvs/r-tensorflow/lib/python2.7/site.py", line 672, in main
paths_in_sys = removeduppaths()
File "/home/davek/.virtualenvs/r-tensorflow/lib/python2.7/site.py", line 124, in removeduppaths
dir, dircase = makepath(dir)
File "/home/davek/.virtualenvs/r-tensorflow/lib/python2.7/site.py", line 97, in makepath
dir = os.path.abspath(dir)
File "/home/davek/.virtualenvs/r-tensorflow/lib/python2.7/posixpath.py", line 364, in abspath
cwd = os.getcwd()
OSError: [Errno 2] No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
Error: ERROR: gcloud invocation failed [exit status 1]
[command]
/home/davek/google-cloud-sdk/bin/gcloud config get-value account
[output]
[errmsg]
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
Traceback (most recent call last):
File "/home/davek/.virtualenvs/r-tensorflow/lib/python2.7/site.py", line 703, in <module>
main()
File "/home/davek/.virtualenvs/r-tensorflow/lib/python2.7/site.py", line 672, in main
paths_in_sys = removeduppaths()
File "/home/davek/.virtualenvs/r-tensorflow/lib/python2.7/site.py", line 124, in removeduppaths
dir, dircase = makepath(dir)
File "/home/davek/.virtualenvs/r-tensorflow/lib/python2.7/site.py", line 97, in makepath
dir = os.path.abspath(dir)
File "/home/davek/.virtualenvs/r-tensorflow/lib/python2.7/posixpath.py", line 364, in abspath
cwd = os.getcwd()
OSError: [Errno 2] No such file or directory
Execution halted
sh: 0: getcwd() failed: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
➜ . sh: 0: getcwd() failed: No such file or directory
gio: file:///home/davek/R/cloudml-testing/runs/cloudml_2018_08_09_143218205/tfruns.d/view.html: Error when getting information for file “/home/davek/R/cloudml-testing/runs/cloudml_2018_08_09_143218205/tfruns.d/view.html”: No such file or directory
I can run job_collect()
and then view the job after it is complete. It's just that the collect isn't run automatically.
session info:
> sessionInfo()
R version 3.4.4 (2018-03-15)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.1 LTS
Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/openblas/libblas.so.3
LAPACK: /usr/lib/x86_64-linux-gnu/libopenblasp-r0.2.20.so
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] bindrcpp_0.2.2 purrr_0.2.5 ggplot2_2.2.1.9000 dplyr_0.7.6 keras_2.1.6.9005
[6] cloudml_0.5.1.9000 tfruns_1.3
loaded via a namespace (and not attached):
[1] Rcpp_0.12.18 plyr_1.8.4 compiler_3.4.4 pillar_1.2.1
[5] bindr_0.1.1 base64enc_0.1-3 tools_3.4.4 packrat_0.4.9-3
[9] digest_0.6.15 zeallot_0.1.0 jsonlite_1.5 tibble_1.4.2
[13] gtable_0.2.0 lattice_0.20-35 debugme_1.1.0 pkgconfig_2.0.1
[17] rlang_0.2.1 Matrix_1.2-12 rstudioapi_0.7 yaml_2.2.0
[21] stringr_1.3.1 withr_2.1.2 rprojroot_1.3-2 grid_3.4.4
[25] tidyselect_0.2.4 reticulate_1.9.0.9002 glue_1.3.0 R6_2.2.2
[29] processx_3.1.0 reshape2_1.4.3 magrittr_1.5 whisker_0.3-2
[33] backports_1.1.2 scales_0.5.0.9000 assertthat_0.2.0 colorspace_1.3-2
[37] labeling_0.3 tensorflow_1.8.0.9006 config_0.3 stringi_1.2.3
[41] lazyeval_0.2.1 munsell_0.5.0 crayon_1.3.4