[mythtv-users] xmltv-proc-nz fails when run from user crontab

David Watkins watkinshome at gmail.com
Tue May 4 12:27:01 UTC 2010


On 4 May 2010 02:31, Stephen Worthington <stephen_agent at jsw.gen.nz> wrote:
> I have been running my EPG script manually (from user stephen) while I
> tweaked it, and it was working fine.  Now, when I am trying to run it
> from user stephen's crontab, xmltv-proc-nz (0.5.6) is failing:
>
> Running xmltv-proc-nz on the Freeview data
> Movies: TMDB module not found.
> Traceback (most recent call last):
>  File "/usr/local/bin/xmltv-proc-nz", line 551, in <module>
>    tree = ElementTree.XML(data)
>  File "<string>", line 86, in XML
> SyntaxError: no element found: line 1, column 0
> xmltv-proc-nz failed, rc = 1
>
> The line in the script that runs xmltv-proc-nz is this:
>
> /usr/local/bin/xmltv-proc-nz freeview.xml >temp.xml

possibly it can't find the file freeview.xml

try specifying the full path, or alternatively have something like

USER="mythtv"
HOME="/home/mythtv"

at the top of your script


More information about the mythtv-users mailing list