Media Companion

Discussion and development board for the program Media Companion.
HomeHome  FAQFAQ  SearchSearch  RegisterRegister  Log inLog in  

Share | 

 3.317 - Unhandled Exception when you try to change status on new TV Show

Go down 
Senior Member
Senior Member

Posts : 122
Join date : 2008-11-08
Location : Sydney, Australia

PostSubject: 3.317 - Unhandled Exception when you try to change status on new TV Show   Tue Sep 14, 2010 2:19 am

I've found a reproducable unhandled exception, repro is

1. Add new TV Show folder
2. Rebuild Shows so the folder is added to the TV Show list
3. Select new TV Show in list
4. Try to change status

Outcome is you get a dialog box saying "Cant unlock, No TVDB ID is available" (note: typo there as well, cant=can't).
Click OK on dialog and then you get the Unhandled Exception
************** Exception Text **************
System.InvalidCastException: Conversion from string "" to type 'Integer' is not valid. ---> System.FormatException: Input string was not in a correct format.
  at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)
  at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value)
  --- End of inner exception stack trace ---
  at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value)
  at Media_Companion.Form1.Button60_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)
Back to top Go down
View user profile

Posts : 1326
Join date : 2008-09-20

PostSubject: Re: 3.317 - Unhandled Exception when you try to change status on new TV Show   Sun Oct 03, 2010 12:10 pm

Fixed the exception for the next build - along with the typo.

The error dialogue is correct though - MC needs a TVDB ID to perform scraping functions on the show, shows without this will remain locked.

Do you have a problem with Media Companion, before posting a bug then please check you have the very latest version of Media Companion
Back to top Go down
View user profile
3.317 - Unhandled Exception when you try to change status on new TV Show
Back to top 
Page 1 of 1
 Similar topics
» How to take the screen shot? when i set a kwargs, it is showing error... when i not set kwargs it is coming black color as background
» interesting migraine response to a change in diet
» [Solved] change text on poster every refresh/reload page
» Element is not found exception
» Exception in thread "main" Selenium is already running on port 4444. Or some other service is.

Permissions in this forum:You cannot reply to topics in this forum
Media Companion :: Media Companion :: Bug Discussion-
Jump to: