-
Notifications
You must be signed in to change notification settings - Fork 117
Semaphore Timeout when running pub global activate stagehand #200
Comments
This looks like a (hopefully transient) failure from pub, when it's trying to download stagehand and it's dependent packages. Does this error reproduce? Can you try pub global activate on any other tools? If you pub cache is damaged, |
I believe usage pacakge is damaged(it happen for me so frequently on my Window desktop) https://plus.google.com/113415344870093527255/posts/Tab8xQnqoFs |
I’ve repaired pub cache and deleted it, but still get the same error: Loading source assets... #0 _rootHandleUncaughtError. (dart:async/zone.dart:886) From: Sungguk Lim [mailto:notifications@github.com] I believe usage pacakge is damaged(it happen for me so frequently on my Window desktop) https://plus.google.com/113415344870093527255/posts/Tab8xQnqoFs — |
I am able to activate other packages (see below http, charcode, route), but still not stagehand. D:\dicom_web\library>pub global activate http
D:\dicom_web\library>pub global activate charcode
D:\dicom_web\library>pub global activate shelf
D:\dicom_web\library> This looks like a (hopefully transient) failure from pub, when it's trying to download stagehand and it's dependent packages. Does this error reproduce? Can you try pub global activate on any other tools? If you pub cache is damaged, pub cache repair will try and fix it. — |
I'm checking to see if either stagehand (or perhaps usage) is damaged. Those packages you activated above are libraries, not applications (i.e., they don't have executables defined in their pubspecs). Can you try activating a package with an executable, like |
I tried activating both tuneup and grinder and both failed with the same error as stagehand, i.e. semaphore timeout. I should mention that I am running version 1.9.0-dev.8.0. From: Devon Carew [mailto:notifications@github.com] I'm checking to see if either stagehand (or perhaps usage) is damaged. Those packages you activated above are libraries, not applications (i.e., they don't have executables defined in their pubspecs). Can you try activating a package with an executable, like tuneup or grinder. — |
OK, well that's good news at least; it's not specifically a stagehand issue. Can you file a bug at dartbug.com/new, with the stacktrace, and the info that this fails with many (all?) packages with executables? |
Will do. Thanks for your help. Jim From: Devon Carew [mailto:notifications@github.com] OK, well that's good news at least; it's not specifically a stagehand issue. Can you file a bug at dartbug.com/new, with the stacktrace, and the info that this fails with many (all?) packages with executables? — |
Thanks! |
I get the following error when trying to activate stagehand:
D:\dicom_web\api_test> pub global activate stagehand
Resolving dependencies...
Precompiling executables...
Loading source assets...
Failed to precompile stagehand:stagehand:
Unhandled exception:
Uncaught Error: SocketException: OS Error: The semaphore timeout period has expi
red.
, errno = 121, address = localhost, port = 63068
#0 _rootHandleUncaughtError. (dart:async/zone.dart:886)
stagehand #1 _asyncRunCallbackLoop (dart:async/schedule_microtask.dart:41)
Dart + Mobile-first HTML template #2 _asyncRunCallback (dart:async/schedule_microtask.dart:48)
Dart + Polymer template #3 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)
Anonymous, opt-in analytics #4 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dar
t:143)
D:\dicom_web\api_test>
The text was updated successfully, but these errors were encountered: