[NEW ISSUE] Marvel's Agents of S.H.I.E.L.D. makes this plugin crash (probably due to the long path)? (1 Viewer)

emphatic

Design Group
  • Team MediaPortal
  • August 25, 2006
    3,601
    1,093
    Alingsås
    Sweden Sweden
    Country flag
    • Thread starter
    • Moderator
    • #2
    @seco Have you seen this thread? It's still a problem, and I have no idea how to fix it.

    Emph
     

    fischy667

    Super User
  • Team MediaPortal
  • Super User
  • May 5, 2010
    956
    278
    38
    Rostock
    Germany Germany
    Country flag
    I don't know if is related but I get this error, when I search subtitles in podnapisi.net (from the SubCentral.log)

    Code:
    10-Mar-2014 11:33:06.246 Debug [           Retriever]: ...using TV show query: 'The Walking Dead 4x13 TvdbId: 153021
    10-Mar-2014 11:33:06.246 Debug [           Retriever]: Searching site Podnapisi...
    10-Mar-2014 11:33:06.562 Error [       SubCentralGUI]: Error while retrieving subtitles
    System.IO.PathTooLongException: Der angegebene Pfad und/oder Dateiname ist zu lang. Der vollständig qualifizierte Dateiname muss kürzer als 260 Zeichen und der Pfadname kürzer als 248 Zeichen sein.
       bei System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
       bei System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
       bei SubCentral.GUI.Retriever.OnBeforeCompleted(List`1 allResults)
       bei SubCentral.GUI.Retriever.SearchSubtitlesAsync(Object mediaDetailObj)
    translation: The path and/or the file name is too long. The file name must be under 260 characters and the path under 248.
     

    Attachments

    Last edited:

    emphatic

    Design Group
  • Team MediaPortal
  • August 25, 2006
    3,601
    1,093
    Alingsås
    Sweden Sweden
    Country flag
    • Thread starter
    • Moderator
    • #5
    I just got an error for True Detective too, not a crash, but a "path, filename or both contain too many characters". I get this error randomly, I'm gonna see if there's something wrong with my config files.

    Edit: The full file path to the True Detective episode is 62 characters long. There are no weird characters in the path either.

    Emph
     
    Last edited:

    slarti

    MP Donator
  • Premium Supporter
  • March 26, 2009
    73
    5
    Finland Finland
    NTSF:: SD:: SUV:: is a series that has at least a similar problem.
     

    emphatic

    Design Group
  • Team MediaPortal
  • August 25, 2006
    3,601
    1,093
    Alingsås
    Sweden Sweden
    Country flag
    • Thread starter
    • Moderator
    • #8
    I don't know what type of bug report you want, @seco, as I haven't seen any comment if you yourself can reproduce this issue or not, but it still happens daily for me now, and I don't know if it's because I'm running 1.7 pre or what, so this time I'll include all of my logs.

    The series I was unsuccessfully trying to retrieve subtitles for in these logs are:
    Intelligence
    The Blacklist

    Emph
     

    Terra

    Portal Pro
    August 25, 2009
    230
    56
    Austria Austria
    Country flag
    I am having the same issue for some time now, my paths are way below 260 characters for shares and the real folders on the server.
    The error appears in Moving Pictures, however as they are using the subtitle downloader I hope this is the right place to report it.

    I am using MePo 1.6

    The error message I get:
    Code:
    [2014-03-23 01:10:31,000] [Error  ] [Subtitles Downloader Thread] [ERROR] - MediaPortal: Unhandled exception occured
    [2014-03-23 01:10:41,250] [Log    ] [Subtitles Downloader Thread] [ERROR] - Exception: System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
       at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
       at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
       at SubCentral.GUI.Retriever.OnBeforeCompleted(List`1 allResults)
       at SubCentral.GUI.Retriever.SearchSubtitlesAsync(Object mediaDetailObj)
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart(Object obj)  Message: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.  Site   : System.Object MarshaledInvoke(System.Windows.Forms.Control, System.Delegate, System.Object[], Boolean)  Source : System.Windows.Forms  Stack Trace:     at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
       at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
       at SubCentral.GUI.Retriever.OnBeforeCompleted(List`1 allResults)
       at SubCentral.GUI.Retriever.SearchSubtitlesAsync(Object mediaDetailObj)
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart(Object obj)
    Attached are the full logs! (Password upon request)
     

    arion_p

    Retired Team Member
  • Premium Supporter
  • February 7, 2007
    3,373
    1,626
    Athens
    Greece Greece
    Country flag
    It would be interesting to log the full pathname being downloaded. While none of your paths are > 260, concatenating a long sus file name can easily throw the total length over 260 chars. Also from the log it is not evident whether the error occurs while downloading (in temp folder) or when moving the downloaded file in its final place. If the error occurs with certain provider(s) only (same video file ofc) then it is during downloading and probably has to do with unpacking the subs from multiply nested zip/rar archives.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    R MP2 GUI Issues General 7
    morpheus_xx [WiP] WIP 2.3 Fanart issues? MediaPortal 2 13
    morpheus_xx [Help Me!] Build issues on TeamCity MediaPortal 2 1
    W Not finding/matching new series - thetvdb issue? My TVSeries 3
    J [fixed] Import issue with alternate movie title matching the name of another movie Submit: Bug Reports 7
    1gkar Latest Intel HD4600 Drivers Issue General Support 1
    J Odd issues with Freesat EPG - MP2 General 18
    DHosein Mediaportal & Antimalware Service High CPU issue General Support 2
    J MediaPortal TV Server and Kodi media source issues General 9
    S Movie navigation issues in MP2 General 8
    cbr954rr Issue BOOTSUWRNQ with online videos? Plugin Development 1
    2BitSculptor MP1.23 release mediainfo issue? MediaPortal 1 Talk 4
    A TV Channel Combination - case issue Television (MyTV frontend and TV-Server) 0
    Edwardfc [solved] Mp 2.2.1 Configuration Issues - Goes to Sleep while playing Music General 6
    G Amazon Prime (Online Videos) Issue Plugin Development 6
    joecrow 1.22.0 MPE Manager issues. 1.22 5
    M [solved] MP2 v 2.2.1 Issue - Registry Key not created General 5
    D [solved] Multiple issues with new MP2.2.1 install 2.2 Archive 7
    S [solved] Live TV subtitle issue if not using 100% font General 31
    T FF or Rewind video issue watch/edit Videos 0
    K server issue OffTopic 0
    T Issues with MediaPortal not starting correctly using versions after 1.20 Final General Support 6
    johns11 [solved] MP2.2 TV configuration issue General 4
    A Issues with new install of My Emulators 2 My Emulators 11
    R [fixed] [MP2-799] New Manual Schedule issue. 2.2 Archive 8
    Top Bottom