Page 1 of 1

Mylar Windows 10, Python 2.7.9

Posted: Sat Sep 22, 2018 8:19 pm
by Zefrem23
Hi! :) Mylar is searching and downloading fine, however post-processing is not working. I've set up SABnzbd as follows:

Image

And my Mylar is set up with the same category like so:

Image

However post-processing is not working as expected. Mylar and SABnzbd are communicating, but this error shows up in SABnzbd as soon as a comic has finished downloading:

File "C:\Program Files\SABnzbd\scripts\ComicRN.py", line 19
print "No folder supplied - is this being called from SABnzbd or NZBGet?"
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(int "No folder supplied - is this being called from SABnzbd or NZBGet?")?

Image

Can anyone see if I'm going wrong somewhere? I'm so close to get it all working, I'd hate to stumble at the last hurdle.

Thanks in advance!

Re: Mylar Windows 10, Python 2.7.9

Posted: Mon Sep 24, 2018 1:24 am
by evilhero
Given that you're running Windows, it's probably one of two things (or even both I suppose) :

- your python executable for python 2.7 is not in your windows environment path. You might have a python in your environment path, but based on that error it's possible its using python 3 which will not work.
- you don't have an actual folder stated for your comics category within sabnzbd. Now I'm not 100% sure if this is related or not, but mylar is usually passed the folder information from sabnzbd when running comicrn, so it's possible it's empty and causing an error somewhere.

However, if I were to bet, my money would be on the 1st option being the cause of it since the error being thrown back is a python 3 syntax error (3 requires brackets around print statements, 2 does not).