ScoopD
09-10-2008 00:02:56
Hey Steve - I e-mailed this one to you, but for the benefit of everyone else ...
I changed a series (Holmes on homes) to DVD Order and then did a force refresh on it. It pulls down the data fine and then crashes with the following error message. I have no idea whether the force refresh did it, the new data was corrupt (i.e. dodgy characters) or something completely unrelated has happened.
I got it working again last night by deleting the current xml files and restoring previous ones, but now it just keeps crashing with the same error. HELP.
I changed a series (Holmes on homes) to DVD Order and then did a force refresh on it. It pulls down the data fine and then crashes with the following error message. I have no idea whether the force refresh did it, the new data was corrupt (i.e. dodgy characters) or something completely unrelated has happened.
************** Exception Text **************
System.InvalidOperationException: Failed to compare two elements in the array. ---> System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
at System.Double.Parse(String s, NumberStyles style, NumberFormatInfo info)
at TVRename.ProcessedEpisode.DVDOrderSorter(ProcessedEpisode e1, ProcessedEpisode e2)
at System.Array.FunctorComparer`1.Compare(T x, T y)
at System.Collections.Generic.ArraySortHelper`1.QuickSort[TValue](T[] keys, TValue[] values, Int32 left, Int32 right, IComparer`1 comparer)
--- End of inner exception stack trace ---
at System.Collections.Generic.ArraySortHelper`1.QuickSort[TValue](T[] keys, TValue[] values, Int32 left, Int32 right, IComparer`1 comparer)
at System.Collections.Generic.ArraySortHelper`1.Sort[TValue](T[] keys, TValue[] values, Int32 index, Int32 length, IComparer`1 comparer)
at System.Collections.Generic.ArraySortHelper`1.Sort(T[] items, Int32 index, Int32 length, IComparer`1 comparer)
at System.Array.Sort[T](T[] array, Int32 index, Int32 length, IComparer`1 comparer)
at System.Collections.Generic.List`1.Sort(Comparison`1 comparison)
at TVRename.TVDoc.GenerateEpisodes(ShowItem si, SeriesInfo ser, Int32 snum, Boolean supressErrors, Boolean applyRules)
at TVRename.TVDoc.GenerateEpisodeDict(ShowItem si, Boolean cachedOnly, Boolean suppressErrors)
at TVRename.TVDoc.GenDict(Boolean cachedOnly, Boolean suppressErrors)
at TVRename.TVDoc.DoDownloadsFG(ProgressBar pbProgress)
at TVRename.UI.bnMyShowsRefresh_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)
I got it working again last night by deleting the current xml files and restoring previous ones, but now it just keeps crashing with the same error. HELP.