Warning message from Medusa re Python 2.x Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
bluesmoke
Posts: 14
Joined: Sun Feb 19, 2017 5:43 pm

Warning message from Medusa re Python 2.x

Post by bluesmoke »

I've been running Medusa for some time on DietPi on an old Pi 2 - it's slow but works!

I'm seeing this in the log file as a warning message :

2020-10-28 11:43:43 WARNING MAIN :: [b352bb6] As of October 1st 2020 Medusa will not run on Python 2.x any longer.
Python 2.x has passed its sunset date as you can read here: https://tinyurl.com/y4zwbawq
Please upgrade your Python version to 3.6 or higher as soon as possible!


So I'm posting this as either a question or a heads-up : Is there something I need to do or should have done or have done wrongly? If so, what should I do next?

Or is it a Dietpi thing that needs updating for the next release?

Thanks
User avatar
Joulinar
Posts: 2572
Joined: Sat Nov 16, 2019 12:49 am

Re: Warning message from Medusa re Python 2.x

Post by Joulinar »

Hi,

many thanks for your message. You don't have done anything wrong. Python2 has been used in the past to setup thinks like Medusa. Due to EOL of Python2, this has been changed and on new installations Python3 will be used. However this will not update already running installations.

Means in your case 3 options to move ahead
  1. continue running with Python2, even if it is EOL
  2. perform a complet new installation, save your data, remove Medusa and Python2 (if not used on other installations) and perform a clean new installation
  3. install Python3 only and reconfigure Medusa service to run with Python3
In any case, for option 2 and 3 its recommended to perform a dietpi-backup before
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
bluesmoke
Posts: 14
Joined: Sun Feb 19, 2017 5:43 pm

Re: Warning message from Medusa re Python 2.x

Post by bluesmoke »

Thank you. I will probably make a fresh install, since the Medusa setup isn't complicated and only tracks a few TV shows, I can easily add them again.
User avatar
MichaIng
Site Admin
Posts: 2422
Joined: Sat Nov 18, 2017 6:21 pm

Re: Warning message from Medusa re Python 2.x

Post by MichaIng »

Yes that's best. Python 3 support for Medusa has been added quite recently so installing Python 3 and changing the systemd service alone might not be sufficient.
Post Reply