Supergiovane / node-red-contrib-sonospollytts

Play speech TTS using Sonos.
https://www.facebook.com/supergiovaneDev
MIT License
12 stars 6 forks source link

can not upload file #50

Closed koburg closed 4 years ago

koburg commented 4 years ago

im not able to upload mp3 file directly with the upload option it says

"error not found"

have tried from win 10 and macOS webbrowsers

safari and chrome

Supergiovane commented 4 years ago

Hi you may have issues with write permissions to filesystem. Are you running nodered alone or behind something, like homeassistant?

koburg commented 4 years ago

Yeah it is a phoscon conbee image I have installed iobroker/nodered together with.

Den 17. okt. 2020 kl. 13.37 skrev Supergiovane notifications@github.com<mailto:notifications@github.com>:

Hi you may have issues with write permissions to filesystem. Are you running nodered alone or behind something, like homeassistant?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Supergiovane/node-red-contrib-sonospollytts/issues/50#issuecomment-710849811, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA2P7XXXTJAK4KOOE5M74RTSLF6V5ANCNFSM4SUJBU6Q.

Supergiovane commented 4 years ago

So please check the user permissions to write to the filesystem and you’re done!

koburg commented 4 years ago

i have now made the file chmod to 777 and folders no luck.

I can upload hailing tunes no problem but not ownfile do it use another folder ?

and the hailing tunes upload was working before chmod.

Supergiovane commented 4 years ago

The folder for ownfiles is sonospollyttsstorage/ttspermanentfiles I don’t know if simply giving 777 will work. Have you tried to upload the same working hailing file, to the ownfile node? Please upgrade sonospollytts to the latest version as well.

Supergiovane commented 4 years ago

Tomorrow i’ll take a look deeper and i’ll do some tests for you!

Supergiovane commented 4 years ago

Hi koburg, Are you able to unzip these files into your .node-red/node_modules/node-red-contrib-sonospollytts/sonospollytts folder and restart node-red?

Archivio.zip

If not, please wait. I'll release a new version today, that try to fix your issue. Let me know.

koburg commented 4 years ago

I did just installed your update and did not try upload to the folder yet.

because now I can not restart my nodered. don't now why at the moment..

koburg commented 4 years ago

I found the reason why the node-red went down it was after upgrading and when dragging the "own fie"l and "tts Sonos" nodes plus attach the two nodes then the server crashed after first deploy. I have not tried the zip file only the upgrade in the nod-red palette.

Supergiovane commented 4 years ago

What version of nodered and node.js are you running?

Supergiovane commented 4 years ago

PS: Please try to updgrade sonospollytts to V. 1.1.35

koburg commented 4 years ago

thank you it do not crash anymore but now the polly key it says it won't load and I have done all the right deployings. but it works with the old settings voice but I can not change the voice now. and throws error.

588663F7-429C-46D9-8318-32EB07D18C5D
Supergiovane commented 4 years ago

Hi Please check your aws credentials and restart nodered. Please be aware, that nodered must be connected to Internet in order to download the voice list from amazon.

koburg commented 4 years ago

sorry forgot to restart nodered server ok now.