Media Companion
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Media Companion

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

 

 3.168 Locking tv series

Go down 
3 posters
AuthorMessage
Jocke69
Senior Member
Senior Member



Posts : 67
Join date : 2009-06-29

3.168 Locking tv series Empty
PostSubject: 3.168 Locking tv series   3.168 Locking tv series Icon_minitimeMon Nov 23, 2009 3:11 am

I get an error when trying to lock some shows

Dirt
Cops
Lexx
Lost

It seams that Tv Shows with 4 letters give this bug.

It says " The length cant be less than zero" Parametername: length.

No ide to paste the error code because it in Swedish
Back to top Go down
paybac
Media Companion Supporter
Media Companion Supporter
paybac


Posts : 155
Join date : 2009-08-31
Location : New Zealand

3.168 Locking tv series Empty
PostSubject: Re: 3.168 Locking tv series   3.168 Locking tv series Icon_minitimeMon Nov 23, 2009 3:22 am

I can confirm I get the same error when trying to lock Rome

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

************** Exception Text **************
System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
  at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
  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)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3603 (GDR.050727-3600)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Media Companion
    Assembly Version: 3.1.6.8
    Win32 Version: 3.1.6.8
    CodeBase: file:///C:/Program%20Files/MediaC/Media%20Companion.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
    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.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
imdb
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MediaC/imdb.DLL
----------------------------------------
IMPA
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MediaC/IMPA.DLL
----------------------------------------
tmdb_posters
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MediaC/tmdb_posters.DLL
----------------------------------------
class_mpdb_thumbs
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MediaC/class_mpdb_thumbs.DLL
----------------------------------------
imdb_thumbs
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MediaC/imdb_thumbs.DLL
----------------------------------------
TVDB
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/MediaC/TVDB.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.


Back to top Go down
Jocke69
Senior Member
Senior Member



Posts : 67
Join date : 2009-06-29

3.168 Locking tv series Empty
PostSubject: Re: 3.168 Locking tv series   3.168 Locking tv series Icon_minitimeMon Nov 23, 2009 3:24 am

Thanks paybac for pasting the error code
Back to top Go down
Jocke69
Senior Member
Senior Member



Posts : 67
Join date : 2009-06-29

3.168 Locking tv series Empty
PostSubject: Re: 3.168 Locking tv series   3.168 Locking tv series Icon_minitimeMon Nov 30, 2009 5:33 pm

Bumping this as it also not work in 3.175
Back to top Go down
billyad2000
Admin
billyad2000


Posts : 1326
Join date : 2008-09-20

3.168 Locking tv series Empty
PostSubject: Re: 3.168 Locking tv series   3.168 Locking tv series Icon_minitimeMon Nov 30, 2009 7:27 pm

Just one of those wierd conicidences that sometimes happens.

If title.Text.ToLower.IndexOf(", the") = title.Text.Length - 5 Then
workingtvshow.title = "The " & title.Text.Substring(0, title.Text.Length - 5)
End If

If the title length = 4 then the condition is falsly met (4 - 5 = -1)

I've fixed it for the next build.
Back to top Go down
http://billyad2000.co.uk
Sponsored content





3.168 Locking tv series Empty
PostSubject: Re: 3.168 Locking tv series   3.168 Locking tv series Icon_minitime

Back to top Go down
 
3.168 Locking tv series
Back to top 
Page 1 of 1
 Similar topics
-
» Abbility to scan one TV Series folder for updates.
» 3.400 crashes after loading 280 TV Series folders
» Fan Art in Tv series
» 1.988 - get error when trying to scape any episode/series info
» empty series overview

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