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

"An unknown error occurred" when using a local path #82

Closed
TyOverby opened this issue Jun 28, 2014 · 1 comment
Closed

"An unknown error occurred" when using a local path #82

TyOverby opened this issue Jun 28, 2014 · 1 comment

Comments

@TyOverby
Copy link

The dependency:

[dependencies.iui]

path = "../"

causes cargo to fail and print the error An unknown error occurred.

@huonw
Copy link
Member

huonw commented Jun 28, 2014

You can get more information by running with --verbose. I see

Caused by:
  couldn't open file (no such file or directory (No such file or directory); path=/home/huon/projects/Cargo.toml; mode=open; access=read)

and it seems to happen for any path = "..." where .../Cargo.toml doesn't exist.

@huonw huonw closed this as completed in cec0792 Jun 30, 2014
alexcrichton pushed a commit to alexcrichton/cargo that referenced this issue Sep 2, 2014
ehuss pushed a commit to ehuss/cargo that referenced this issue Nov 19, 2023
…oken-code

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

No branches or pull requests

2 participants