Platitude

Untitled

May 2nd, 2020
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.19 KB | None | 0 0
  1. Traceback (most recent call last):
  2.   File "howToStudy-env3.7/webhook.py", line 64, in <module>
  3.     app = get_new_configured_app(dispatcher=dp, path=WEBHOOK_URL)
  4.   File "/root/howToStudy-env3.7/lib/python3.7/site-packages/aiogram/dispatcher/webhook.py", line 306, in get_new_configured_app
  5.     configure_app(dispatcher, app, path)
  6.   File "/root/howToStudy-env3.7/lib/python3.7/site-packages/aiogram/dispatcher/webhook.py", line 293, in configure_app
  7.     app.router.add_route('*', path, WebhookRequestHandler, name=route_name)
  8.   File "/root/howToStudy-env3.7/lib/python3.7/site-packages/aiohttp/web_urldispatcher.py", line 1034, in add_route
  9.     resource = self.add_resource(path, name=name)
  10.   File "/root/howToStudy-env3.7/lib/python3.7/site-packages/aiohttp/web_urldispatcher.py", line 1014, in add_resource
  11.     raise ValueError("path should be started with / or be empty")
  12. ValueError: path should be started with / or be empty
  13. Exception ignored in: <function BaseBot.__del__ at 0x7f394bc37400>
  14. Traceback (most recent call last):
  15.   File "/root/howToStudy-env3.7/lib/python3.7/site-packages/aiogram/bot/base.py", line 109, in __del__
  16.   File "/usr/local/lib/python3.7/asyncio/events.py", line 762, in new_event_loop
  17.   File "/usr/local/lib/python3.7/asyncio/events.py", line 660, in new_event_loop
  18.   File "/usr/local/lib/python3.7/asyncio/unix_events.py", line 51, in __init__
  19.   File "/usr/local/lib/python3.7/asyncio/selector_events.py", line 49, in __init__
  20.   File "/usr/local/lib/python3.7/asyncio/base_events.py", line 373, in __init__
  21.   File "/usr/local/lib/python3.7/asyncio/coroutines.py", line 28, in _is_debug_mode
  22. AttributeError: 'NoneType' object has no attribute 'dev_mode'
  23. Exception ignored in: <function BaseEventLoop.__del__ at 0x7f394f4a12f0>
  24. Traceback (most recent call last):
  25.   File "/usr/local/lib/python3.7/asyncio/base_events.py", line 622, in __del__
  26.   File "/usr/local/lib/python3.7/asyncio/base_events.py", line 390, in __repr__
  27.   File "/usr/local/lib/python3.7/asyncio/base_events.py", line 1794, in get_debug
  28. AttributeError: '_UnixSelectorEventLoop' object has no attribute '_debug'
  29. ERROR:asyncio:Unclosed client session
  30. client_session: <aiohttp.client.ClientSession object at 0x7f394bac6860>
Add Comment
Please, Sign In to add comment