New Install Failed (1 Viewer)

PoBear

Portal Pro
April 17, 2006
78
0
Northants, United Kingdom
I've just downloaded the latest version of My Films for a new/clean install on my MP 1.4 system. I'm trying to make my way through the configuration options, I've been asked to supply an XML data base name, I do not currently have one and have typed "test" into the field, on trying to save the configuration I get an unhandled exception with a message " Length cannot be less than zero".

I don't know what debugging info you want but if let me know I should be able to make it available.

Thanks in advance
 

bwg

Portal Pro
December 25, 2007
145
38
Home Country
not sure, as I have never created a new catalog from MF, but did you go through the wizard and click "no" when asked if you want to use an existing catalog? See here.
 

PoBear

Portal Pro
April 17, 2006
78
0
Northants, United Kingdom
I selected no. It asked me to complete a couple of fields and then asked for the XML db name, when I click save it blows up on me, I'm wondering if there is another required field that has to be defined but without a prompt it's impossible to guess which one.
 

Dadeo

Docs Group Manager
  • Premium Supporter
  • November 26, 2006
    5,340
    3,321
    Himalayas, India
    Home Country
    Canada Canada
    Hi PoBear, sorry I missed your post! :notworthy:

    What you describe should work, (I do it hundreds of times while testing!)
    Just to confirm, when you say "downloaded the latest version of My Films" do you mean MyFilms-V6.0.3.2921?
    What did you select as the main title - original title or translated title. Did you select a path/folder for your movies? How are your movies organized?

    The "Length cannot be less than zero". error usually results when you do not have titles in the field you selected for master title. But that confuses me because you haven't even created a catalog XML yet! Did you continue with Import (which automatically opens for new/empty catalogs at the end of Wizard) and import some moives? Even if you didn't, you usually don't get that error, rather MyFilms tells you there are no movies and asks if you want to save anyways.

    Did you tick the Sample Movies option when you installed MyFilms? It's the best way to test and get familiar with all the config options.
    Just use the default settings first. That might help us isolate where the problem is occurring.

    Or if you provide me with exact step by step what you did, I can try and reproduce your issue.
     

    btotaku

    Portal Member
    August 27, 2007
    41
    2
    Home Country
    Germany Germany
    I get an exception as well when creating a new catalogue - v. 6.1.0.3107.
    I just upgraded from MP 1.2.x to 1.8 and suspect this to be the underlying root cause.

    Here are repro steps:
    in My Films setup click Setup Wizard -> yes -> Enter a config name and confirm with OK -> Do you want to use an existing catalogue? -> Click No -> Unhandled Exception:

    Code:
    Informationen über das Aufrufen von JIT-Debuggen
    
    anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.
    
    ************** Ausnahmetext **************
    
    System.IO.DirectoryNotFoundException: Ein Teil des Pfades "C:\ProgramData\Team MediaPortal\MediaPortal\MyFilms\Catalog\ii.xml" konnte nicht gefunden werden.
    
       bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    
       bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
    
       bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
    
       bei System.Xml.XmlTextWriter..ctor(String filename, Encoding encoding)
    
       bei MyFilmsPlugin.MyFilms.Configuration.MyFilmsSetup.newCatalogWizard()
    
       bei MyFilmsPlugin.MyFilms.Configuration.MyFilmsSetup.btnFirstTimeSetup_Click(Object sender, EventArgs e)
    
       bei System.Windows.Forms.Control.OnClick(EventArgs e)
    
       bei System.Windows.Forms.Button.OnClick(EventArgs e)
    
       bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    
       bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    
       bei System.Windows.Forms.Control.WndProc(Message& m)
    
       bei System.Windows.Forms.ButtonBase.WndProc(Message& m)
    
       bei System.Windows.Forms.Button.WndProc(Message& m)
    
       bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    
       bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    
       bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    
    
    
    
    
    ************** Geladene Assemblys **************
    
    mscorlib
    
        Assembly-Version: 4.0.0.0.
    
        Win32-Version: 4.0.30319.18444 built by: FX451RTMGDR.
    
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll.
    
    ----------------------------------------
    
    PluginConfigLoader
    
        Assembly-Version: 2.0.0.0.
    
        Win32-Version: 2.0.0.0.
    
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/PluginConfigLoader.exe.
    
    ----------------------------------------
    
    System.Windows.Forms
    
        Assembly-Version: 4.0.0.0.
    
        Win32-Version: 4.0.30319.18408 built by: FX451RTMGREL.
    
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
    
    ----------------------------------------
    
    System.Drawing
    
        Assembly-Version: 4.0.0.0.
    
        Win32-Version: 4.0.30319.18408 built by: FX451RTMGREL.
    
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
    
    ----------------------------------------
    
    System
    
        Assembly-Version: 4.0.0.0.
    
        Win32-Version: 4.0.30319.18408 built by: FX451RTMGREL.
    
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll.
    
    ----------------------------------------
    
    Core
    
        Assembly-Version: 1.8.0.0.
    
        Win32-Version: 1.8.0.0.
    
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/Core.DLL.
    
    ----------------------------------------
    
    MyFilms
    
        Assembly-Version: 6.1.0.3107.
    
        Win32-Version: 6.1.0.3107.
    
        CodeBase: file:///c:/program%20files%20(x86)/team%20mediaportal/mediaportal/plugins/windows/myfilms.dll.
    
    ----------------------------------------
    
    Dialogs
    
        Assembly-Version: 1.8.0.0.
    
        Win32-Version: 1.8.0.0.
    
        CodeBase: file:///c:/program%20files%20(x86)/team%20mediaportal/mediaportal/plugins/windows/Dialogs.DLL.
    
    ----------------------------------------
    
    System.Data
    
        Assembly-Version: 4.0.0.0.
    
        Win32-Version: 4.0.30319.18408 built by: FX451RTMGREL.
    
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll.
    
    ----------------------------------------
    
    System.Core
    
        Assembly-Version: 4.0.0.0.
    
        Win32-Version: 4.0.30319.18408 built by: FX451RTMGREL.
    
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll.
    
    ----------------------------------------
    
    System.Xml
    
        Assembly-Version: 4.0.0.0.
    
        Win32-Version: 4.0.30319.18408 built by: FX451RTMGREL.
    
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.
    
    ----------------------------------------
    
    System.Web
    
        Assembly-Version: 4.0.0.0.
    
        Win32-Version: 4.0.30319.18446 built by: FX451RTMGDR.
    
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll.
    
    ----------------------------------------
    
    System.Messaging
    
        Assembly-Version: 4.0.0.0.
    
        Win32-Version: 4.0.30319.18408 built by: FX451RTMGREL.
    
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Messaging/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Messaging.dll.
    
    ----------------------------------------
    
    RestSharp
    
        Assembly-Version: 103.2.0.0.
    
        Win32-Version: 103.2.0.0.
    
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/RestSharp.DLL.
    
    ----------------------------------------
    
    System.Data.DataSetExtensions
    
        Assembly-Version: 4.0.0.0.
    
        Win32-Version: 4.0.30319.18408 built by: FX451RTMGREL.
    
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Data.DataSetExtensions/v4.0_4.0.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll.
    
    ----------------------------------------
    
    System.Numerics
    
        Assembly-Version: 4.0.0.0.
    
        Win32-Version: 4.0.30319.18408 built by: FX451RTMGREL.
    
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll.
    
    ----------------------------------------
    
    System.Windows.Forms.resources
    
        Assembly-Version: 4.0.0.0.
    
        Win32-Version: 4.0.30319.18408 built by: FX451RTMGREL.
    
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
    
    ----------------------------------------
    
    Common.Utils
    
        Assembly-Version: 1.8.0.0.
    
        Win32-Version: 1.8.0.0.
    
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/Common.Utils.DLL.
    
    ----------------------------------------
    
    Accessibility
    
        Assembly-Version: 4.0.0.0.
    
        Win32-Version: 4.0.30319.18408 built by: FX451RTMGREL.
    
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll.
    
    ----------------------------------------
    
    Utils
    
        Assembly-Version: 1.8.0.0.
    
        Win32-Version: 1.8.0.0.
    
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/Utils.DLL.
    
    ----------------------------------------
    
    System.Configuration
    
        Assembly-Version: 4.0.0.0.
    
        Win32-Version: 4.0.30319.18408 built by: FX451RTMGREL.
    
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.
    
    ----------------------------------------
    
    mscorlib.resources
    
        Assembly-Version: 4.0.0.0.
    
        Win32-Version: 4.0.30319.18408 built by: FX451RTMGREL.
    
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_de_b77a5c561934e089/mscorlib.resources.dll.
    
    ----------------------------------------
    
    log4net
    
        Assembly-Version: 1.2.11.0.
    
        Win32-Version: 1.2.11.0.
    
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/log4net.DLL.
    
    ----------------------------------------
    
    Microsoft.GeneratedCode
    
        Assembly-Version: 1.0.0.0.
    
        Win32-Version: 4.0.30319.18408 built by: FX451RTMGREL.
    
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.
    
    ----------------------------------------
    
    Microsoft.DirectX.Direct3D
    
        Assembly-Version: 1.0.2902.0.
    
        Win32-Version: 9.05.132.0000.
    
        CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.Direct3D/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.Direct3D.dll.
    
    ----------------------------------------
    
    Microsoft.DirectX
    
        Assembly-Version: 1.0.2902.0.
    
        Win32-Version: 5.04.00.2904.
    
        CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll.
    
    ----------------------------------------
    
    Interop.IWshRuntimeLibrary
    
        Assembly-Version: 1.0.0.0.
    
        Win32-Version: 1.0.0.0.
    
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/Interop.IWshRuntimeLibrary.DLL.
    
    ----------------------------------------
    
    
    
    ************** JIT-Debuggen **************
    
    Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
    
    Konfigurationsdatei der Anwendung oder des Computers
    
    (machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
    
    Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.
    
    
    
    Zum Beispiel:
    
    
    
    <configuration>
    
        <system.windows.forms jitDebugging="true" />
    
    </configuration>
    
    
    
    Wenn das JIT-Debuggen aktiviert ist, werden alle Ausnahmefehler an den JIT-Debugger gesendet, der auf dem
    
    Computer registriert ist, und nicht in diesem Dialogfeld behandelt.
     

    Dadeo

    Docs Group Manager
  • Premium Supporter
  • November 26, 2006
    5,340
    3,321
    Himalayas, India
    Home Country
    Canada Canada
    For some reason you cannot write to "C:\ProgramData\Team MediaPortal\MediaPortal\MyFilms\Catalog\ii.xml" - @Guzzi will know why better than I ;)
     

    Guzzi

    Retired Team Member
  • Premium Supporter
  • August 20, 2007
    2,161
    747
    EIther the user has no access (which I don't think) - or maybe the catalog directory does not exist (e.g. because samplemoves was not installed on initial install)
    I assume the latter - so could you please confirm, if or if not the directory
    C:\ProgramData\Team MediaPortal\MediaPortal\MyFilms\Catalog\
    exists?
    If it is missing, I will fix that for next version (create new catalog - missing catalog directory - first create the directory, before creating the catalog)
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,335
    Home Country
    Germany Germany
    @Guzzi ,

    I am the one in the German forum;) who reported the issues.

    Your new version is working, since I was installing only MyFilm - without any additional plugin - your software probably was missing some files, which you now create from scratch. Very powerful tool, maybe even a little bit too complicated. Menus are very busy and you may want to consider showing a simplified GUI vs. an expert view.

    First thing I noticed was the very long time needed to import my 78 movies. I don't know exactly how long this took but eventually I let the computer run on its own, hence definitely more than one hour. Any idea what elements of your search process would take that long? Movie file names are all coded with year and tt-number.

    regards,
    HTPC_Sourcer
     

    Users who are viewing this thread

    Top Bottom