Hi,<div><br></div><div>I have this problem with user jobs that I have setup. I am using a python script post recording, scheduling via mythweb. What I am noticing is that about a third of the time the script does not run and it gives me an error in the logs. When i run the script again on the same recording where it failed (by selecting it to run manually in mythweb) it then works correctly. I've tried number of simultaneous jobs allowed to run from 1 to 10 with cpu low to high and it doesnt seem to make much difference.</div>
<div><br></div><div>Here is a sample from the logs when the script fails to run on its own: - Anybody know of a possible fix?</div><div><br></div><div><p class="MsoPlainText"><span style="font-family:"Courier New"">012-04-10
17:02:47.966 jobqueue: Job "SUB2SRT" Started: Started SUB2SRT for
"The Great British Taste Tour":Windermere recorded from channel 11060
at 2012-04-10T16:01:01<br>
%m-%d_%H-%i-%s_"Sky News"_"%T"<br>
2012-04-10 17:03:10.814 Python Backend Connection: Unexpected answer to
ANN<br>
2012-04-10 17:03:11.039 JobQueue: Finished SUB2SRT for "Sky News"
recorded from channel 5706 at 2012-04-10T16:35:00<br>
Traceback (most recent call last):<br>
2012-04-10 17:03:11.921 jobqueue: Job "SUB2SRT" Finished: Finished
SUB2SRT for "Sky News" recorded from channel 5706 at
2012-04-10T16:35:00<br>
File
"/home/dave/uksub2srt/ssrt.py", line 13, in <module><br>
be = MythBE()<br>
File
"/usr/lib/pymodules/python2.7/MythTV/mythproto.py", line 136, in
__init__<br>
BECache.__init__(self, backend,
db=db, opts=opts)<br>
File
"/usr/lib/pymodules/python2.7/MythTV/mythproto.py", line 114, in
__init__<br>
self.db.gethostname(),
self.opts)<br>
File
"/usr/lib/pymodules/python2.7/MythTV/connections.py", line 301, in
__init__<br>
self.connect()<br>
File "/usr/lib/pymodules/python2.7/MythTV/connections.py",
line 324, in connect<br>
self.announce()<br>
File
"/usr/lib/pymodules/python2.7/MythTV/connections.py", line 362, in
announce<br>
self.host, self.port, res)<br>
MythTV.exceptions.MythBEError: Unexpected response to ANN on <a href="http://192.168.0.5:6543">192.168.0.5:6543</a>
-<br>
2012-04-10 17:03:20.050 JobQueue Error: User Job '/home/dave/uksub2srt/ssrt.py
11060 20120410160101 ' failed.<br>
2012-04-10 17:03:20.986 jobqueue: User Job Errored: User Job
'/home/dave/uksub2srt/ssrt.py 11060 20120410160101 ' failed.<br>
</span></p><p class="MsoPlainText"><font face="'Courier New'"><br></font></p></div>