Project

General

Profile

Bug #593 » 5b4585d6-e447-11ee-81ee-92628558f805.log

worker log - Trịnh Thế Định, 03/17/2024 11:10 AM

 
INFO:__main__:Worker started.
INFO:__main__:Parameters: Namespace(history_uuid='5b4585d6-e447-11ee-81ee-92628558f805')
INFO:__main__:conversion_history
INFO:__main__:<app.tts_common.models.history.ConversionHistory object at 0x7f4251a60390>
INFO:__main__:current_user from db Nguyễn Tuấn
ERROR:__main__:processing tts_history: 5b4585d6-e447-11ee-81ee-92628558f805
ERROR:__main__:current user_id: 284
INFO:__main__:Try to download and decrypt if needed for 5b4585d6-e447-11ee-81ee-92628558f805
INFO:__main__:File downloaded successfully to: tmp/contabo_uploaded/284/20240317_101555_545936/123.docx
INFO:Job: convert_and_send_result 5b4585d6-e447-11ee-81ee-92628558f805:Convert TTS and send result START...
INFO:Job: convert_and_send_result 5b4585d6-e447-11ee-81ee-92628558f805:conversion_history_uuid 5b4585d6-e447-11ee-81ee-92628558f805
INFO:Job: convert_and_send_result 5b4585d6-e447-11ee-81ee-92628558f805:input_file_path tmp/contabo_uploaded/284/20240317_101555_545936/123.docx
INFO:Job: convert_and_send_result 5b4585d6-e447-11ee-81ee-92628558f805:model_price_rate 1
INFO:Job: convert_and_send_result 5b4585d6-e447-11ee-81ee-92628558f805:file_extension docx
INFO:Job: convert_and_send_result 5b4585d6-e447-11ee-81ee-92628558f805:current estimated_total_credits to calculate lock: 111354
INFO:Job: convert_and_send_result 5b4585d6-e447-11ee-81ee-92628558f805:current_estimate_credits: 111354
0-123 tmp/contabo_uploaded/284/20240317_101555_545936/0-123.mp3
1-123 tmp/contabo_uploaded/284/20240317_101555_545936/1-123.mp3
2-123 tmp/contabo_uploaded/284/20240317_101555_545936/2-123.mp3
INFO:app.tts_common.services.speech:Parent process: Process-2 START
INFO:app.tts_common.services.speech:setup_api_key of model: gpt-3.5
3-123 tmp/contabo_uploaded/284/20240317_101555_545936/3-123.mp3
INFO:app.tts_common.services.speech:Parent process: Process-3 START
INFO:app.tts_common.services.speech:setup_api_key of model: gpt-3.5
4-123 tmp/contabo_uploaded/284/20240317_101555_545936/4-123.mp3
INFO:app.tts_common.services.speech:Parent process: Process-4 START
INFO:app.tts_common.services.speech:setup_api_key of model: gpt-3.5
INFO:app.tts_common.services.speech:Parent process: Process-5 START
INFO:app.tts_common.services.speech:setup_api_key of model: gpt-3.5
5-123 tmp/contabo_uploaded/284/20240317_101555_545936/5-123.mp3
6-123 tmp/contabo_uploaded/284/20240317_101555_545936/6-123.mp3
7-123 tmp/contabo_uploaded/284/20240317_101555_545936/7-123.mp3
INFO:app.tts_common.services.speech:count_all_active_key: 1259
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************26L6iHWQ0dMBSbHhPM1P7dfTk
INFO:app.tts_common.services.speech:count_all_active_key: 1259
INFO:app.tts_common.services.speech:count_all_active_key: 1259
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************miQpzhhg0d1MNTwBo7vQJ3sZN
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************4Ht2ZWs9yyaCKhs5Vni9F1z9I
INFO:app.tts_common.services.speech:count_all_active_key: 1259
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************JBXPYifCKMkJNoMX16EmVa5s3
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 200 OK"
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************miQpzhhg0d1MNTwBo7vQJ3sZN
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************JBXPYifCKMkJNoMX16EmVa5s3
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************26L6iHWQ0dMBSbHhPM1P7dfTk
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************26L6iHWQ0dMBSbHhPM1P7dfTk
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************JBXPYifCKMkJNoMX16EmVa5s3
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************miQpzhhg0d1MNTwBo7vQJ3sZN
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************JBXPYifCKMkJNoMX16EmVa5s3
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************26L6iHWQ0dMBSbHhPM1P7dfTk
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************miQpzhhg0d1MNTwBo7vQJ3sZN
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 429 Too Many Requests"
ERROR:app.tts_common.services.speech:A 429 status code was received; we should back off a bit.
INFO:app.tts_common.crud.crud_openai_api_key:set_usable_at: sess-xrtJKeIdO466HYAJBXPYifCKMkJNoMX16EmVa5s3 - gpt-3.5 - 2024-03-17 10:18:23.794812
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 429 Too Many Requests"
ERROR:app.tts_common.services.speech:A 429 status code was received; we should back off a bit.
INFO:app.tts_common.crud.crud_openai_api_key:set_usable_at: sess-KBGWObI9D9Z42wW26L6iHWQ0dMBSbHhPM1P7dfTk - gpt-3.5 - 2024-03-17 10:18:23.822817
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 429 Too Many Requests"
ERROR:app.tts_common.services.speech:A 429 status code was received; we should back off a bit.
INFO:app.tts_common.crud.crud_openai_api_key:set_usable_at: sess-lKfoaKmwehguVasmiQpzhhg0d1MNTwBo7vQJ3sZN - gpt-3.5 - 2024-03-17 10:18:23.875047
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************79rLyWqqWBQ0MXgSpUu2JG60V
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************4yhZ1mbsjVXiAStttx9LXA9VR
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************DzfdJlWHxYOG6vrH09pYZjz1g
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************79rLyWqqWBQ0MXgSpUu2JG60V
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************4yhZ1mbsjVXiAStttx9LXA9VR
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************DzfdJlWHxYOG6vrH09pYZjz1g
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************79rLyWqqWBQ0MXgSpUu2JG60V
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************4yhZ1mbsjVXiAStttx9LXA9VR
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************DzfdJlWHxYOG6vrH09pYZjz1g
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************4yhZ1mbsjVXiAStttx9LXA9VR
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************79rLyWqqWBQ0MXgSpUu2JG60V
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************DzfdJlWHxYOG6vrH09pYZjz1g
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 429 Too Many Requests"
ERROR:app.tts_common.services.speech:A 429 status code was received; we should back off a bit.
INFO:app.tts_common.crud.crud_openai_api_key:set_usable_at: sess-kNhG3fOL7oXoaIX4yhZ1mbsjVXiAStttx9LXA9VR - gpt-3.5 - 2024-03-17 10:18:36.643403
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 429 Too Many Requests"
ERROR:app.tts_common.services.speech:A 429 status code was received; we should back off a bit.
INFO:app.tts_common.crud.crud_openai_api_key:set_usable_at: sess-hZemSUqPa3IYkV279rLyWqqWBQ0MXgSpUu2JG60V - gpt-3.5 - 2024-03-17 10:18:36.659861
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 429 Too Many Requests"
ERROR:app.tts_common.services.speech:A 429 status code was received; we should back off a bit.
INFO:app.tts_common.crud.crud_openai_api_key:set_usable_at: sess-xOqx4s0sYxVM8JSDzfdJlWHxYOG6vrH09pYZjz1g - gpt-3.5 - 2024-03-17 10:18:36.698583
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************hzH7B1NJh8QLMkiwsKC3oTzy9
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************vN3ywNyCNvRJSwBday3buNsbo
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************NTgIdf6HyNd8UkXYWj30eKioX
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:app.tts_common.helpers.tts_history_helper:add_percent_complete: 5b4585d6-e447-11ee-81ee-92628558f805 - 12%
INFO:[CRUD History]:add_percent_complete: 5b4585d6-e447-11ee-81ee-92628558f805 - 12%
INFO:app.tts_common.services.speech:Parent process: Process-2 END
INFO:app.tts_common.services.speech:Parent process: Process-6 START
INFO:app.tts_common.services.speech:setup_api_key of model: gpt-3.5
stream_to_file from openAI tmp/contabo_uploaded/284/20240317_101555_545936/0-123.mp3
output_file_path tmp/contabo_uploaded/284/20240317_101555_545936/0-123.mp3
The file tmp/contabo_uploaded/284/20240317_101555_545936/0-123.mp3 exists. exiting waiting tts-history 5b4585d6-e447-11ee-81ee-92628558f805
complete_count 0
total_pieces 8
INFO:app.tts_common.services.speech:count_all_active_key: 1250
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************sD9d3dv42okbXpnQ4cZHkyCpB
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:app.tts_common.helpers.translator_helper:get_boss_key response
INFO:app.tts_common.helpers.translator_helper:<Response [200]>
INFO:app.tts_common.helpers.translator_helper:https://iv0fyyh85j.execute-api.eu-central-1.amazonaws.com/prod/oakey/boss/f6e5740d-099c-4084-a454-bb339b407128
INFO:app.tts_common.helpers.translator_helper:{'success': True, 'api_key': 'sk-xzXro7PxD2MpQzw44b6329C566F24e129cBeBb05A99fDb1c', 'partitionKey': 'bossKey', 'created_at': '2023-08-01 11:02:34', 'id': 2, 'base_url': 'https://aihubmix.com/v1'}
INFO:app.tts_common.helpers.translator_helper:get_boss_key response
INFO:app.tts_common.services.speech:Using boss key in request_text_openai_by_piece
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************b6329C566F24e129cBeBb05A99fDb1c
INFO:app.tts_common.helpers.translator_helper:<Response [200]>
INFO:app.tts_common.helpers.translator_helper:https://iv0fyyh85j.execute-api.eu-central-1.amazonaws.com/prod/oakey/boss/f6e5740d-099c-4084-a454-bb339b407128
INFO:app.tts_common.helpers.translator_helper:{'success': True, 'api_key': 'sk-xzXro7PxD2MpQzw44b6329C566F24e129cBeBb05A99fDb1c', 'partitionKey': 'bossKey', 'created_at': '2023-08-01 11:02:34', 'id': 2, 'base_url': 'https://aihubmix.com/v1'}
INFO:app.tts_common.services.speech:Using boss key in request_text_openai_by_piece
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************b6329C566F24e129cBeBb05A99fDb1c
INFO:app.tts_common.helpers.translator_helper:get_boss_key response
INFO:app.tts_common.helpers.translator_helper:<Response [200]>
INFO:app.tts_common.helpers.translator_helper:https://iv0fyyh85j.execute-api.eu-central-1.amazonaws.com/prod/oakey/boss/f6e5740d-099c-4084-a454-bb339b407128
INFO:app.tts_common.helpers.translator_helper:{'success': True, 'api_key': 'sk-xzXro7PxD2MpQzw44b6329C566F24e129cBeBb05A99fDb1c', 'partitionKey': 'bossKey', 'created_at': '2023-08-01 11:02:34', 'id': 2, 'base_url': 'https://aihubmix.com/v1'}
INFO:app.tts_common.services.speech:Using boss key in request_text_openai_by_piece
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************b6329C566F24e129cBeBb05A99fDb1c
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 401 Unauthorized"
ERROR:app.tts_common.services.speech:The API key is invalid
ERROR:app.tts_common.services.speech:Error code: 401 - {'error': {'message': 'Incorrect API key provided: sk-xzXro***************************************Db1c. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}
INFO:app.tts_common.crud.crud_openai_api_key:deactivate_api_key: sk-xzXro7PxD2MpQzw44b6329C566F24e129cBeBb05A99fDb1c - gpt-3.5
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 401 Unauthorized"
ERROR:app.tts_common.services.speech:The API key is invalid
ERROR:app.tts_common.services.speech:Error code: 401 - {'error': {'message': 'Incorrect API key provided: sk-xzXro***************************************Db1c. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}
INFO:app.tts_common.crud.crud_openai_api_key:deactivate_api_key: sk-xzXro7PxD2MpQzw44b6329C566F24e129cBeBb05A99fDb1c - gpt-3.5
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 401 Unauthorized"
ERROR:app.tts_common.services.speech:The API key is invalid
ERROR:app.tts_common.services.speech:Error code: 401 - {'error': {'message': 'Incorrect API key provided: sk-xzXro***************************************Db1c. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}
INFO:app.tts_common.crud.crud_openai_api_key:deactivate_api_key: sk-xzXro7PxD2MpQzw44b6329C566F24e129cBeBb05A99fDb1c - gpt-3.5
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************sD9d3dv42okbXpnQ4cZHkyCpB
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:app.tts_common.helpers.tts_history_helper:add_percent_complete: 5b4585d6-e447-11ee-81ee-92628558f805 - 25%
INFO:[CRUD History]:add_percent_complete: 5b4585d6-e447-11ee-81ee-92628558f805 - 25%
INFO:app.tts_common.helpers.tts_history_helper:add_percent_complete: 5b4585d6-e447-11ee-81ee-92628558f805 - 37%
INFO:[CRUD History]:add_percent_complete: 5b4585d6-e447-11ee-81ee-92628558f805 - 37%
INFO:app.tts_common.services.speech:Parent process: Process-5 END
INFO:app.tts_common.services.speech:Parent process: Process-7 START
INFO:app.tts_common.services.speech:setup_api_key of model: gpt-3.5
complete_count 1
total_pieces 8
INFO:app.tts_common.services.speech:Parent process: Process-3 END
complete_count 2
total_pieces 8
INFO:app.tts_common.services.speech:Parent process: Process-8 START
INFO:app.tts_common.services.speech:setup_api_key of model: gpt-3.5
INFO:app.tts_common.helpers.tts_history_helper:add_percent_complete: 5b4585d6-e447-11ee-81ee-92628558f805 - 50%
INFO:[CRUD History]:add_percent_complete: 5b4585d6-e447-11ee-81ee-92628558f805 - 50%
INFO:app.tts_common.services.speech:Parent process: Process-4 END
INFO:app.tts_common.services.speech:Parent process: Process-9 START
INFO:app.tts_common.services.speech:setup_api_key of model: gpt-3.5
complete_count 3
total_pieces 8
INFO:app.tts_common.services.speech:count_all_active_key: 1250
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************Zv2FRV4een36MOdHYi4A3UiPr
INFO:app.tts_common.services.speech:count_all_active_key: 1250
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************dOdMog03hV7Xm1040lcubjkqq
INFO:app.tts_common.services.speech:count_all_active_key: 1250
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************ZYzAgt2ACWifwALqteWJpr6xC
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************sD9d3dv42okbXpnQ4cZHkyCpB
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************dOdMog03hV7Xm1040lcubjkqq
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************ZYzAgt2ACWifwALqteWJpr6xC
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************Zv2FRV4een36MOdHYi4A3UiPr
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************sD9d3dv42okbXpnQ4cZHkyCpB
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 429 Too Many Requests"
ERROR:app.tts_common.services.speech:A 429 status code was received; we should back off a bit.
INFO:app.tts_common.crud.crud_openai_api_key:set_usable_at: sess-RwEw5o9ZCQ7QtadsD9d3dv42okbXpnQ4cZHkyCpB - gpt-3.5 - 2024-03-17 10:18:53.070336
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************Zv2FRV4een36MOdHYi4A3UiPr
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************dOdMog03hV7Xm1040lcubjkqq
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************ZYzAgt2ACWifwALqteWJpr6xC
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************7FjlGm7L4FCuHzmeVsjrIAKsh
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************Zv2FRV4een36MOdHYi4A3UiPr
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************dOdMog03hV7Xm1040lcubjkqq
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************ZYzAgt2ACWifwALqteWJpr6xC
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 429 Too Many Requests"
ERROR:app.tts_common.services.speech:A 429 status code was received; we should back off a bit.
INFO:app.tts_common.crud.crud_openai_api_key:set_usable_at: sess-JENnOKhSxyUxZkMZv2FRV4een36MOdHYi4A3UiPr - gpt-3.5 - 2024-03-17 10:18:58.435482
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 429 Too Many Requests"
ERROR:app.tts_common.services.speech:A 429 status code was received; we should back off a bit.
INFO:app.tts_common.crud.crud_openai_api_key:set_usable_at: sess-Ga1jBKJx1aBRqiWdOdMog03hV7Xm1040lcubjkqq - gpt-3.5 - 2024-03-17 10:18:58.450558
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 429 Too Many Requests"
ERROR:app.tts_common.services.speech:A 429 status code was received; we should back off a bit.
INFO:app.tts_common.crud.crud_openai_api_key:set_usable_at: sess-Mii6eIqe9O8MzFvZYzAgt2ACWifwALqteWJpr6xC - gpt-3.5 - 2024-03-17 10:18:58.566103
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************7FjlGm7L4FCuHzmeVsjrIAKsh
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************GwW8LDsMvnCMy3uZeJGSLUhWC
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************cDtKPZfxc7pfhZY4MmkQrKlE9
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************XhDyg8YSGlKAU28f1wATsMyuu
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************7FjlGm7L4FCuHzmeVsjrIAKsh
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************GwW8LDsMvnCMy3uZeJGSLUhWC
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************XhDyg8YSGlKAU28f1wATsMyuu
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************cDtKPZfxc7pfhZY4MmkQrKlE9
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************7FjlGm7L4FCuHzmeVsjrIAKsh
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 429 Too Many Requests"
ERROR:app.tts_common.services.speech:A 429 status code was received; we should back off a bit.
INFO:app.tts_common.crud.crud_openai_api_key:set_usable_at: sess-FW2P2scuijAmrxH7FjlGm7L4FCuHzmeVsjrIAKsh - gpt-3.5 - 2024-03-17 10:19:05.944773
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************GwW8LDsMvnCMy3uZeJGSLUhWC
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************XhDyg8YSGlKAU28f1wATsMyuu
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************cDtKPZfxc7pfhZY4MmkQrKlE9
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************RvUyZqcTYdtm40o2syV5edwj0
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************GwW8LDsMvnCMy3uZeJGSLUhWC
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************XhDyg8YSGlKAU28f1wATsMyuu
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 429 Too Many Requests"
ERROR:app.tts_common.services.speech:A 429 status code was received; we should back off a bit.
INFO:app.tts_common.crud.crud_openai_api_key:set_usable_at: sess-JWYHDJRohvxarjbGwW8LDsMvnCMy3uZeJGSLUhWC - gpt-3.5 - 2024-03-17 10:19:11.263302
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************cDtKPZfxc7pfhZY4MmkQrKlE9
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 429 Too Many Requests"
ERROR:app.tts_common.services.speech:A 429 status code was received; we should back off a bit.
INFO:app.tts_common.crud.crud_openai_api_key:set_usable_at: sess-zy8pxHqGHFZ2K9uXhDyg8YSGlKAU28f1wATsMyuu - gpt-3.5 - 2024-03-17 10:19:11.364601
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 429 Too Many Requests"
ERROR:app.tts_common.services.speech:A 429 status code was received; we should back off a bit.
INFO:app.tts_common.crud.crud_openai_api_key:set_usable_at: sess-3qlGAQsdYugq2zNcDtKPZfxc7pfhZY4MmkQrKlE9 - gpt-3.5 - 2024-03-17 10:19:11.516972
INFO:app.tts_common.helpers.translator_helper:get_boss_key response
INFO:app.tts_common.helpers.translator_helper:<Response [200]>
INFO:app.tts_common.helpers.translator_helper:https://iv0fyyh85j.execute-api.eu-central-1.amazonaws.com/prod/oakey/boss/f6e5740d-099c-4084-a454-bb339b407128
INFO:app.tts_common.helpers.translator_helper:{'success': True, 'api_key': 'sk-xzXro7PxD2MpQzw44b6329C566F24e129cBeBb05A99fDb1c', 'partitionKey': 'bossKey', 'created_at': '2023-08-01 11:02:34', 'id': 2, 'base_url': 'https://aihubmix.com/v1'}
INFO:app.tts_common.services.speech:Using boss key in request_text_openai_by_piece
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************b6329C566F24e129cBeBb05A99fDb1c
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 401 Unauthorized"
ERROR:app.tts_common.services.speech:The API key is invalid
ERROR:app.tts_common.services.speech:Error code: 401 - {'error': {'message': 'Incorrect API key provided: sk-xzXro***************************************Db1c. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}
INFO:app.tts_common.crud.crud_openai_api_key:deactivate_api_key: sk-xzXro7PxD2MpQzw44b6329C566F24e129cBeBb05A99fDb1c - gpt-3.5
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************DweNjNhcSwfk9gNeKaMyfeRn6
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************pBupNQ9THb4usE0znRNORS17a
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************ePhQxPLDyOITUdktWAc2zCAIS
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 400 Bad Request"
ERROR:app.tts_common.services.speech:Another non-200-range status code was received
ERROR:app.tts_common.services.speech:400
ERROR:app.tts_common.services.speech:<Response [400 Bad Request]>
INFO:app.tts_common.helpers.tts_history_helper:add_percent_complete: 5b4585d6-e447-11ee-81ee-92628558f805 - 62%
INFO:[CRUD History]:add_percent_complete: 5b4585d6-e447-11ee-81ee-92628558f805 - 62%
INFO:app.tts_common.services.speech:Parent process: Process-6 END
complete_count 4
total_pieces 8
INFO:app.tts_common.helpers.translator_helper:get_boss_key response
INFO:app.tts_common.helpers.translator_helper:<Response [200]>
INFO:app.tts_common.helpers.translator_helper:https://iv0fyyh85j.execute-api.eu-central-1.amazonaws.com/prod/oakey/boss/f6e5740d-099c-4084-a454-bb339b407128
INFO:app.tts_common.helpers.translator_helper:{'success': True, 'api_key': 'sk-xzXro7PxD2MpQzw44b6329C566F24e129cBeBb05A99fDb1c', 'partitionKey': 'bossKey', 'created_at': '2023-08-01 11:02:34', 'id': 2, 'base_url': 'https://aihubmix.com/v1'}
INFO:app.tts_common.services.speech:Using boss key in request_text_openai_by_piece
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************b6329C566F24e129cBeBb05A99fDb1c
INFO:app.tts_common.helpers.translator_helper:get_boss_key response
INFO:app.tts_common.helpers.translator_helper:<Response [200]>
INFO:app.tts_common.helpers.translator_helper:https://iv0fyyh85j.execute-api.eu-central-1.amazonaws.com/prod/oakey/boss/f6e5740d-099c-4084-a454-bb339b407128
INFO:app.tts_common.helpers.translator_helper:{'success': True, 'api_key': 'sk-xzXro7PxD2MpQzw44b6329C566F24e129cBeBb05A99fDb1c', 'partitionKey': 'bossKey', 'created_at': '2023-08-01 11:02:34', 'id': 2, 'base_url': 'https://aihubmix.com/v1'}
INFO:app.tts_common.services.speech:Using boss key in request_text_openai_by_piece
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************b6329C566F24e129cBeBb05A99fDb1c
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 401 Unauthorized"
ERROR:app.tts_common.services.speech:The API key is invalid
ERROR:app.tts_common.services.speech:Error code: 401 - {'error': {'message': 'Incorrect API key provided: sk-xzXro***************************************Db1c. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}
INFO:app.tts_common.crud.crud_openai_api_key:deactivate_api_key: sk-xzXro7PxD2MpQzw44b6329C566F24e129cBeBb05A99fDb1c - gpt-3.5
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 401 Unauthorized"
ERROR:app.tts_common.services.speech:The API key is invalid
ERROR:app.tts_common.services.speech:Error code: 401 - {'error': {'message': 'Incorrect API key provided: sk-xzXro***************************************Db1c. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}
INFO:app.tts_common.crud.crud_openai_api_key:deactivate_api_key: sk-xzXro7PxD2MpQzw44b6329C566F24e129cBeBb05A99fDb1c - gpt-3.5
INFO:app.tts_common.helpers.translator_helper:get_boss_key response
INFO:app.tts_common.helpers.translator_helper:<Response [200]>
INFO:app.tts_common.helpers.translator_helper:https://iv0fyyh85j.execute-api.eu-central-1.amazonaws.com/prod/oakey/boss/f6e5740d-099c-4084-a454-bb339b407128
INFO:app.tts_common.helpers.translator_helper:{'success': True, 'api_key': 'sk-xzXro7PxD2MpQzw44b6329C566F24e129cBeBb05A99fDb1c', 'partitionKey': 'bossKey', 'created_at': '2023-08-01 11:02:34', 'id': 2, 'base_url': 'https://aihubmix.com/v1'}
INFO:app.tts_common.services.speech:Using boss key in request_text_openai_by_piece
INFO:app.tts_common.services.speech:Requesting openAI with key: ********************b6329C566F24e129cBeBb05A99fDb1c
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/speech "HTTP/1.1 401 Unauthorized"
ERROR:app.tts_common.services.speech:The API key is invalid
ERROR:app.tts_common.services.speech:Error code: 401 - {'error': {'message': 'Incorrect API key provided: sk-xzXro***************************************Db1c. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}
INFO:app.tts_common.crud.crud_openai_api_key:deactivate_api_key: sk-xzXro7PxD2MpQzw44b6329C566F24e129cBeBb05A99fDb1c - gpt-3.5
INFO:app.tts_common.helpers.tts_history_helper:add_percent_complete: 5b4585d6-e447-11ee-81ee-92628558f805 - 75%
INFO:[CRUD History]:add_percent_complete: 5b4585d6-e447-11ee-81ee-92628558f805 - 75%
INFO:app.tts_common.services.speech:Parent process: Process-7 END
complete_count 5
total_pieces 8
INFO:app.tts_common.helpers.tts_history_helper:add_percent_complete: 5b4585d6-e447-11ee-81ee-92628558f805 - 87%
INFO:[CRUD History]:add_percent_complete: 5b4585d6-e447-11ee-81ee-92628558f805 - 87%
INFO:app.tts_common.services.speech:Parent process: Process-9 END
complete_count 6
total_pieces 8
INFO:app.tts_common.helpers.tts_history_helper:add_percent_complete: 5b4585d6-e447-11ee-81ee-92628558f805 - 100%
INFO:[CRUD History]:add_percent_complete: 5b4585d6-e447-11ee-81ee-92628558f805 - 100%
INFO:app.tts_common.services.speech:Parent process: Process-8 END
complete_count 7
total_pieces 8
INFO:Job: convert_and_send_result 5b4585d6-e447-11ee-81ee-92628558f805:join file tmp/contabo_uploaded/284/20240317_101555_545936/0-123.mp3
ERROR:__main__:Convert and send result failed
ERROR:__main__:[Errno 2] No such file or directory: 'tmp/contabo_uploaded/284/20240317_101555_545936/1-123.mp3'
Traceback (most recent call last):
File "/app/worker.py", line 153, in main
convert_result = await convert_and_send_result(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/app/tts_common/jobs/convert_and_send_result.py", line 151, in convert_and_send_result
audio = AudioSegment.from_mp3(file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pydub/audio_segment.py", line 796, in from_mp3
return cls.from_file(file, 'mp3', parameters=parameters)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pydub/audio_segment.py", line 651, in from_file
file, close_file = _fd_or_path_or_tempfile(file, 'rb', tempfile=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pydub/utils.py", line 60, in _fd_or_path_or_tempfile
fd = open(fd, mode=mode)
^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'tmp/contabo_uploaded/284/20240317_101555_545936/1-123.mp3'
ERROR:__main__:Traceback (most recent call last):
File "/app/worker.py", line 153, in main
convert_result = await convert_and_send_result(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/app/tts_common/jobs/convert_and_send_result.py", line 151, in convert_and_send_result
audio = AudioSegment.from_mp3(file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pydub/audio_segment.py", line 796, in from_mp3
return cls.from_file(file, 'mp3', parameters=parameters)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pydub/audio_segment.py", line 651, in from_file
file, close_file = _fd_or_path_or_tempfile(file, 'rb', tempfile=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pydub/utils.py", line 60, in _fd_or_path_or_tempfile
fd = open(fd, mode=mode)
^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'tmp/contabo_uploaded/284/20240317_101555_545936/1-123.mp3'
Traceback (most recent call last):
File "/app/worker.py", line 153, in main
convert_result = await convert_and_send_result(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/app/tts_common/jobs/convert_and_send_result.py", line 151, in convert_and_send_result
audio = AudioSegment.from_mp3(file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pydub/audio_segment.py", line 796, in from_mp3
return cls.from_file(file, 'mp3', parameters=parameters)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pydub/audio_segment.py", line 651, in from_file
file, close_file = _fd_or_path_or_tempfile(file, 'rb', tempfile=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pydub/utils.py", line 60, in _fd_or_path_or_tempfile
fd = open(fd, mode=mode)
^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'tmp/contabo_uploaded/284/20240317_101555_545936/1-123.mp3'
ERROR:__main__:5b4585d6-e447-11ee-81ee-92628558f805
Traceback (most recent call last):
File "/app/worker.py", line 153, in main
convert_result = await convert_and_send_result(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/app/tts_common/jobs/convert_and_send_result.py", line 151, in convert_and_send_result
audio = AudioSegment.from_mp3(file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pydub/audio_segment.py", line 796, in from_mp3
return cls.from_file(file, 'mp3', parameters=parameters)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pydub/audio_segment.py", line 651, in from_file
file, close_file = _fd_or_path_or_tempfile(file, 'rb', tempfile=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pydub/utils.py", line 60, in _fd_or_path_or_tempfile
fd = open(fd, mode=mode)
^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'tmp/contabo_uploaded/284/20240317_101555_545936/1-123.mp3'
INFO:app.tts_common.helpers.email_helper:Send translated file failed notice email
INFO:app.tts_common.helpers.email_helper:sent to message to kafka topic: tts-emails-prod
INFO:Firebase client:Add notification to firebase START
INFO:Firebase client:Add notification to firebase END
INFO:__main__:Recalculate user locked credit
INFO:__main__:Convert and send result END
results save text pieces to files prepare to join audios
Produced event to topic tts-emails-prod: value = {"function": "send_translated_file_failed_notice", "email_to": "nvtuan010691@gmail.com", "recipient_name": "Nguy\u1ec5n Tu\u1ea5n", "file_name": "123.docx"}
(2-2/6)