Import throws exception

Discussion in 'My TVSeries' started by HypeTaxx, January 16, 2015.

  1. HypeTaxx

    HypeTaxx Portal User

    Joined:
    December 9, 2008
    Messages:
    23
    Likes Received:
    2
    Ratings:
    +2 / 0
    Home Country:
    Denmark Denmark
    Show System Specs
    Hi,

    Everytime I try to run the import I get this exception when I click next the first time.

    The exception is this
    "An item with the same key has already been added"

    The error description is in danish, please just say if you need a translation of anything.

    Se slutningen af denne meddelelse, hvis du vil have detaljer om,
    hvordan du starter JIT-fejlfinding i stedet for denne dialogboks.

    ************** Undtagelsestekst **************
    System.ArgumentException: Et element med samme nøgle er allerede tilføjet.
    ved System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
    ved System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
    ved System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
    ved WindowPlugins.GUITVSeries.Configuration.ImportPanelParsing.IdentifyChanges(Boolean includeDisabled)
    ved WindowPlugins.GUITVSeries.Configuration.ImportPanelParsing.ImportWizard_OnWizardNavigate(UserFinishedRequestedAction reqAction)
    ved WindowPlugins.GUITVSeries.Configuration.ImportWizard.buttonNext_Click(Object sender, EventArgs e)
    ved System.Windows.Forms.Control.OnClick(EventArgs e)
    ved System.Windows.Forms.Button.OnClick(EventArgs e)
    ved System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    ved System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    ved System.Windows.Forms.Control.WndProc(Message& m)
    ved System.Windows.Forms.ButtonBase.WndProc(Message& m)





    I tried the following
    Empty MPSeries DB
    delete MPseries DB
    uninstall and reinstall MPSeries


    but it is still the same.
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,458
    Likes Received:
    4,245
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,389 / 0
    Home Country:
    Australia Australia
    Can you narrow down what series is causing the problem?

    I will see if anything jumps out at me from that callstack.
     
  4. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,458
    Likes Received:
    4,245
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,389 / 0
    Home Country:
    Australia Australia
    Reading the code, the only way that exception could be hit is if you have duplicate files on your system. I don't think that's even possible on Windows.
     
  5. HypeTaxx

    HypeTaxx Portal User

    Joined:
    December 9, 2008
    Messages:
    23
    Likes Received:
    2
    Ratings:
    +2 / 0
    Home Country:
    Denmark Denmark
    Show System Specs
    Thanks for the prompt reply, I just had a play with it again and this time I unchecked all items in the importer og tried different items one at a time, same error.

    I then cancelled the import and tried again, now a lot of the items which was just there was not (they were imported) and now the import runs without any issues.
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!