Skip to content

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

Closed

Description

@tpetricek

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...)

Activity

  1. tpetricek commented on Dec 8, 2014

    @tpetricek
    MemberAuthor

    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
    
  2. forki commented on Dec 9, 2014

    @forki
    Member

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

  3. mexx commented on Dec 9, 2014

    @mexx
    Contributor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions