Advertisement
Guest User

Untitled

a guest
Jan 25th, 2020
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. python3 bot.py
  2. None
  3. 2020-01-25 23:47:43,712 (util.py:66 WorkerThread1) ERROR - TeleBot: "NameError occurred, args=("name 'm' is not defined",)
  4. Traceback (most recent call last):
  5. File "/usr/local/lib/python3.7/dist-packages/telebot/util.py", line 60, in run
  6. task(*args, **kwargs)
  7. File "bot.py", line 38, in sen_text
  8. if "t.me/" in m.text:
  9. NameError: name 'm' is not defined
  10. "
  11. Traceback (most recent call last):
  12. File "bot.py", line 41, in <module>
  13. bot.polling()
  14. File "/usr/local/lib/python3.7/dist-packages/telebot/__init__.py", line 392, in polling
  15. self.__threaded_polling(none_stop, interval, timeout)
  16. File "/usr/local/lib/python3.7/dist-packages/telebot/__init__.py", line 416, in __threaded_polling
  17. self.worker_pool.raise_exceptions()
  18. File "/usr/local/lib/python3.7/dist-packages/telebot/util.py", line 109, in raise_exceptions
  19. six.reraise(self.exc_info[0], self.exc_info[1], self.exc_info[2])
  20. File "/usr/lib/python3/dist-packages/six.py", line 693, in reraise
  21. raise value
  22. File "/usr/local/lib/python3.7/dist-packages/telebot/util.py", line 60, in run
  23. task(*args, **kwargs)
  24. File "bot.py", line 38, in sen_text
  25. if "t.me/" in m.text:
  26. NameError: name 'm' is not defined
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement