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

Cannot play: TypeError: Cannot read properties of undefined (reading 'join') #256

Open
bierking opened this issue Apr 13, 2023 · 2 comments
Labels

Comments

@bierking
Copy link

bierking commented Apr 13, 2023

Describe the bug
Sayit doesn't work - starting with 1.12.3-1.12.6 issues with text - sometime text was missing just "Dong"
thought reason could be my system upgrade (Debian and of course node) - need to update adapters, now nothing no "dong" no text
if I use cache in settings I got this "Cannot write file: TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received an instance of Object"

To Reproduce
Unfortunately always, no matter which settings are used in the sayit adapter
reason for update to 3.0.0 was, in some cases there was only the "dong" but no text. in other cases everything was ok but volume went down each time in global settings with - did an upgrade from Debian 9 to 11 and new system, big move 1 month ago but till there no other issues. use mpg321 on linux with speakers, alsamixer looks ok and other sound from system works well

tried all versions 1.12.6 to 3.0.0, in 1.12.6 Announcement works and sometime text with google voice - but seem only short texts

Expected behavior
Do I need to update other adapters as well or is there something wrong in usage/setting - tried to avoid mistakes in scripts using state under objects. Maybe using an other player on debian?

Screenshots & Logfiles
Add any other context about the problem here.
Bildschirmfoto 2023-04-13 um 08 35 56
Bildschirmfoto 2023-04-13 um 08 37 53
Bildschirmfoto 2023-04-13 um 08 38 30
Bildschirmfoto 2023-04-13 um 08 38 40

Versions:

  • Adapter version:3.0.0
  • Cloud: 4.4.0
  • JS-Controller version: 4.0.24
  • Node version: 18.15.0 updated to 18.16.0 without effects
  • NPM 9.5.0
  • Operating system: Debian 11 x64
@GermanBluefox
Copy link
Contributor

GermanBluefox commented Apr 17, 2023

Fix: 08b77f8

@bierking Please retest with 3.0.1

@bierking
Copy link
Author

bierking commented Apr 17, 2023

@GermanBluefox thanks for fast reply
Test tts in objects succeeded BUT without announcement
Test with blockly script "Text to speech" succeeded BUT without announcement
Test with blockly script "Aussprechen" succeeded with triggers, my test "script" (below) not - in any case no announcement

sayit 3.0.5
js v 7.0.3

Bildschirmfoto 2023-04-17 um 21 52 23

Bildschirmfoto 2023-04-17 um 21 53 04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants