AndreyAkinshin / Russian-Phd-LaTeX-Dissertation-Template

LaTeX-template for russian Phd thesis
Creative Commons Attribution 4.0 International
1.33k stars 671 forks source link

Как исправить? AssertionError: Value must be a string #409

Closed Ourobor0s3 closed 4 years ago

Ourobor0s3 commented 4 years ago

2020-04-02 18:28:54,125 (util.py:65 WorkerThread1) ERROR - TeleBot: "AssertionError occurred, args=('Value must be a string',) Traceback (most recent call last): File "C:\Users\Михаил\AppData\Local\Programs\Python\Python37-32\lib\site-packages\telebot\util.py", line 59, in run task(*args, *kwargs) File "D:\Python\bot.py", line 37, in lalala weather = otvet(place) File "D:\Python\config.py", line 10, in otvet observation = owm.weather_at_place(place) File "C:\Users\Михаил\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyowm\weatherapi25\owm25.py", line 224, in weather_at_place assert isinstance(name, str), "Value must be a string" AssertionError: Value must be a string " Traceback (most recent call last): File "D:\Python\bot.py", line 54, in bot.polling(none_stop=True) File "C:\Users\Михаил\AppData\Local\Programs\Python\Python37-32\lib\site-packages\telebot__init.py", line 389, in polling self.threaded_polling(none_stop, interval, timeout) File "C:\Users\Михаил\AppData\Local\Programs\Python\Python37-32\lib\site-packages\telebot__init.py", line 413, in threaded_polling self.worker_pool.raise_exceptions() File "C:\Users\Михаил\AppData\Local\Programs\Python\Python37-32\lib\site-packages\telebot\util.py", line 108, in raise_exceptions six.reraise(self.exc_info[0], self.exc_info[1], self.exc_info[2]) File "C:\Users\Михаил\AppData\Local\Programs\Python\Python37-32\lib\site-packages\six.py", line 693, in reraise raise value File "C:\Users\Михаил\AppData\Local\Programs\Python\Python37-32\lib\site-packages\telebot\util.py", line 59, in run task(args, **kwargs) File "D:\Python\bot.py", line 37, in lalala weather = otvet(place) File "D:\Python\config.py", line 10, in otvet observation = owm.weather_at_place(place) File "C:\Users\Михаил\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyowm\weatherapi25\owm25.py", line 224, in weather_at_place assert isinstance(name, str), "Value must be a string" AssertionError: Value must be a string

Lenchik commented 4 years ago

Какой-то вопрос по питону и вообще другому проекту, похоже