e-mail template creates weird error-report

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: e-mail template creates weird error-report

Post by shypike »

Thank you.
ReinholD
Newbie
Newbie
Posts: 10
Joined: March 7th, 2011, 8:40 am

Re: e-mail template creates weird error-report

Post by ReinholD »

Hmm.. I have a problem..

I noticed the tv e-mails stopped working the other day.. I checked the folders, and discovered that the emailer.pyc had been re-added. It seems like it is re-added every time SAB is restarted.. I can fix this temporarily, by just not restarting SAB..

But is there another fix?
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: e-mail template creates weird error-report

Post by shypike »

It's normal that Python re-creates the PYC files, that's just the byte code file.
Do you claim that the *old* PYC file comes back?
Isn't the patched PY file somehow overwritten?
ReinholD
Newbie
Newbie
Posts: 10
Joined: March 7th, 2011, 8:40 am

Re: e-mail template creates weird error-report

Post by ReinholD »

shypike wrote: It's normal that Python re-creates the PYC files, that's just the byte code file.
Do you claim that the *old* PYC file comes back?
Isn't the patched PY file somehow overwritten?
Well, I've figured it out, but it raises more questions that it answers.

the patched PY haven't been overwritten.

I ran the following test:

I tested, by manually downloading a random small nzb from nzbmatrix, and editting the category to tv.
- I received an e-mail.

I restarted SAB, and checked that both the patched PY and the PYC files were there.
- They were, everything fine.

I instructed SickBeard to snatch a random tv epsiode I was missing.
- It downloaded fine, but I didn't receive an e-mail.

I immediately did the same as in the beginning: downloaded a random file and setting the category to tv.
- again I DID receive an e-mail.


Obviously the problem only occurs when the nzb is added by SickBeard, which also explained why it worked fine in the beginning. Back then, I was testing with manual downloads.
But I don't see any difference between "my" nzbs and SickBeard's nzbs. both are categorised as "tv", and both are running the same post-processing afterwards (sabToSickBeard.py).

I know for a fact, that SickBeard nzbs was doing e-mails fine, before i started this multiple email thing..

I've attached the log-file, if it helps. I've removed all the "cache removed" lines..
Post Reply