Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Error in rAzureBatch::uploadBlob(id, nodeScriptsZip) : The given file does not exist. #226

Closed
5 tasks done
nkaul opened this issue Feb 22, 2018 · 4 comments
Closed
5 tasks done
Labels

Comments

@nkaul
Copy link

nkaul commented Feb 22, 2018

Before submitting a bug please check the following:

  • Start a new R session
  • Check your credentials file
  • Install the latest doAzureParallel package
  • Submit a minimal, reproducible example
  • run sessionInfo()

Description
Similar to:
#224

@brnleehng : I have the same issue but I am not on a windows machine. Is there a fix for non-windows users? This is an issue with Redhat / CentOS linux

> closingPrices_p <- foreach(i = 1:100, .combine='c', .options.azure = opt) %dopar% {
+   replicate(100000, getClosingPrice())
+ }
sh: : command not found
Error in rAzureBatch::uploadBlob(id, nodeScriptsZip) : 
  The given file does not exist.
> sessionInfo()
R version 3.4.3 (2017-11-30)
Platform: x86_64-redhat-linux-gnu (64-bit)
Running under: CentOS release 6.9 (Final)
...

Reproducibility
You can follow the basic instructions from the Azure tutorial on any linux system to replicate the issue.
https://docs.microsoft.com/en-us/azure/batch/tutorial-r-doazureparallel

@paselem paselem added the bug label Feb 22, 2018
@paselem
Copy link
Contributor

paselem commented Feb 22, 2018

@brnleehng looks like this is related to your latest changes.

@brnleehng
Copy link
Collaborator

@nkaul

There's an issue with the utils zip function pointing to an external zip program. If it doesn't exist, then this error gets thrown.

I've reverted the latest changes. If you reinstall the doAzureParallel package, you should be good to go.

Thanks,
Brian

@paselem
Copy link
Contributor

paselem commented Feb 22, 2018

#227

@paselem paselem closed this as completed Feb 22, 2018
@nkaul
Copy link
Author

nkaul commented Feb 23, 2018

@brnleehng : Thanks for fixing this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants