[fixed] MP crashes when use Fanart download (1 Viewer)

ShIvADeSt

Portal Pro
May 30, 2009
71
2
MediaPortal Version: 1.2.0 beta
MediaPortal Skin: DefaultWide

I wanna use fanart for my movies. So I have installed fanart handler 2.2.4.502, which compatable with 1.2.0 beta. I checked the check-buttons Use Fanart and Download fanart for share view. Then I try to retrive video info for movie. But MP crashes when try to download Fanart.
Code:
2011-05-07 16:11:22.672045 [Debug][MPMain(1)]: DialogWindow: MediaPortal.Dialogs.GUIDialogProgress init
2011-05-07 16:11:29.459433 [Info.][IMDBDetails(16)]: Picture URL: http://cf1.imgobject.com/posters/23d/4cb1277e5e73d65b8100023d/127-hours-original.jpg
2011-05-07 16:11:29.545438 [Debug][(15)]: fileSystemWatcher_Created file c:\programdata\team mediaportal\mediaportal\thumbs\Skin FanArt\Scraper\movies\127 часов   127 Hours{0}.jpg
2011-05-07 16:11:29.556438 [Debug][(15)]: fileSystemWatcher_Deleted file c:\programdata\team mediaportal\mediaportal\thumbs\Skin FanArt\Scraper\movies\127 часов   127 Hours{0}.jpg
2011-05-07 16:11:29.557438 [Info.][IMDBDetails(16)]: MediaPortal: Unhandled exception occured
2011-05-07 16:11:29.565439 [Info.][IMDBDetails(16)]: Exception   :System.IO.FileNotFoundException: Файл "C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Movies\127 часов   127 Hours{0}.jpg" не найден.
Имя файла: "C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Movies\127 часов   127 Hours{0}.jpg"
   в System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   в System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)
   в MediaPortal.Util.FanArt.GetLocalFanart(String path, String filename, String title, String localFile, Int32 index, Boolean share)
   в MediaPortal.Video.Database.IMDBFetcher.FetchDetailsThread()
   в System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   в System.Threading.ThreadHelper.ThreadStart()
2011-05-07 16:11:29.567439 [Info.][IMDBDetails(16)]: Exception   :Файл "C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Movies\127 часов   127 Hours{0}.jpg" не найден.
2011-05-07 16:11:29.569439 [Info.][IMDBDetails(16)]:   site      :Void WinIOError(Int32, System.String)
2011-05-07 16:11:29.571439 [Info.][IMDBDetails(16)]:   source    :mscorlib
2011-05-07 16:11:29.573439 [Info.][IMDBDetails(16)]:   stacktrace:   в System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   в System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)
   в MediaPortal.Util.FanArt.GetLocalFanart(String path, String filename, String title, String localFile, Int32 index, Boolean share)
   в MediaPortal.Video.Database.IMDBFetcher.FetchDetailsThread()
   в System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   в System.Threading.ThreadHelper.ThreadStart()
2011-05-07 16:11:31.617556 [Debug][MPMain(1)]: WindowManager: unroute to MediaPortal.Dialogs.GUIDialogProgress:101->MediaPortal.GUI.Video.GUIVideoInfo:2003
I dont know sure is this a bug MP or plugin. Please look logs.
 

Seidelin

