mackworth / cTiVo

TiVo Show Downloads for MacOS
220 stars 36 forks source link

Download fails in Yosemite #70

Closed jimtaylor61 closed 9 years ago

mackworth commented 9 years ago

When you say "download fails", is that all of them, or just one or two? Can you provide a clip of the log?

On viewing, what format are they saved in?

jimtaylor61 commented 9 years ago

Please see attached for explanation of my problem. Does that help?

Jim Taylor

mackworth commented 9 years ago

Hi, unfortunately GitHub strips non-image attachments from posts. You'll need to post it somewhere else and include a link to it here.

mackworth commented 9 years ago

closed due to lack of response. Let me know if it's working, or if I can help.

jimtaylor61 commented 9 years ago

What do I look for (time?) to copy & paste 'a copy of the log'?

mackworth commented 9 years ago

Well, easiest is to post the screenshot and/or whole log file on another service, such as dropbox or other, and paste a link here. Unfortunately, it'll be hard for you to identify the section that you need to post, but yes, you could use time starting when you initiate the download to when it fails. In particular, you can search for "DL status" to see when it first gets set to 0 (ready to download) and then eventually gets set to zero again after it fails and is going to retry. You do need to set the Debug level up to Detail in Preferences in order to get enough information for me to isolate the issue.

jimtaylor61 commented 9 years ago

