SOLVED: "Refresh" feezes on "Downloading: Updates List"

piranha

01-12-2008 06:26:25

Since 1 beta ago, I have noticed that TVRenamer is unable to download any data from TheTVDB.
It simply freezes on dialog displaying "Currently downloading: Updates List".
Is there any debug I could turn on, to see what kind of error it's encountering? TheTVDB works fine from my browser and also from My TV Series plugin of MP.
TheTVDB.xml contains only following:
<?xml version="1.0" encoding="utf-8"?>
<Data
time="0"
TVRename_LanguagePriority="en pl da fi nl de it es fr hu el tr ru he ja pt zh cs sl sv no " />

Tried getting files listed at viewtopic.php?f=3&t=93&st=0&sk=t&sd=a&start=10#p345, tried flushing cache, and finally deleted all files in c:\Users\piranha\AppData\Roaming\TVRename\TVRename\2.1\ and started from scratch, but the same symptoms show.
Plz help, I am addicted to TVRenamer, and I think I have withdrawal symptoms.

*UPDATE:
Hrmph: I have manually downloaded http://www.thetvdb.com/api/5FEC45462315 ... all/en.xml and placed it as c:\Users\piranha\AppData\Roaming\TVRename\TVRename\2.1\TheTVDB.xml
After hitting refresh, it seems to download everything now.
Finally got the data up to date.

sstteevvee

01-12-2008 10:41:04

Yeah, b6 had a few issues with things getting stuck while downloading. I've (hopefully) fixed that for b7.

sickboy719

01-12-2008 16:31:53

I'm still having it in b7.
It freezes, then I get this error, then nothing.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: Index and count must refer to a location within the string.
Parameter name: count
at System.String.Remove(Int32 startIndex, Int32 count)
at TVRename.TVDoc.SEFinderSimplifyFilename(String name, String showNameHint)
at TVRename.TVDoc.FindSeasEp(String directory, String filename, Int32* seas, Int32* ep, String showNameHint, List`1 rexps)
at TVRename.TVDoc.FindSeasEp(FileInfo fi, Int32* seas, Int32* ep, String showNameHint, List`1 rexps)
at TVRename.TVDoc.BuildRenameList(ShowItem si, List`1 rl)
at TVRename.TVDoc.DoRenameCheck(ProgressBar pbProgress)
at TVRename.UI.bnRenameCheck_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
TVRename
Assembly Version: 1.0.0.0
Win32 Version:
CodeBase: file:///C:/Program%20Files/TVRename/TVRename.exe
----------------------------------------
msvcm90
Assembly Version: 9.0.21022.8
Win32 Version: 9.00.21022.8
CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_d08d0375/msvcm90.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Deployment
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Ionic.Utils.Zip
Assembly Version: 1.5.2.1
Win32 Version: 1.5.2.1
CodeBase: file:///C:/Program%20Files/TVRename/Ionic.Utils.Zip.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

sstteevvee

01-12-2008 18:44:24

There's nothing like fixing one bug, and creating a worse one to replace it! I've taken out what will be causing the "freezing up" for the next version (b8), which I'll upload either today or tomorrow.

Until then, try turning off automatic background downloads (on the "Options" menu), and see if that helps.

sickboy719

02-12-2008 02:42:24

Awesome.
Thanks for the great app.