Retired Team Member
  • Premium Supporter
  • August 14, 2006
    1,755
    652
    Kgs. Lyngby
    Denmark Denmark
    Country flag
    Procedure is to report such bugs to plugin developer. He can then investigate, and should the bug be on MP side, report it to the team.
     

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    United Kingdom United Kingdom
    Country flag
    Not got time to take more than a cursory look but I think this is within MP video section and not fanart handler?
    Code:
    MediaPortal.Video.Database.IMDBFetcher.FetchDetailsThread()
    This is the IMBD scraper ??

    The fact it is mscorlib means it could be anything but my bet is on odd characters (either unicode or something non-printable like the issue user was having with spaces)
     

    elliottmc

    Retired Team Member
  • Premium Supporter
  • August 7, 2005
    14,927
    6,061
    Cardiff, UK
    United Kingdom United Kingdom
    Country flag
    Not got time to take more than a cursory look but I think this is within MP video section and not fanart handler?
    Code:
    MediaPortal.Video.Database.IMDBFetcher.FetchDetailsThread()
    This is the IMBD scraper ??

    The fact it is mscorlib means it could be anything but my bet is on odd characters (either unicode or something non-printable like the issue user was having with spaces)
    I think in a previous thread that this user has said he is in Russia, so this is a sensible guess.

    Best thing to do is disable FanArtHandler plugin (which is not a core part of MediaPortal) and try to reproduce this.

    Mark
     

    ShIvADeSt

    Portal Pro
    May 30, 2009
    71
    2
    Without FanartHandler I cannot check Fanart checkbox. So without this plugin it cannot reproduce.
    So will I must post it in Fanart plugin section or in this thread? Simply wish more faster correction of this problem and fix it to RC1.
     

    elliottmc

    Retired Team Member
  • Premium Supporter
  • August 7, 2005
    14,927
    6,061
    Cardiff, UK
    United Kingdom United Kingdom
    Country flag
    Without FanartHandler I cannot check Fanart checkbox. So without this plugin it cannot reproduce.
    So will I must post it in Fanart plugin section or in this thread? Simply wish more faster correction of this problem and fix it to RC1.
    If you cannot reproduce the problem without the fanart handler plugin, then you need to report the problem to the plugin developer.

    As Seidelin told you, if the plugin developer confirms that the actual problem is within MediaPortal, he will report it.

    Mark
     

    Deda

    Lead Dev MP1 Videos
  • Premium Supporter
  • March 18, 2009
    2,423
    2,385
    Zagreb
    Croatia Croatia
    Country flag
    It's not fanart plugin mistake, there is something wrong in copy fanart image (file not found exception) -> file was created then deleted then it tried to copy but file was missing. Will check it out.
     

    Deda

    Lead Dev MP1 Videos
  • Premium Supporter
  • March 18, 2009
    2,423
    2,385
    Zagreb
    Croatia Croatia
    Country flag
    Can you try with this file (jsut keep backup of core.dll).
     

    ShIvADeSt

    Portal Pro
    May 30, 2009
    71
    2
    Can you try with this file (jsut keep backup of core.dll).
    No didn't help. Logs are attached.
    And 1 question - who is downloading fanart, when fanart handler plugin installed? Simply - fanart handler doesnt dowload backdrops for video files, only for music. So it must be MP. But I didn't find any fanart scrapper (grabber) and I think If it did MP, so from where it tries and why none in logs that MP try to download backdrop from somewhere?
     

    Deda

    Lead Dev MP1 Videos
  • Premium Supporter
  • March 18, 2009
    2,423
    2,385
    Zagreb
    Croatia Croatia
    Country flag
    Ok, could you be so kind to do the same thing with this file (extra logging to see what is exactly happening there when trying to copy files).

    Fanart logic within MP is not related to plugin, few things:

    1. If you disable in Configuration/videos fanart options fanart handler plugin will still work
    2. Downloading fanart is just an automation which helps to not to do that manually. It uses imdbtt number or if that number is not available, movie title, searches TMDB by it's API and copy results into MPConfig - MediaPortal\Thumbs\Skin FanArt\Scraper\Movies with filenames as Movie title (for database view) and as like movie filename (for share view - if that option is checked) with added extension {0 to 4} if you want to have multiple fanart for one movie (cycling fanart feature from fanarthandler plugin).
     

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

    OP Similar threads Forum Replies Date
    L Service keeps crashing General 3
    U [solved] MediaPortal crashing on startup General Support 10
    RoChess Weird GPU crash -- possible cause: resizing media MediaPortal 1 Talk 8
    torone Dritter versuch mit Mediaportal 2 Allgemeines Support- und Diskussionsforum 1
    W [solved] MP suddenly Crashes when starting live TV on most channels and on recordings from the same channels General Support 20
    W [solved] MP suddenly Crashes when starting live TV on some channels and on some recordings Television (MyTV frontend and TV-Server) 1
    D [solved] Changed username in Win10, now TV Server config crashes on fresh install Installation, configuration support 1
    ajs Trakt error when start with MP crash Trakt 1
    R TV server crash with WintTV quadHD General 0
    Dark Eyes TVService locks up or fails to restart on resuming from sleep, and crashes when grabbing EPG Installation, configuration support 7
    atlantic [solved] MP1.24 Pre released crash in TV General Support 12
    RoChess Random GPU crash leads to MePo restart, but works fine afterwards MediaPortal 1 14
    R [fixed] [MP2-819] MP2 Server crashes on ATSC OTA channel scan Submit: Bug Reports 33
    doskabouter 1.23.0 Crash when skipping in a dvd Bugreports 3
    J [fixed] [MP2-833] 2.2.2 server crash during import Submit: Bug Reports 50
    P MP2 TV Server crashes when starting - throws error remoting exception General 2
    G MP Crashed during setting up recording. Newcomers Forum 1
    Rob Hexenmeister DVD Skip steps causing crash General Support 2
    badboyxx MP 1.22 final is crashing when jumping forward while playing DVD-Iso watch/edit Videos 26
    Terra Crash when opening ACTORS list My TVSeries 3
    Terra Crash when searching movies, reproducable Moving Pictures 2
    KlausWirn Music crash Bass crash no change to play music Installation, configuration support 2
    cladinshadows85 [solved] Audio playing mutiple times over video and crashing General 8
    joecrow Win 10 crash, hang and freeze with USB Tuner. General Support 13
    S Crashing on some IPTV channels General Support 21
    Similar threads

























    Top Bottom