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

Broken pipe error with full metrics #82

Closed
sgreenbury opened this issue Aug 21, 2024 · 1 comment · Fixed by #92
Closed

Broken pipe error with full metrics #82

sgreenbury opened this issue Aug 21, 2024 · 1 comment · Fixed by #92
Labels
bug Something isn't working

Comments

@sgreenbury
Copy link
Contributor

Running popgetter metrics --full | head -1000 currently results in a broken pipe error: failed printing to stdout: Broken pipe (os error 32)

Related issue alan-turing-institute/whatwhat#107 where a similar fix could be implemented here by using writeln!(stdout, ...) over println!() and handling errors of kind std::io::ErrorKind::BrokenPipe

@sgreenbury sgreenbury added the bug Something isn't working label Aug 21, 2024
@sgreenbury sgreenbury moved this to Todo: in Popgetter Oct 16, 2024
sgreenbury added a commit that referenced this issue Nov 4, 2024
@sgreenbury sgreenbury mentioned this issue Nov 4, 2024
3 tasks
sgreenbury added a commit that referenced this issue Nov 4, 2024
…arch-improvements

* Search improvements (#81)

* Fix broken pipe (#82)
@sgreenbury
Copy link
Contributor Author

sgreenbury commented Nov 4, 2024

Closed with #92 and #85.

@github-project-automation github-project-automation bot moved this from Todo: to Done: in Popgetter Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done:
Development

Successfully merging a pull request may close this issue.

1 participant