As we speak, cTiVo2 is downloading a HD network program @ ~1MBS, but has been downloading for ~2 hours (it has shown <20 seconds for approximately 10 minutes.

In the cTiVo Download Queue screen, the 2 'Failed' programs have icons in the 2nd Column (one is a red X & the other is a yellow circle with what looks like a ! in the middle of the circle. The one that is still downloading has a solid green icon in the 2nd column. Am I to interpret that only programs with a solid green circle are downloadable?

Thanks

Jim

Jim Taylor jim.taylor@wap.org

mackworth commented 9 years ago

The icons are documented in the wiki, or you can hover over them. Red x means that it's no longer available, aka deleted on the TiVo. Yellow exclamation means that it might be deleted soon, but is still available.

If you right click on the titlebar of the table, you can show the size column, which will let you know how long it should take. (Or hover over the title to get time for this one file)

At 1MBps you should be getting better than realtime (e.g. A 30 minute show in 20 minutes). Which options are you using? Which Format?

jimtaylor61 commented 9 years ago

It finally successfully downloaded; I selected H.264 High Quality, it saved as MPEG-4 movie.

I've tried Quicktime Pro, Real Player & VLC to 'play' the file, but to no avail.

Thoughts on which software will open such files?

Jim

Jim Taylor jim.taylor@wap.org

mackworth commented 9 years ago

An, that's why it was so slow. The HQ is very big; in fact, it's usually creating files with a higher resolution than the original, which is s complete waste. Try AppleTV; excellent quality, but much much faster and smaller.

On the other hand, both QT and VLC should read the file just fine. I've not tried that one in years, I should check one.

jimtaylor61 commented 9 years ago

How frustrating. I switched to using Apple TV format & have tried (unsuccessfully) to download 2 or 3 'green circle' programs and each time cTiVo2 ends up 'not responding'.

I ran Disk Utility and got an OK report.

Thoughts?

Jim Taylor jim.taylor@wap.org

mackworth commented 9 years ago

By 'not responding', I assume you mean that it no longer responds to any keyboard/mouse commands? Is the rainbow wheel spinning? Which version Mac OS are you running?

So, I really need to get the logs; do you have any place like Dropbox or other places you can post a big file? If so, just set the Debug level to Detail in Preferences, run a couple shows, use the Help>ShowDebugLogs command, Right-click on those to compress them into a zip file and post them.

jimtaylor61 commented 9 years ago
  1. As nothing happened (the program did not show up in the Download Queue) after I selected a program and selected Download, I keyed Command-Option-Esc and cTiVo2 listed as 'not responding'. I'm running Yosemite 10.10.1.
  2. Should I use Console to create the log?

Jim Taylor jim.taylor@wap.org

mackworth commented 9 years ago

ok, then I definitely need the log.

No, Console's fine for viewing a log (and is what will open if you double click one), but to create the log: 1) Go to cTiVo's Preferences (Cmd-Comma) 2) Change Log level (lower left of window) to Verbose (in this case) 2a) Use the Help>Show Logs to open the log folder in the finder (normally you'd do this when they're ready to go, but if it's going to crash, do it before-hand) 3) try the download for a show (as far as it will go) 4) When it freezes, use Cmd-Opt-Esc to close it, then in the Finder, right-click on the log file and use Compress to create a zip file to post. 5) When you next go into cTiVo, turn Logging to Major to avoid flooding your queue.

A couple of questions on the crash. Do you have any shows in the Download queue already (ie completed/failures)? If you wait until cTivo has fully loaded all the shows the Tivo has available before trying to start the download, does it still crash? Do you have any subscriptions yet (I assume not)?

ps (if you respond to these in email, please avoid quoting the original text; it makes reading the thread at the website very difficult).

jimtaylor61 commented 9 years ago

My wap.org mail server is down.

Following is the URL for the log (All messages.log.pdf) in my DropBox folder starting after I was unable to download a program using Apple TV as the format.

https://www.dropbox.com/s/k7r6vh3tijym5k7/All%20Messages.log.pdf?dl=0

Jim Taylor

Begin forwarded message:

From: Jim Taylor jim.taylor@wap.org Subject: Re: [cTiVo] Download fails in Yosemite (#70) Date: December 7, 2014 at 1:55:05 PM EST To: dscottbuch/cTiVo reply@reply.github.com

  1. As nothing happened (the program did not show up in the Download Queue) after I selected a program and selected Download, I keyed Command-Option-Esc and cTiVo2 listed as 'not responding'. I'm running Yosemite 10.10.1.
  2. Should I use Console to create the log?

Jim

On Dec 7, 2014, at 1:28 PM, Hugh Mackworth <notifications@github.com mailto:notifications@github.com> wrote:

By 'not responding', I assume you mean that it no longer responds to any keyboard/mouse commands? Is the rainbow wheel spinning? Which version Mac OS are you running?

So, I really need to get the logs; do you have any place like Dropbox or other places you can post a big file? If so, just set the Debug level to Detail in Preferences, run a couple shows, use the Help>ShowDebugLogs command, Right-click on those to compress them into a zip file and post them.

— Reply to this email directly or view it on GitHub https://github.com/dscottbuch/cTiVo/issues/70#issuecomment-65947540.

Jim Taylor jim.taylor@wap.org mailto:jim.taylor@wap.org

James F Taylor DVM, MS, DACLAM jamestaylordvm@comcast.net

jimtaylor61 commented 9 years ago

Jim used Dropbox to share a file with you!

Click here to view: https://www.dropbox.com/l/WsW9p1Nv6WLJpQPY7BEUzk?text=1

jimtaylor61 commented 9 years ago

Visit this link to view what they shared: https://www.dropbox.com/l/8kSgnKqXT7JUcX3RiiuGWg?text=1

mackworth commented 9 years ago

Hi, thanks for the logs. (Just curious; how did they get into PDF format?) You've got a couple of very strange things there, so I'd like to try resetting your preferences and see what happens. If you do, you'll lose your queue history, and will need to re-enter your MAK. Assuming that's ok, the steps are:

Cmd-Shift-G in the Finder, and Go to Folder ~/Library/Preferences then drag the com.cTiVo.cTiVo.plist file to the trash. Annoyingly, you then either have to restart your computer, OR run the Terminal program, and type in the following (I suggest cut/paste.) killall -u jftaylor cfprefsd This stops and restarts your preference caching.

Then start the program again, enter your MAK, and set the logs to Detail again, and exit/restart the program. When it's fully loaded all the shows and their episode numbers, then try again with a new download and see what happens.

jimtaylor61 commented 9 years ago

Jim used Dropbox to share a file with you!

Click here to view: https://www.dropbox.com/l/k9Z0wiGNkpSlrFuqFXUUlm?text=1

jimtaylor61 commented 9 years ago

Visit this link to view what they shared: https://www.dropbox.com/l/t5m2qiwWypFVJsmeu8agzm?text=1

mackworth commented 9 years ago

So I'm not quite clear where we are here. Your screen shot shows the two files completed. What's the status in general now?

jimtaylor61 commented 9 years ago

Visit this link to view what they shared: https://www.dropbox.com/l/A8bvDshWHEwucVJp0SOlvm?text=1

mackworth commented 9 years ago

ok, so I take it from the picture, that they're not working. Did you try the reset above? I need to get the recent logs and a description of what's happening?

jimtaylor61 commented 9 years ago

Visit this link to view what they shared: https://www.dropbox.com/l/SHTtg9NW9jzkRwcjMFRZ0h?text=1

jimtaylor61 commented 9 years ago

Jim used Dropbox to share a file with you!

Click here to view: https://www.dropbox.com/l/WC7Kw8rjpQKwnf9ThOZpjm?text=1

mackworth commented 9 years ago

Hi, that's only one of the files, and not the most recent one (ie it doesn't show any download failures, only the startup. Also, what do you see happening? Is it trying for a while, and then giving up? Have you tried the reset?

jimtaylor61 commented 9 years ago

Visit this link to view what they shared: https://www.dropbox.com/l/XWzpfGyZOhsrURABwd6luh?text=1

jimtaylor61 commented 9 years ago

Jim's message:

"This evening's log"

Click here to view: https://www.dropbox.com/l/9Ka4ScEv1rjRtsn37G4Khm?text=1

(Jim shared this file using Dropbox. Enjoy!)

mackworth commented 9 years ago

Ah, finally a clue..

.Downloaded file too small - rescheduling; File sent was

Server Busy

too many transfers in progress

So your tivo is complaining that it can't do a transfer. We're pretty careful about not overloading the ftp server inside the tivo, but it's pretty sensitive and can crash on its own sometimes, leading to this message. Have you tried rebooting the tivo to see if that helps?

jimtaylor61 commented 9 years ago

Will reboot TiVo & get back to you.

FYI - After I sent you the last file, I did reset (trashed cTiVo.plist file from Library/Preferences); restarted the iMac; but then retried to do another download with cTiVo2, but 4 times in a row cTiVo2 ended up 'cTiVo2 not responding). Maybe the TiVo reboot will fix that also.

Jim

On Dec 20, 2014, at 8:53 PM, Hugh Mackworth notifications@github.com wrote:

Ah, finally a clue..

.Downloaded file too small - rescheduling; File sent was Server Busy

too many transfers in progress So your tivo is complaining that it can't do a transfer. We're pretty careful about not overloading the ftp server inside the tivo, but it's pretty sensitive and can crash on its own sometimes, leading to this message. Have you tried rebooting the tivo to see if that helps?

— Reply to this email directly or view it on GitHub https://github.com/dscottbuch/cTiVo/issues/70#issuecomment-67757212.

Jim Taylor jim.taylor@wap.org

jimtaylor61 commented 9 years ago

Jim's message:

"After many hours of 'downloading', said download was complete, but file size at destination folder was less than 100 KB. Screen shot of relevant screens will follow. Further thoughts?"

Click here to view: https://www.dropbox.com/l/WjkwUS1FtEl7mfeO2urN2l?text=1

(Jim shared this file using Dropbox. Enjoy!)

jimtaylor61 commented 9 years ago

Visit this link to view what they shared: https://www.dropbox.com/l/GybQ26vdxoEEwv02Xn59Dk?text=1

Sologeoff commented 9 years ago

Hi to the learned ones I am newbie I have just purchased a macbook pro with yosemite (I live in Australia) ctivo recognizes my tivo & shows all of my saved tivo programs. BUT it won't download any programs from my tivo it fails constantly Hope somebody can help Kind Regards Geoff

mackworth commented 9 years ago

Hi, unfortunately, we've had a lot of issues in Australia. For some reason, only in Australia, TiVo converted a few years ago to support a different stream format (called Transport Stream versus Progressive Stream), and it's meant that file transfers became very problematic.

I'm afraid I can't offer much hope as it does seem TiVo has given up on that market now. If you get in touch with TiVo support, ask them if your TiVo Desktop on your "PC" will work (don't mention the even more unsupported Mac.)

mackworth commented 9 years ago

@Sologeoff On second thought, I have a possible fix. Here's an experimental version; it's available here if you'd like to give it a try. Let me know if it works... Unfortunately, if that doesn't work, I don't have much else i can try.

Sologeoff commented 9 years ago

Hi Hugh Thank you for your prompt reply & info to help, unfortunatley the same result I downloaded the experimental version & installed but to no avail still refuses to download the file from the tivo. But I must say at least this version gave me a glimmer of hope & it stated it was downloading the file at 50mps but then failed
I will try the hard way with KMTTG I did have success with KMTTG under Linux so I am hopeful I can get it working under the mac book pro yosemite Kind Regards Geoff

On 19 Feb 2015, at 6:10 am, Hugh Mackworth notifications@github.com wrote:

@Sologeoff https://github.com/Sologeoff On second thought, I have a possible fix. Here's an experimental version https://dl.dropboxusercontent.com/u/21507587/cTiVo.zip; it's available here if you'd like to give it a try. Let me know if it works...

— Reply to this email directly or view it on GitHub https://github.com/dscottbuch/cTiVo/issues/70#issuecomment-74932917.

mackworth commented 9 years ago

Interesting. Can you set the logging to Detail (in Prefs) and then post the result (has to be somewhere else like DropBox with a link here as GitHub won't accept files)?

Sologeoff commented 9 years ago

Hi Hugh I didn’t understand how to do your last request to try and help me. So I have made a PDF ctivo log. Hope this helps to help me? Regards Geoff

On 19 Feb 2015, at 10:09 pm, Hugh Mackworth notifications@github.com wrote:

Can you set the logging to Detail (in Prefs) and then post the result (has to be somewhere else like DropBox as GitHub won't accept files)?

— Reply to this email directly or view it on GitHub https://github.com/dscottbuch/cTiVo/issues/70#issuecomment-75038404.

mackworth commented 9 years ago

The text version is fine, it's just that github won't let you post anything like that, and strips them from emails. So if you have a Dropbox account, just put it in Public folder, and right click to get the sharing URL, then paste that URL here.

Sologeoff commented 9 years ago

Hi Hugh

As requested the Dropbox URL’s below

https://dl.dropboxusercontent.com/u/7638125/IMG_0367.JPG https://dl.dropboxusercontent.com/u/7638125/IMG_0367.JPG

https://dl.dropboxusercontent.com/u/7638125/CTivo%20log.pdf https://dl.dropboxusercontent.com/u/7638125/CTivo%20log.pdf

Hope this helps to help me Kind Regards Geoff

On 21 Feb 2015, at 8:22 am, Hugh Mackworth notifications@github.com wrote:

The text version is fine, it's just that github won't let you post anything like that, and strips them from emails. So if you have a Dropbox account, just put it in Public folder, and right click to get the sharing URL, then paste that URL here.

— Reply to this email directly or view it on GitHub https://github.com/dscottbuch/cTiVo/issues/70#issuecomment-75325878.

mackworth commented 9 years ago

Hi, Geoff. So, what that tells me is every time you ask the TiVo for a file it says "Server busy". This is very common, and it means that the server inside the TiVo has crashed. Now, it may also mean that it didn't like the way we asked for the file.

So one step is to restart the TiVo and see if you still get an error.

If you do, then the second step is to try the following line in Safari (or whatever browser you use).

Assuming that gives you a list of shows, click on this link: https://dvr-fb17.local./nowplaying/index.html

That should give you a list of shows. Right click on one of the links that says "Download MPEG-TS" and give me the result; same for the "Download MPEG-PS". Finally click on the -TS one and see if it starts downloading the file (No need to let it completely download, just a few hundred K to make sure its really going.) Let me know if that worked.

Sologeoff commented 9 years ago

Hi Hugh I unplugged the tivo restarted as requested Still the same error https://dl.dropboxusercontent.com/u/7638125/Terminal%20Saved%20Output

step 2 I actioned the URL link you supplied https://dl.dropboxusercontent.com/u/7638125/dvr-fb17.local..webarchive

I right clicked on the files https://dl.dropboxusercontent.com/u/7638125/Right%20click%20on%20MPEG-TS%20and%20MPEG_PS.rtf

https://dl.dropboxusercontent.com/u/7638125/dvr-fb17.local..2webarchive

mackworth commented 9 years ago

So, you're getting the same error from the UI as cTiVo is. Do you get the same error msg (Server Busy) on both the -TS and the -PS links?

So, I'm surprised that KMTTG works for you, given this. First, you don't seem to be getting any files downloaded here at all, and second that they can handle the PS format (other than in Windows, where they access TiVo's DLL). If you can get it to download a file, then let me know what URL they are using.

Sologeoff commented 9 years ago

Hi Hugh In KMTTG it gives this error

java.io.IOException: Server returned HTTP response code: 503 for URL: Error http://stackoverflow.com/questions/21447862/java-io-ioexception-server-returned-http-response-code-503-for-url-error A 503 is usually caused by a temporary overloading of the web server. (So I am told) If that is so, why is it so? Regards Geoff Hi, Geoff. So, what that tells me is every time you ask the TiVo for a file it says "Server busy". This is very common, and it means that the server inside the TiVo has crashed. Now, it may also mean that it didn't like the way we asked for the file.

So one step is to restart the TiVo and see if you still get an error.

If you do, then the second step is to try the following line in Safari (or whatever browser you use).

Assuming that gives you a list of shows, click on this link: https://dvr-fb17.local./nowplaying/index.html https://dvr-fb17.local./nowplaying/index.html That should give you a list of shows. Right click on one of the links that says "Download MPEG-TS" and give me the result; same for the "Download MPEG-PS". Finally click on the -TS one and see if it starts downloading the file (No need to let it completely download, just a few hundred K to make sure its really going.) Let me know if that worked.

— Reply to this email directly or view it on GitHub https://github.com/dscottbuch/cTiVo/issues/70#issuecomment-75356505.

mackworth commented 9 years ago

That's basically the same msg (Server Busy). So as suspected, that's not currently getting files out of the TiVo either. (BTW, have you checked your TiVo service page to ensure downloads are enabled; the US version of the site is here: https://www.tivo.com/tivo-mma/login/show.do )

Sologeoff commented 9 years ago

Hi Hugh Success!!! I turned off Tivo disconnected network & cable modem restarted tivo without network, I assumed it has flushed out the cache CTivo still fails but I can download via Safari and then convert the ts file to my needs. the long way around KMTTG fails as well How do we make sense of all this? CTivo fails KMTTG fails Via the web browser is okay? Thank you for your prompt response & service it is appreciated. Kind Regards Geoff

On 22 Feb 2015, at 8:42 am, Hugh Mackworth notifications@github.com wrote:

So, you're getting the same error from the UI as cTiVo is. Do you get the same error msg (Server Busy) on both the -TS and the -PS links?

So, I'm surprised that KMTTG works for you, given this. First, you don't seem to be getting any files downloaded here at all, and second that they can handle the PS format (other than in Windows, where they access TiVo's DLL). If you can get it to download a file, then let me know what URL they are using.

— Reply to this email directly or view it on GitHub https://github.com/dscottbuch/cTiVo/issues/70#issuecomment-75395873.

mackworth commented 9 years ago

Which version of cTiVo are you trying? Do About cTiVo and check that it's version 534.

Then let me know exactly what the web browser URL is (and if it was the TS, try the PS as well in the browser, or vice-versa and let me know what that URL is and whether it worked.)

freduruncle commented 9 years ago

I've been using 2.4.0b7 on my ancient Macbook Pro running OS X 10.7.5 with no issues but since its just a Core 2 Duo its painfully slow. I put the same version on my Mac Pro running Yosemite 10.10.3 and it fails to download ANYTHING at all. It tries and tries (I upped the attempts in the Advanced Settings tab) and finally gives up. Its on the same network/router etc. as the older OS but just fails continually. I've tried restarting the Tivo HD, deleting the plist and restarting the cache etc. as described in this thread but no go. I'd really like to get this running since the encoding would be so much faster and I could use local drives with more space available. Any chance any of the older versions would work any better with Yosemite?

Thanks...

mackworth commented 9 years ago

Happy to help; if you can set debug to Detail and post the log somewhere with a pointer here, that'd be the best start. There is still a major bug with Yosemite which affects some people, and is driving me nuts (especially as I can't trigger it on my machine), but the symptom you're describing is NOT one of them.

freduruncle commented 9 years ago

Thanks for the offer. I cut the download attempts down to 3 and reran a download attempt. Here is the zipped log file. Its sitting on a cloud site that's going away in a few weeks but should be ok for now.

http://ppl.ug/WVfhzygULYc/