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

No such file or directory: '/config/www/alexa_tts' #2022

Closed
Dustinhoefer opened this issue Sep 15, 2023 · 2 comments
Closed

No such file or directory: '/config/www/alexa_tts' #2022

Dustinhoefer opened this issue Sep 15, 2023 · 2 comments

Comments

@Dustinhoefer
Copy link

Describe the bug

After following some tutorials, I still can't get the service to find my devices.
The login works, but after that, no devices are found.

To Reproduce

Follow this tutorial:
https://www.youtube.com/watch?v=UEPt3edhwc0

Expected behavior

Devices are listed

Screenshots

System details

  • Home-assistant (version): 2023.09.2
  • alexa_media (version from const.py or HA startup):
  • alexapy (version from pip show alexapy or HA startup):
  • Amazon 2FA is enabled (y/n). Yes

Logs
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 362, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/alexa_media/media_player.py", line 157, in async_setup_entry
if await async_setup_platform(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/alexa_media/media_player.py", line 105, in async_setup_platform
os.mkdir(UPLOAD_PATH)
FileNotFoundError: [Errno 2] No such file or directory: '/config/www/alexa_tts'

Additional context

@Dustinhoefer
Copy link
Author

Dustinhoefer commented Sep 15, 2023

I fixed this, by just creating the requested folder structure manually.
Hope this helps someone in the future :)

@jsight
Copy link

jsight commented Sep 21, 2023

I have updated and rebooted and I still see the same error:

FileNotFoundError: [Errno 2] No such file or directory: '/config/www/alexa_tts'

I am on 4.7.1

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