[mythtv-users] mythfilldatabase: can't run it from cron
James Pattinson
jamesp at hisser.org
Mon Sep 19 14:33:46 UTC 2005
Nice one, that seems to work so far - but
http://xmltv.radiotimes.com/xmltv/channels.dat is 404'ing for me now!
I'm sure it was working a few days ago when I last grabbed. Anyone
confirm it's working for them at the moment?
Thanks
james
Paul Wheeler wrote:
> I had this same problem, using -quiet solves it.
>
> Paul
>
> On 9/19/05, *Nick* <knowledgejunkie at gmail.com
> <mailto:knowledgejunkie at gmail.com>> wrote:
>
> On 19/09/05, James Pattinson <jamesp at hisser.org
> <mailto:jamesp at hisser.org>> wrote:
> > Hi All
> >
> > I'm in the UK and mythfilldatabase works fine when I run it
> manually,
> > however if it's run from cron I get this error:
> >
> > 2005-09-19 13:31:02.190 New DB connection, total: 1
> > 2005-09-19 13:31:02.201 New DB connection, total: 2
> > 2005-09-19 13:31:02.202 mythfilldatabase: Listings Download Started
> > ----------------- Start of XMLTV output -----------------
> > 2005-09-19 13:31:02.249 New DB connection, total: 3
> > All data is the copyright of the Radio Times website
> > <http://www.radiotimes.com> and the use of this data is
> restricted to
> > personal use only.
> >
> > term_width must be at least 5 at lib/Class/MethodMaker.pm
> (autosplit into
> > blib/lib/auto/Class/MethodMaker/new_hash_init.al) line 339
> > ------------------ End of XMLTV output ------------------
> > Error in 1:1: unexpected end of file
> >
> > I can't see any options to mythfilldatabase that would help -
> can any
> > suggest a fix for this?
>
> I run the uk_rt grabber from cron with any problems (grabber version
> 1.77 I think , MythTV 0.18.1). Here is a snippet of my script:
>
> #---------------------------------------------
> {
> perl /usr/bin/tv_grab_uk_rt --config-file
> /home/mythtv/.mythtv/analogue.xmltv --output
> /home/mythtv/.mythtv/analogue.xml --quiet
> /usr/bin/mythfilldatabase --file 2 -1
> /home/mythtv/.mythtv/analogue.xml
>
> sleep 5
> rm -f /home/mythtv/.mythtv/analogue.xml
>
> } >/dev/null 2>&1
> #---------------------------------------------
>
> I send all output to /dev/null and run the grabber with the quiet
> option. Maybe this will help you.
>
> Nick
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org <mailto:mythtv-users at mythtv.org>
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>mythtv-users mailing list
>mythtv-users at mythtv.org
>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
More information about the mythtv-users
mailing list