e-mail template creates weird error-report
Forum rules
Help us help you:
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.
Re: e-mail template creates weird error-report
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?
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?
Re: e-mail template creates weird error-report
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?
Do you claim that the *old* PYC file comes back?
Isn't the patched PY file somehow overwritten?
Re: e-mail template creates weird error-report
Well, I've figured it out, but it raises more questions that it answers.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?
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..

