Sigurd Meldgaard

Results 306 comments of Sigurd Meldgaard

Not sure I understood. Examples of what?

Sorry I did not get to the bottom of this today. Still unsure how that PR could cause that failure. Hopefully I'll get further here Monday. Meanwhile I think avoiding...

Yeah something is wrong. It seems the "binstub" (small script that can be used to run the activated binary) doesn't exist while pub expects it to. I cannot reproduce I...

@a-siva - that was a fix for another problem, that I saw while trying to reproduce. And that other problem has indeed been fixed, but is not the one this...

Tried reproducing again ``` > git clone https://github.com/flutter/assets-for-api-docs ... > cd assets-for-api-docs/packages/snippets/ snippets (main)> dart pub global activate -spath . Resolving dependencies... (2.5s) .. Activated snippets 0.4.3 at path "/usr/local/google/home/sigurdm/projects/assets-for-api-docs/packages/snippets"....

Reading the code again, we already create the binstub atomically since https://github.com/dart-lang/pub/pull/3285 Are you using a dart sdk from before that? Otherwise the error message should also not be "Could...

> As mentioned in my original post: You have to modify the script [here](https://github.com/flutter/flutter/blob/9ffc261fdda332f34c80c58b158308bf5e8da124/dev/bots/docs.sh#L119) to activate a local version. Oh sorry - completely misread that - I need more coffee....

Fix is taking a bit longer than expected. There are a few more races involved.

> Wow, thanks @sigurdm!! Great find!! (Thanks - Not sure how proud I am - I created this bug in the first place :) )