Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Dev

[mythtv-commits] Ticket #7313: mythfilldatabase doesn't notice errors downloading data

 

 

MythTV dev RSS feed   Index | Next | Previous | View Threaded


f-myth-users at media

Oct 12, 2009, 6:41 PM

Post #1 of 1 (382 views)
Permalink
[mythtv-commits] Ticket #7313: mythfilldatabase doesn't notice errors downloading data

> Date: Mon, 12 Oct 2009 23:30:29 -0000
> From: "MythTV" <mythtv [at] cvs>

> If the data download fails partway through, mythfilldatabase doesn't
> notice, since it got some data, happily trashes your schedule. Notice the
> gzip failure.

Yes indeedy, as I noticed a while back when I had a period of
-extremely- poor connectivity for about a month. I didn't bother
to bugreport it because I assumed newer versions of Myth caught
such errors.

FWIW, my approach (since I download the data using tv_grab_na_dd,
save it to enable retrospective debugging, massage it a bit, and
-then- hand it to mfdb (rather than letting mfdb handle things from
start to finish) was to make sure that the file contained the string
"</SOAP-ENV:Envelope>" before handing it to mfdb. (I actually
separately flagged (a) nonexistent file, (b) empty file, and (c)
didn't contain the above string, but those were more to debug various
network issues than anything else---a single check for that string
would subsume the other two, of course.)

It seems to me that a similar check should be easy to incorporate
into mfdb itself, assuming that that's the correct (general) solution.
But it worked fine for me, since every file I've ever downloaded from
SD has that as its last line.
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

MythTV dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.