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

pub upgrade crash on dead loop instead of showing the problem #1268

Closed
DartBot opened this issue Jun 5, 2015 · 4 comments
Closed

pub upgrade crash on dead loop instead of showing the problem #1268

DartBot opened this issue Jun 5, 2015 · 4 comments
Labels
closed-duplicate Closed in favor of an existing report type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@DartBot
Copy link

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/2742173?v=3" align="left" width="96" height="96"hspace="10"> Issue by rinick
Originally opened as dart-lang/sdk#22903


pub upgrade fails when I start to use the args 1.3 package

when I run "pub upgrade -v"
it shows a dead loop like this

selection path 1.0.0 from hosted does not match >=1.2.0 <2.0.0
SLVR: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
backjump to yaml
SLVR: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * select y
aml 2.1.1 from hosted
SLVR: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add impl
icit >=0.13.0 <0.15.3 pub dependency on barback
SLVR: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add impl
icit >=1.0.0 <2.0.0 pub dependency on source_span
SLVR: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add impl
icit >=0.9.1 <2.0.0 pub dependency on stack_trace
SLVR: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * select
 matcher 0.11.4+3 from hosted
SLVR: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sele
ct petitparser 1.3.7 from hosted
SLVR: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * se
lect pool 1.0.1 from hosted
SLVR: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *
select collection 1.1.0 from hosted
SLVR: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
selection path 1.0.0 from hosted does not match >=1.2.0 <2.0.0
SLVR: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
backjump to code_transformers
SLVR: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * select cod
e_transformers 0.0.1-dev.1 from hosted
SLVR: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add implic
it >=0.13.0 <0.15.3 pub dependency on barback
SLVR: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add implic
it >=1.0.0 <2.0.0 pub dependency on source_span
SLVR: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add implic
it >=0.9.1 <2.0.0 pub dependency on stack_trace
SLVR: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * select y
aml 2.1.2 from hosted
SLVR: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * select
 matcher 0.11.4+3 from hosted
SLVR: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sele
ct petitparser 1.3.7 from hosted
SLVR: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * se
lect pool 1.0.1 from hosted
SLVR: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *
select collection 1.1.0 from hosted
SLVR: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
selection path 1.0.0 from hosted does not match >=1.2.0 <2.0.0
SLVR: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
backjump to yaml
SLVR: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * select y
aml 2.1.1 from hosted
SLVR: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add impl
icit >=0.13.0 <0.15.3 pub dependency on barback
SLVR: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add impl
icit >=1.0.0 <2.0.0 pub dependency on source_span
SLVR: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add impl
icit >=0.9.1 <2.0.0 pub dependency on stack_trace
SLVR: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * select
 matcher 0.11.4+3 from hosted
SLVR: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sele
ct petitparser 1.3.7 from hosted
SLVR: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * se
lect pool 1.0.1 from hosted
SLVR: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *
select collection 1.1.0 from hosted
SLVR: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
selection path 1.0.0 from hosted does not match >=1.2.0 <2.0.0
SLVR: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
backjump to code_transformers
SLVR: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * select cod
e_transformers 0.0.1-dev from hosted

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/2108507?v=3" align="left" width="48" height="48"hspace="10"> Comment by dgrove


Added Area-Pub, Triaged labels.

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/188?v=3" align="left" width="48" height="48"hspace="10"> Comment by nex3


I assume this is issue #912, but it's hard to know without more detail. The log output you posted, in addition to being difficult to read due to line wrapping, doesn't actually contain any error messages—it's just various package versions being selected and unselected.


Added NeedsInfo label.

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/2742173?v=3" align="left" width="48" height="48"hspace="10"> Comment by rinick


as you can see it's a dead loop, the console just prints these things forever.

but after updating to 1.9.0dev10.13, I can no longer reproduce this issue. maybe the dependency loop in those pub packages was fixed by package owner.

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/188?v=3" align="left" width="48" height="48"hspace="10"> Comment by nex3


It's not actually infinite; if you look closely you'll see that the versions being selected vary over time. Unfortunately it is exponential, which is an unfortunate necessity for backtracking version resolution.


Added Duplicate label.
Marked as being merged into #912.

@DartBot DartBot added type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) closed-duplicate Closed in favor of an existing report labels Jun 5, 2015
@DartBot DartBot closed this as completed Jun 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-duplicate Closed in favor of an existing report type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

1 participant