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

View previous topic View next topic Go down 
AuthorMessage
AnthonyB
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
Code:
************** 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
billyad2000
Admin
avatar

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 http://billyad2000.darkbb.com/announcements-f1/
Back to top Go down
View user profile http://billyad2000.co.uk
 
3.317 - Unhandled Exception when you try to change status on new TV Show
View previous topic View next topic 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
» managment by exception
» interesting migraine response to a change in diet
» [Solved] change text on poster every refresh/reload page
» Element is not found exception

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