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

Misleading error message and lots of solver churn when there's no solution #10665

Closed
DartBot opened this issue May 15, 2013 · 8 comments
Closed
Assignees
Milestone

Comments

@DartBot
Copy link

DartBot commented May 15, 2013

This issue was originally filed by douglas....@gmail.com


First, please accept my apologies for submitting this during Google IO week.

What steps will reproduce the problem?

  1. Updated dart editor to 22659
  2. Ran pub install and received error in summary and request to run pub --trace 'install' in the output

What is the expected output? What do you see instead?

Expected output is a message that dependencies installed. I instead see the web_ui version error.

What version of the product are you using? On what operating system?
Dart VM version: 0.5.7.3_r22659 (Mon May 13 20:57:34 2013) on "macos_x64"
Mac OS X ver 10.7.5

Please provide any additional information below.

Please see my attached pubspec.yaml and the output from pub --trace 'install'.


Attachments:
[pub install trace 5-14-2013.txt](https://storage.googleapis.com/google-code-attachments/dart/issue-10665/comment-0/pub install trace 5-14-2013.txt) (104.30 KB)
pubspec.yaml (278 Bytes)

@dgrove
Copy link
Contributor

dgrove commented May 15, 2013

cc @nex3.
cc @munificent.
Added Area-Pub, Triaged labels.

@nex3
Copy link
Member

nex3 commented May 15, 2013

It looks like every existing version of webui_tasks has a version constraint on web_ui < 0.4.8, which is causing the version resolution to fail. The information presented in the error output is misleading, though... it indicates that the derived version constraint is ">=0.4.8 <0.5.0", when in fact this is in conflict with the webui_tasks constraint.

Bob, this looks to be a version solver issue. Can you look into it? It would also be good to see if we can reduce the amount of solver churn in cases like this.


Set owner to @munificent.
Added this to the M5 milestone.

@dgrove
Copy link
Contributor

dgrove commented May 15, 2013

Changed the title to: "Mislead error message and lots of solver churn when there's no solution".

@dgrove
Copy link
Contributor

dgrove commented May 15, 2013

Changed the title to: "Misleading error message and lots of solver churn when there's no solution".

@munificent
Copy link
Member

Added Accepted label.

@munificent
Copy link
Member

Added Started label.

@munificent
Copy link
Member

Added Fixed label.

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

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

This issue was closed.
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

4 participants