Repository navigation
Report full paths when access is denied #242
Description
Activity
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.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).sorry can't reproduce
- Clone https://github.com/agross/paket-lock
- Run
paket install - Run
take-lock,cmd - Run
paket update - Optionally, run
git clean -xdfand repeat the process.
$ 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.
The problem occurs while deleting the directory containing a locked file. Utils.cs:32
Unfortunately I couldn't reproduce since the filelocker gives an error :-)
but I'm trusting @mexx on this.
Confirmed, paths are reported now.
$ 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?