Skip to content

Report full paths when access is denied #242

Description

@agross
$ paket update
...
Paket failed with:
   Access to the path 'Google.Apis.Admin.Directory.directory_v1.xml' is denied.

What's the directory of the XML file?

Activity

  1. forki commented on Oct 11, 2014

    @forki
    Member

    How can I reproduce this?
    On Oct 11, 2014 5:05 PM, "Alexander Groß" notifications@github.com wrote:

    $ paket update
    ...
    Paket failed with:
    Access to the path 'Google.Apis.Admin.Directory.directory_v1.xml' is denied.

    What's the directory of the XML file?

    —
    Reply to this email directly or view it on GitHub
    #242.

  2. agross commented on Oct 11, 2014

    @agross
    ContributorAuthor

    Have VS lock a file ;) At least that's how I encountered the error.

    Beste Grüße,

    Alex

    Alexander Groß
    http://therightstuff.de/

    On Sat, Oct 11, 2014 at 5:09 PM, Steffen Forkmann notifications@github.com
    wrote:

    How can I reproduce this?
    On Oct 11, 2014 5:05 PM, "Alexander Groß" notifications@github.com
    wrote:

    $ paket update
    ...
    Paket failed with:
    Access to the path 'Google.Apis.Admin.Directory.directory_v1.xml' is
    denied.

    What's the directory of the XML file?

    —
    Reply to this email directly or view it on GitHub
    #242.

    —
    Reply to this email directly or view it on GitHub
    #242 (comment).

  3. forki commented on Oct 22, 2014

    @forki
    Member

    sorry can't reproduce

  4. agross commented on Oct 22, 2014

    @agross
    ContributorAuthor
    $ paket install
    Paket version 0.9.1.0
    NUnit 2.6.2 unzipped to packages\NUnit
    00.94s - ready.
    
    # take the lock now
    
    $ paket update
    Paket version 0.9.1.0
    Parsing paket.dependencies
    Resolving packages:
      - fetching versions for NUnit
        - exploring NUnit 2.6.3
    Locked version resolutions written to paket.lock
    Downloading NUnit 2.6.3 to NuGet\Cache\NUnit.2.6.3.nupkg
    Paket failed with:
       The process cannot access the file 'nunit.framework.dll' because it is being used by another process.
  5. mexx commented on Oct 22, 2014

    @mexx
    Contributor

    The problem occurs while deleting the directory containing a locked file. Utils.cs:32

  6. forki commented on Oct 24, 2014

    @forki
    Member

    Unfortunately I couldn't reproduce since the filelocker gives an error :-)

    but I'm trusting @mexx on this.

  7. agross commented on Oct 24, 2014

    @agross
    ContributorAuthor

    Confirmed, paths are reported now.

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