Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting "Access to path .. is denied" #442

Closed
tpetricek opened this issue Dec 8, 2014 · 3 comments
Closed

Getting "Access to path .. is denied" #442

tpetricek opened this issue Dec 8, 2014 · 3 comments
Labels

Comments

@tpetricek
Copy link
Member

I'm trying to replace NuGet reference with Github references for the CSV parser in fslaborg/Deedle#288

When I run paket update after adding some new files, I quite often get the following error:

Locked version resolutions written to c:\Tomas\Public\Deedle\paket.lock
Downloading fsharp/FSharp.Data:d1e9a2735f64a05db97c7ed5fee382a4ebc6158e src/CommonRuntime/TextConversions.fs to c:\Tomas\Public\Deedle\paket-files\fsharp\FSharp.Data\src\CommonRuntime\TextConversions.fs
Downloading fsharp/FSharp.Data:d1e9a2735f64a05db97c7ed5fee382a4ebc6158e src/CommonRuntime/StructuralInference.fs to c:\Tomas\Public\Deedle\paket-files\fsharp\FSharp.Data\src\CommonRuntime\StructuralInference.fs
Downloading fsharp/FSharp.Data:d1e9a2735f64a05db97c7ed5fee382a4ebc6158e src/Csv/CsvRuntime.fs to c:\Tomas\Public\Deedle\paket-files\fsharp\FSharp.Data\src\Csv\CsvRuntime.fs
Downloading fsharp/FSharp.Data:d1e9a2735f64a05db97c7ed5fee382a4ebc6158e src/CommonRuntime/StructuralTypes.fs to c:\Tomas\Public\Deedle\paket-files\fsharp\FSharp.Data\src\CommonRuntime\StructuralTypes.fs
Downloading fsharp/FSharp.Data:d1e9a2735f64a05db97c7ed5fee382a4ebc6158e src/CommonRuntime/TextRuntime.fs to c:\Tomas\Public\Deedle\paket-files\fsharp\FSharp.Data\src\CommonRuntime\TextRuntime.fs

Paket failed with:
   Access to the path 'c:\Tomas\Public\Deedle\paket-files\fsharp\FSharp.Data\src\CommonRuntime' is denied.

Any idea what could be causing this? I don't have any crazy anti-virus and the folder is not on OneDrive or DropBox. The only thing that might fail is the internet connection (which isn't perfect here...)

@tpetricek
Copy link
Member Author

For some reason, things work better when I add them by folder. I.e. first add:

github fsharp/FSharp.Data src/CommonRuntime/TextConversions.fs
github fsharp/FSharp.Data src/CommonRuntime/TextRuntime.fs
github fsharp/FSharp.Data src/CommonRuntime/StructuralTypes.fs
github fsharp/FSharp.Data src/CommonRuntime/StructuralInference.fs

Then run paket install and then add the rest:

github fsharp/FSharp.Data src/Csv/CsvRuntime.fs
github fsharp/FSharp.Data src/Csv/CsvFile.fs
github fsharp/FSharp.Data src/Csv/CsvInference.fs

@forki
Copy link
Member

forki commented Dec 9, 2014

I hope #445 fixes it. If not, then please try -v mode. That should give us the stacktrace.

@forki forki closed this as completed Dec 9, 2014
@mexx
Copy link
Member

mexx commented Dec 9, 2014

Problem is that we remove the folder on each file, and another download thread tries to write into it.
#445 (comment)

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

No branches or pull requests

3 participants