E-Mail script stops after and Python 3 upgrade.

Get help, report and discuss bugs.
Post Reply
cbaksa
Posts: 4
Joined: 23 Jun 2015, 20:34

E-Mail script stops after and Python 3 upgrade.

Post by cbaksa » 18 Jan 2022, 22:36

I had to upgrade my system from Python 2.9 to Python 3.10. I was dreading the upgrade.
With that update, all my NZBGET post processing e-mails have stopped.

I see tons of warnings that would happen but I have yet to find a single thread with a fix.

I'm running nzbGet 21.2-r2333 and Python 3.10 on Windows Server 2019.

Can anyone point to me to a doc or tell me what I need to to to get my E-Mails to work again?

Thank you.

Chris

greg4168
Posts: 20
Joined: 28 Jun 2017, 13:35

Re: E-Mail script stops after and Python 3 upgrade.

Post by greg4168 » 12 Feb 2022, 14:17

Same here but for email and logger scripts after uninstalling Python 2 and installing 3. Would love to see a solution. Using 21.2-r2333 for Windows. Thanks.

Update: was able to get it running again by reinstalling Python 2, so having both installed works. Still curious if there's a 3.0 compatible version so I don't need to have 2 installed.

sanderj
Posts: 182
Joined: 10 Feb 2014, 21:46

Re: E-Mail script stops after and Python 3 upgrade.

Post by sanderj » 12 Feb 2022, 18:16

greg4168 wrote:
12 Feb 2022, 14:17
Same here but for email and logger scripts after uninstalling Python 2 and installing 3. Would love to see a solution. Using 21.2-r2333 for Windows. Thanks.

Update: was able to get it running again by reinstalling Python 2, so having both installed works. Still curious if there's a 3.0 compatible version so I don't need to have 2 installed.
Are you talking about EMail.py?

I had a look at it ( https://github.com/nzbget/nzbget/blob/d ... s/EMail.py ), and it looks Python3 compliant ... except for this first line:

Code: Select all

#!/usr/bin/env python
sould be

Code: Select all

#!/usr/bin/env python3
But that is probably unrelevant for Windows users.

Anyway: I expect you can run Email.py with python3

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests