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

stdio is not connected #236

Closed
bsutton opened this issue Mar 23, 2024 · 3 comments
Closed

stdio is not connected #236

bsutton opened this issue Mar 23, 2024 · 3 comments

Comments

@bsutton
Copy link
Collaborator

bsutton commented Mar 23, 2024

When running pub_release from the alpha.11 build the following error is returned:

This occurs when trying to release pubspec_manager using the current package version number.

Updated pubspec.yaml version to 0.9.0
Regenerating version file at /home/bsutton/git/pubspec_manager/lib/src/version/version.g.dart
Running 'pub get' to ensure package is ready to publish
Found git project.
No pre release hooks found in /home/bsutton/git/pubspec_manager/tool/pre_release_hook
Generating release notes.
Would you like to edit the /home/bsutton/git/pubspec_manager/CHANGELOG.md notes (y/n): y
Unhandled exception:
Bad state: stdio is not connected
#0 _ProcessImpl.stdout (dart:io-patch/process_patch.dart:530:19)
#1 _startIsolate. (package:dcli/src/process/process/process_in_isolate.dart:89:26)

@jifferon
Copy link

jifferon commented Apr 2, 2024

This is quite severe and brakes operation of DCLI

@bsutton
Copy link
Collaborator Author

bsutton commented Apr 2, 2024

I do actually have a partial fix on master for this issue and with a little more work it is completely fixable.
However at the moment I'm trying to deal with a bigger issue:

dart-lang/sdk#52121

If you look at the final comment you can read about the problem.

This may mean that we have to make the dcli process calls async...

@bsutton
Copy link
Collaborator Author

bsutton commented Apr 5, 2024

this should be resolved in 4.0.1-beta.1

@bsutton bsutton closed this as completed Apr 5, 2024
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