Crash on Search

Kilack

19-01-2009 11:53:27

Just got this program in the last couple of days to try and help me setup my xbmc.
Looks good, wish there was something similar for movies (is there?)

Anyway, I have a documentary series called "walking with beasts" by the BBC.
When I click on "search" to find the tvdb code, the program crashes.

Cheers



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

************** Exception Text **************
System.Xml.XmlException: 'Element' is an invalid XmlNodeType.
at System.Xml.XmlReader.FinishReadElementContentAsXxx()
at System.Xml.XmlReader.ReadElementContentAsString()
at TVRename.SeriesInfo.LoadXml(XmlReader r)
at TVRename.TheTVDB.ProcessTVDBResponse(Stream ms)
at TVRename.TheTVDB.Search(String text)
at TVRename.TheTVDBCodeFinder.bnGoSearch_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
----------------------------------------

************** 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

19-01-2009 19:11:38

Same thing happens for me here, too.

The problem is that the entry in thetvdb was causing the problem. I've fixed it there, so it should be ok for you now. Strangely, thetvdb is now not returning the episode through the search, but you can just enter the code directly (78854), hit search, and then it should be OK.

I'll let thetvdb know that their search isn't working, and about the bug in their system that caused this problem.

Edit: their search has now come right. It should be all ok for you now.

RPG

08-06-2012 09:27:58

Hi,

I know this is an old topic but I have the same issue except it is with the show Pacific Blue. I was wondering if someone can point out to me how i can find out what needs to be changed on the tv show pacific blue on thetvdb to get it working again.

sstteevvee

15-08-2012 22:52:25

I tracked it down for "Pacific Blue" to being invalid data sent back by TheTVDB. I've fixed it by logging into TheTVDB and doing an edit/save of the bad show description. In a few hours that data should become "live" and TVRename will be able to search for "Pacific Blue" without any problems.

If any other shows do this, get yourself a TheTVDB login, visit the description of the show that is causing a problem. Click "Edit", and look for HTML tags, e.g. "<br/>" in the description, and edit them out. They may be in a language other than English, so you might have to go hunting.

I've seen a similar problem before with episode descriptions, and I'm guessing it must have come from a database import/something that TheTVDB did sometime in the past.

(If you're interested in the girtty details: they were returning raw HTML tags in the XML response, which confused TVRename, e.g. "<Overview>Some text<br/>More text</Overview>")