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  

 

 Error while scraping movies

Go down 
2 posters
AuthorMessage
diamond187
New User
New User



Posts : 2
Join date : 2008-10-08

Error while scraping movies Empty
PostSubject: Error while scraping movies   Error while scraping movies Icon_minitimeWed Oct 08, 2008 7:32 am

Any time I try to scrape my movies folder, I end up with an error, usually near the beginning.

The folder is 007, with movies below. Here's the error text:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
Code:

************** Exception Text **************
System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Parameter name: length
  at Microsoft.VisualBasic.CompilerServices.Symbols.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags)
  at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack)
  at XBMC_Media_Companion.Form2.rescrape_movie()
  at XBMC_Media_Companion.Form2.Form2_Load(Object sender, EventArgs e)
  at System.Windows.Forms.Form.OnLoad(EventArgs e)
  at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
  at System.Windows.Forms.Control.CreateControl()
  at System.Windows.Forms.Control.WmShowWindow(Message& m)
  at System.Windows.Forms.Control.WndProc(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.1434 (REDBITS.050727-1400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
XBMC-DB - seperate nfo files 1.827
    Assembly Version: 1.8.2.7
    Win32 Version: 1.8.2.7
    CodeBase: file:///C:/Users/Toby/Desktop/Xbox%20Media%20Companion/XBMC%20Media%20Companion%201.827.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.1434 (REDBITS.050727-1400)
    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.1434 (REDBITS.050727-1400)
    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.1434 (REDBITS.050727-1400)
    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.1434 (REDBITS.050727-1400)
    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.1434 (REDBITS.050727-1400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase: file:///C:/Windows/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.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.

In this particular case, I get the following:

Code:

Starting Folder Scan - please wait
241 New Movies Found
Filename & path = \\APOLLO\Volume_1\media\Movies\007\01 - James Bond 007 - Dr. No (1962).nfo
Scanning IMDB for 01 - james bond 007 - dr. no
imdb ID is tt0381061
01 - James Bond 007 - Dr. No (1962) added
240 Movies Remaining
Filename & path = \\APOLLO\Volume_1\media\Movies\007\02 - James Bond 007 - From Russia with love(1963).nfo
Scanning IMDB for 02- james bond 007 - from russia with love
imdb ID is tt0455566

This is where the error occurs. Of course, continue doesn't work. Smile

Any ideas why this may be caused, besides the fact in this case I have a folder labeled 007 and episodic filename information?

I haven't tried to exclude that folder yet, but I wouldn't be surprised if that would make the scan go on. TV Show's work great btw, thanks for such a handy little addon!

System Information:
Version 1.827
OS: Vista Business x64 SP1
Memory: 4GB
HDD: Local: 1.5TB, remote (where movies are located) 1.5TB, both have plenty of free space

Let me know if there is any other information you may need!

Thanks,

Diamond187
Back to top Go down
billyad2000
Admin
billyad2000


Posts : 1326
Join date : 2008-09-20

Error while scraping movies Empty
PostSubject: Re: Error while scraping movies   Error while scraping movies Icon_minitimeWed Oct 08, 2008 1:41 pm

Download the newest version (1.827)
@
http://www.billyad2000.co.uk/

This error has been fixed.

Although I can see the reason for it, you are not going to get many accurate hits with that kind of filenaming.

To get the most accurate results from the scraper you should use :-

Dr. No (1962).avi
or
From Russia with love (1963).avi
Back to top Go down
http://billyad2000.co.uk
diamond187
New User
New User



Posts : 2
Join date : 2008-10-08

Error while scraping movies Empty
PostSubject: Re: Error while scraping movies   Error while scraping movies Icon_minitimeSun Oct 12, 2008 4:34 am

I already had that version, that (and previous) are where the bug occured.

As far as naming goes, I know that way stinks, but it's the only series that is like that. It's been one of those "I'm going to change it" for quite some time now. Smile

Any other ideas what may be causing it?
Back to top Go down
Sponsored content





Error while scraping movies Empty
PostSubject: Re: Error while scraping movies   Error while scraping movies Icon_minitime

Back to top Go down
 
Error while scraping movies
Back to top 
Page 1 of 1
 Similar topics
-
» Scraping Error In Movies and TV
» Error when editing Movies/Main Browserthen going to Movies/Table
» Error when Scraping (3.087)
» Scraping error.
» v 3.244 - Keeps scraping w/ new movies

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