Currently Downloading: Updates list for everything

FencerJP

06-10-2008 16:33:40

Love this program, and I'm looking forward to when it's stable again. It's invaluable for me, living abroad, to keep up with my shows.

With alpha 7, when I add a show, it has been crashing on the 'downloading: updates list for everything' step. I'm behind a proxy/firewall here at work, so I'll try again when I get home.
I added 'The Colbert Report' and it downloaded fine, but 'The Daily Show' crashed it. Since then, it's been crashing every time it tries to download the list, unless I cancel the download, on every show. The progress bar doesn't fill at all, and then Windows reports it as frozen.

If this was previously reported/known, I apologize.

sstteevvee

06-10-2008 16:40:21

Thanks for reporting the bug. When it crashes, does a dialog box come up with an exception report? If so, can you copy+paste the first 20 or so lines of the error here. That'll help me figure out where exactly the problem may be.

Also, how long does it take to crash? Is almost immediately, or is there a delay? Being behind a proxy/cache shouldn't cause any problems.

You could also try the "Flush Cache" command on the tools menu. This will remove all locally cached info from thetvdb, and force it to download everything from scratch. Admittedly this doesn't fix the problem, but may work around it.

FencerJP

06-10-2008 21:09:48

sorry, last post was kinda vague...
I'm on Japanese vista 32-bit, with zone alarm internet security.

Vista doesn't give me anything (I think, my Japanese isn't so great) except a 'Program not responding' dialog box with an option to close the program, after about 5-7 seconds. Apparently, the proxy didn't do anything, since when I came home and tried it (behind nothing but ZA), I got the same results. However, when I flushed the cache, the downloads started working. I realized that this was an install on top of a pre-existing 2.0.? install, would that have affected it?

At any rate, it's working great since then. I'll let you know if I find anything else, or if I can get it to happen again.

sstteevvee

06-10-2008 21:34:34

Installing over the top of an old version definitely isn't a problem. I might have changed something slightly between alpha6 and alpha7, which broke the merging of the new information downloaded. Let me know if it locks up when you use it tomorrow, and it downloads the daily updates list.

FencerJP

06-10-2008 21:49:59

I went straight from the last stable version to a7, so I don't think the a6-a7 thing would affect me, unless there were leftovers on other systems that were helping them to work right without a flush.

well shoot, just got an error. lemme know if you need anything translated (or just try google translate, it'll probably be better, lol).

Just-In-Time (JIT) ????????????????????
????? ?????????????????????????????

************** ?????? **************
System.ArgumentOutOfRangeException: Year?Month ??? Day ???????????? DateTime ???????? [says it can't display the DateTime, Year, Month, or Day parameters]
?? System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day)
?? TVRename.TZMagic.AdjustTZTimeToOurs(ValueType dt, TZI* tz)
?? TVRename.Episode.GetAirDateDT(Boolean correct)
?? TVRename.UI.FillWhenToWatchList()
?? TVRename.UI.RefreshWTW(Boolean full, Boolean suppressErrors)
?? TVRename.UI.ShowAddedOrEdited(ShowItem si)
?? TVRename.UI.EditShow(ShowItem si)
?? TVRename.UI.bnMyShowsEdit_Click(Object sender, EventArgs e)
?? System.Windows.Forms.Control.OnClick(EventArgs e)
?? System.Windows.Forms.Button.OnClick(EventArgs e)
?? System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
?? System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
?? System.Windows.Forms.Control.WndProc(Message& m)
?? System.Windows.Forms.ButtonBase.WndProc(Message& m)
?? System.Windows.Forms.Button.WndProc(Message& m)
?? System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
?? System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
?? System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

this happened when I was changing the time zone for a previously listed show from default to Tokyo Standard Time.

FencerJP

06-10-2008 21:55:11

crap, and now it won't start. gives me this instead:

Year?Month ??? Day ???????????? DateTime ???????? [same thing about not being able to display the parameters]

?? System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day)
?? TVRename.TZMagic.AdjustTZTimeToOurs(ValueType dt, TZI* tz)
?? TVRename.Episode.GetAirDateDT(Boolean correct)
?? TVRename.UI.FillWhenToWatchList()
?? TVRename.UI..ctor()
?? main(String[] args)

sstteevvee

06-10-2008 22:22:26

Japanese error messages.. Fun! I wonder if I can force them to be in English.

I think I know what it might mean, and I've changed the code to (hopefully) stop it happening. A new version (alpha 8) will be uploaded probably tonight, otherwise tomorrow. Give that a go when it's available, and let me know if it helps.

FencerJP

07-10-2008 09:05:54

crud, after installing alpha 8, I'm still getting the error message on start. Can I clean my settings out manually?

