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

7zip: Cannot use absolute pathnames for this command #6840

Closed
munificent opened this issue Nov 20, 2012 · 6 comments
Closed

7zip: Cannot use absolute pathnames for this command #6840

munificent opened this issue Nov 20, 2012 · 6 comments
Assignees
Labels
P1 A high priority bug; for example, a single project is unusable or has many test failures
Milestone

Comments

@munificent
Copy link
Member

From the mailing list (https://groups.google.com/a/dartlang.org/forum/?fromgroups#!topic/misc/PKznAUvoCKw):

Hello

I've cleaned my system and all dart related folders and caches and downloaded and extracted the latest version of Dart (Version 0.2.0.r13965, build 13965 SDK version 13983) to "C:\dev\dart" on a clean Windows 2003.
Opened the "todomvc" example
But Pub Install always complains with error:

Running pub install ...
Pub install fail, Resolving dependencies...
Downloading web_components 0.2.0 from hosted...
Downloading html5lib 0.0.13 from hosted...
Downloading js 0.0.3 from hosted...
Could not un-tar (exit code 7). Error:

7-Zip (A) 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18

Error:
Cannot use absolute pathnames for this command

A few others have chimed in with this problem too.

@munificent
Copy link
Member Author

Added Started label.

@munificent
Copy link
Member Author

I took Steve Walker's suggestion: https://codereview.chromium.org/11417102/. Hopefully this will address it. We can't repro the issue locally, so it's hard to tell.

What I wouldn't give for a pure-Dart library for this so I we didn't have to spawn 7zip.


Added Fixed label.

@DartBot
Copy link

DartBot commented Nov 21, 2012

This comment was originally written by wessels...@gmail.com


Sorry but this is not fixed. You should be able to reproduce it on XP, Server 2003 - all Pre-Vista machines.

The problem comes with the symbolic links and none of the solutions mentioned in the discussions fixed it yet.

@DartBot
Copy link

DartBot commented Nov 21, 2012

This comment was originally written by swatwork2@gmail.com


I don't think this issue has anything to do with symbolic links. The 7za tool is used to extract the downloaded archives before they are symlinked into the project directory - on my Windows XP machine if I bypass the link workaround but leave the 7za fix in place the packages are correctly downloaded and unpacked into the Pub cache but not linked to the project.

The symlink problem is discussed in issue #6737.

@munificent
Copy link
Member Author

Issue #6686 has been merged into this issue.

@munificent munificent added Type-Defect P1 A high priority bug; for example, a single project is unusable or has many test failures labels Nov 28, 2012
@munificent munificent self-assigned this Nov 28, 2012
@munificent munificent added this to the M2 milestone Nov 28, 2012
@DartBot
Copy link

DartBot commented Jun 5, 2015

This issue has been moved to dart-lang/pub#290.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 A high priority bug; for example, a single project is unusable or has many test failures
Projects
None yet
Development

No branches or pull requests

2 participants