Skip to content

speaker: emit errors for fd failures#60

Open
andyholmes wants to merge 1 commit into
mainfrom
andyholmes/speaker
Open

speaker: emit errors for fd failures#60
andyholmes wants to merge 1 commit into
mainfrom
andyholmes/speaker

Conversation

@andyholmes

Copy link
Copy Markdown
Collaborator

When Spiel fails to open/close pipes in spiel_speaker_speak(), emit utterance-error and return early.

@eeejay

eeejay commented May 29, 2024

Copy link
Copy Markdown
Collaborator

This fails in CI

@andyholmes

Copy link
Copy Markdown
Collaborator Author

This fails in CI

Yeah, I'm really not sure why g_close() is a missing symbol 😕

I guess I'll just implement returning a GError manually, it's not a ton of code.

@eeejay

eeejay commented Jun 7, 2024

Copy link
Copy Markdown
Collaborator

Also, is there a test you can add?

@andyholmes

Copy link
Copy Markdown
Collaborator Author

Also, is there a test you can add?

Hmm, that's a good question. I'm not sure how to make an open() or close() call fail, other than maybe some simple wrappers with #ifdef SPIEL_TEST in them or something.

@andyholmes
andyholmes force-pushed the andyholmes/speaker branch from 20bc1ed to 6f713c5 Compare June 8, 2024 16:36
@andyholmes

Copy link
Copy Markdown
Collaborator Author

Also, is there a test you can add?

Hmm, that's a good question. I'm not sure how to make an open() or close() call fail if that's what you mean, other than maybe some simple wrappers with #ifdef SPIEL_TEST in them or something.

@andyholmes
andyholmes force-pushed the andyholmes/speaker branch 3 times, most recently from 20e7e1c to 0b8c217 Compare June 8, 2024 19:11
@eeejay

eeejay commented Jul 22, 2024

Copy link
Copy Markdown
Collaborator

This looks like its still failing on tests. Do you want to rebse and give the PR another chance?

@andyholmes
andyholmes force-pushed the andyholmes/speaker branch from 0b8c217 to 8e0afd5 Compare July 22, 2024 23:33
@andyholmes

Copy link
Copy Markdown
Collaborator Author

Hmm, not sure why it's timing out, and I can't reproduce locally.

When Spiel fails to open/close pipes in `spiel_speaker_speak()`,
emit `utterance-error` and return early.
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

Successfully merging this pull request may close these issues.

2 participants