Open Mharlin opened 7 years ago
When running this sample line 66 throws an exception because the file does not exist.
local { let text = fs.File.ReadAllText(file.Path) return (file.Path, text.Length) })
https://github.com/mbraceproject/MBrace.StarterKit/blob/master/HandsOnTutorial.FSharp/examples/200-cloud-parallel-web-download-example.fsx#L65-L66
When the file is saved the path given is invalid. The path starts with /mbraceuserdata/pages/... while the correct path is from the /pages/... https://github.com/mbraceproject/MBrace.StarterKit/blob/master/HandsOnTutorial.FSharp/examples/200-cloud-parallel-web-download-example.fsx#L45 let! file = CloudFile.WriteAllText(path = sprintf "pages/%s.html" name, text = text)
let! file = CloudFile.WriteAllText(path = sprintf "pages/%s.html" name, text = text)
When running this sample line 66 throws an exception because the file does not exist.
https://github.com/mbraceproject/MBrace.StarterKit/blob/master/HandsOnTutorial.FSharp/examples/200-cloud-parallel-web-download-example.fsx#L65-L66
When the file is saved the path given is invalid. The path starts with /mbraceuserdata/pages/... while the correct path is from the /pages/... https://github.com/mbraceproject/MBrace.StarterKit/blob/master/HandsOnTutorial.FSharp/examples/200-cloud-parallel-web-download-example.fsx#L45
let! file = CloudFile.WriteAllText(path = sprintf "pages/%s.html" name, text = text)