sstteevvee

07-10-2008 09:24:40

All the settings are stored in c:\users\<username>\appdata\roaming\tvrename\tvrename\2.1

First, try removing TheTVDB.xml. If that doesn't help, email me a copy of TVRenameSettings.xml (to tvrename @ tvrename.com) so I can give it a go here and see what's happening.

Otherwise, you can delete TVRenameSettings.xml to remove everything and start from scratch. If you've recently added a show that's possibly caused the problem, edit the XML file and remove the <ShowItem>..</ShowItem> for it.

Edit: You can also try some of the older backups of TVRenameSettings.xml, seeing if you can find one that's ok.

FencerJP

07-10-2008 11:28:06

Well, back at work... I first tried deleting theTVDB.xml file, which got me into the program. I hit the refresh button, which worked, for all shows except the last (The Daily Show). I tried refreshing again, and I got the same 'not responding' dialog box as in my original post. Flushed the cache, and on the next try, I got 3 shows, exited the downloader successfully. Refresh again, and not responding. Removed theTVDB.xml again, and it froze on downloading theTVDB mirrors.
I've gotta set up an SSL tunnel to hit my gmail, then I'll email you the settings file.
EDITS:
file sent. hope it helps, somehow.
ok, next I'm trying renaming both theTVDB.xml and TVrenamesettings.xml with a .bak extension, and starting fresh (hopefully). Program started up, no shows present, cache isn't showing anything. Whenever it sends a request to theTVDB, though, it comes back with nothing, very slowly, so I suppose it's timing out, despite having a proxy that appears to work for everything else (the browser I'm typing this on, for example).
I'll try restoring a previous settings file next.
Went back to my last working settings (I think), and for some reason it's still not downloading anything. Restarted, same deal. I think I'm gonna try reinstalling next.

sstteevvee

07-10-2008 11:51:55

Settings file received. I'll try it out, hopefully tonight, and see if I get the same problem.

Can you try opening Internet Explorer and visiting http://www.thetvdb.com/api/5FEC454623154441/mirrors.xml, and see if it has any problems downloading it. Also give http://www.thetvdb.com/api/5FEC454623154441/series/75340/all/en.xml a go. Reload it a few times (Ctrl+F5) and see if it breaks. (Using IE, rather than any other web browser, is closer to what TVRename is doing).

FencerJP

07-10-2008 12:24:09

IE has no problems with those URLs- downloaded fast and without problems.

um... and so is TV Rename now. Must have been the restart, I restored the old settings and cache before the restart, so it was just downloading the updates (?), which was fast enough to not show the progress bar/dialog box.
:( sorry I'm used to getting computers working, not necessarily pinpointing problems- makes for a bad beta/alpha tester, since I'm not methodical enough about it.
Anyways... I'm not getting errors anymore. Maybe that settings file will shed some light on it, though. I don't really know what combination of settings, cache, and internet connection caused the failure, nor the inability to download. :( sorry.
I've still got the backup of the cache I had, though I kinda doubt that would really help. Any other tests you want me to run from behind the proxy?

sstteevvee

07-10-2008 12:36:59

Ok, no worries. Let me know if it starts misbehaving again. I'll give the settings file a go anyway, just in case there is some hidden problem in there. If you don't mind sending me a copy of the cache, I can then try exactly the same setup as you have. If its large-ish, ZIP/RAR/etc. it first.

FencerJP

12-10-2008 01:43:02

*sigh* I forgot about the 'changing the time zone thing' in the whole mess with getting a8 working again. I just tried it again with a10, and it crashed with (I think) the same error message. If not the same, it's really damned close. As before, it is erroring out on load.

Again, I got the error when changing a single show's time zone to Tokyo Standard. I live in the same, and all my other shows are U.S. Eastern Standard

EDIT:
Resolved problem by deleting the cache file. Program started, I did a refresh, and everything came up, although it did hang for a little bit at the Updates list for everything... not sure if there were problems or not. I made a backup of settings and cache before I tried anything, and emailed both to you.

sstteevvee

12-10-2008 10:10:53

Thanks for the settings file - happened as soon as I started it up here, too. The error message, in English, is "Year, Month, and Day parameters describe an un-representable DateTime.".

Turns out it's because Tokyo time doesn't have daylight savings, and that causes this failure in my timezone adjusting code. Its an easy fix, so it'll be in the next version I upload.

To work around it for now, don't set the show as being in the Tokyo timezone.

sstteevvee

13-10-2008 00:21:29

Give the latest version a spin, and let me know how it goes with your Tokyo timezone show. I gave it a quick go here, and it seemed good.

FencerJP

13-10-2008 11:02:43

huzzah! not a hint of an error!
PS- woo! beta!