ekonda / sketal

Бот для ВКонтакте. Беседы / группы / развлечения.
MIT License
119 stars 64 forks source link

Перестал работать "скажи" #49

Closed Volcharka closed 7 years ago

Volcharka commented 7 years ago

Ошибка:

←[35m15:41:33←[0m - ←[31mERROR←[0m - ←[39mПроизошла ошибка при вызове команды 'скажи' с аргументами ['лол']. Текст сообщения: '/скажи лол'.Ошибка:
Traceback (most recent call last):
  File "C:\Users\Administrator\Desktop\test\VBot-master\command.py", line 54, in process_command
    await self.system.call_command(cmd_text, msg_obj, cmd.args)
  File "C:\Users\Administrator\Desktop\test\VBot-master\plugin_system.py", line 187, in call_command
    await command_function(*args, **kwargs)
  File "C:\Users\Administrator\Desktop\test\VBot-master\plugins\tts.py", line 39, in say_text_google
    await upload_voice(msg, audio_file)
  File "C:\Users\Administrator\Desktop\test\VBot-master\plugins\tts.py", line 101, in upload_voice
    file_url = await resp.json()
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\site-packages\aiohttp\client_reqrep.py", li
ne 688, in json
    headers=self.headers)
aiohttp.client_exceptions.ClientResponseError: 0, message='Attempt to decode JSON with unexpected mimetype: text/html'
Volcharka commented 7 years ago

Уже все нормально