Warnings in dev environment (windows)

As I work on a plugin, I have been seeing a lot of these messages in the terminal and in the log. I have not really investigated these other than to do a few quick searches related in the forums. Nothing of note came up.

Just wanted to ask if these are normal right now or should I try to find out what the cause of them is and correct it in my development setup?

2023-02-15 08:53:05,661 - py.warnings - WARNING - d:\<..>\octoprint\venv\lib\site-packages\tornado\ioloop.py:265: DeprecationWarning: There is no current event loop
  loop = asyncio.get_event_loop()

2023-02-15 08:53:05,724 - py.warnings - WARNING - d:\<..>\octoprint\venv\lib\site-packages\flask_login\utils.py:63: DeprecationWarning: 'safe_str_cmp' is deprecated and will be removed in Werkzeug 2.1. Use 'hmac.compare_digest' instead.
  if safe_str_cmp(_cookie_digest(payload, key=key), digest):

Those are 'normal' from your perspective (not something you've caused), but they do need to be fixed in OctoPrint's core code. I have seen the same warnings as well.

1 Like