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

failed, error: module 'datetime' has no attribute 'UTC' #518

Open
lstep opened this issue Nov 8, 2024 · 2 comments
Open

failed, error: module 'datetime' has no attribute 'UTC' #518

lstep opened this issue Nov 8, 2024 · 2 comments

Comments

@lstep
Copy link

lstep commented Nov 8, 2024

Hello,

When running with docker compose up, it starts correctly, I can connect to the web interface, set parameters, but when I click on the red bar "Generate Video", I get the error "failed, error: module 'datetime' has no attribute 'UTC'":

## generating audio

2024-11-08 23:07:33.796 | INFO     | app.services.voice:azure_tts_v1:1057 - start, voice name: en-US-AvaNeural, try: 1

2024-11-08 23:07:33.803 | ERROR    | app.services.voice:azure_tts_v1:1080 - failed, error: module 'datetime' has no attribute 'UTC'

2024-11-08 23:07:33.803 | INFO     | app.services.voice:azure_tts_v1:1057 - start, voice name: en-US-AvaNeural, try: 2

2024-11-08 23:07:33.809 | ERROR    | app.services.voice:azure_tts_v1:1080 - failed, error: module 'datetime' has no attribute 'UTC'

2024-11-08 23:07:33.810 | INFO     | app.services.voice:azure_tts_v1:1057 - start, voice name: en-US-AvaNeural, try: 3

2024-11-08 23:07:33.816 | ERROR    | app.services.voice:azure_tts_v1:1080 - failed, error: module 'datetime' has no attribute 'UTC'

2024-11-08 23:07:33.816 | ERROR    | app.services.task:generate_audio:85 - failed to generate audio:
1. check if the language of the voice matches the language of the video script.
2. check if the network is available. If you are in China, it is recommended to use a VPN and enable the global traffic mode.

2024-11-08 23:07:33.817 | ERROR    | __main__:<module>:790 - Video Generation Failed

I'm running the latest (from git clone), on an Ubuntu 24.04, but that shouldn't change anything as it's a docker I'm running

@ManuLpz4
Copy link

ManuLpz4 commented Nov 9, 2024

Did you solve it? I'm facing the same issue

I think it's something with the Azure Speech model but investigating atm

@Szymok
Copy link

Szymok commented Nov 10, 2024

I also have the same issue

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

3 participants