Scraper error in MovPic v1.0.0

Discussion in 'Moving Pictures' started by RoChess, December 3, 2009.

  1. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,186
    Likes Received:
    1,305
    Ratings:
    +1,684 / 2
    I notice on quite a few movies I'm getting:

    03-Dec-2009 12:47:10 Error [ ScraperNode]: Scraper Script XPATH parsing failed: Root element is missing.

    I'm presuming it is because the 'IMDbEnglishTitle.1.0.2.xml' scraper can't match up certain aspects, such as missing plot, or something. I tried to look at the SVN on news regarding updates, but failed to see anything related to this part.

    If I adjust error logging to debug mode, will it show me more info then? It would be nice to know exactly what failed.



    Or has a new update of the scraper been released and I've been looking in the wrong place for it?
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. fforde

    fforde Community Plugin Dev

    Joined:
    June 7, 2007
    Messages:
    2,666
    Likes Received:
    1,690
    Occupation:
    Software Engineer
    Location:
    Texas
    Ratings:
    +1,696 / 0
    Home Country:
    United States of America United States of America
    Basically this means that a scraper script tried to use XPath to parse some XML but the block of text the scraper was using as an input was not in fact XML. This is mostly harmless but indicates a flaw in one of the scraper scripts (most likely the XBMC script. Would you mind posting your full logs on a Google Code bug report?
     
  4. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,186
    Likes Received:
    1,305
    Ratings:
    +1,684 / 2
    It doesn't happen on every movie, but it happens enough.

    Unfortunatly I was testing something else and had cleared the log files, but I'll focus on just this issue on the next import (most likely later today). Then you have extremly clean log files to examine.
     
  5. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,186
    Likes Received:
    1,305
    Ratings:
    +1,684 / 2
    My log files are a mess still if I would give them as a whole (still busy adapting my collection), so I waited a few hours till Moving Picture plugin was done modifying the log file and then re-added a movie that I previously deleted. The result is small enough that I figured I just post it right in here.

    Code (Text):
    1. 04-Dec-2009 12:27:44  Info [       MovieImporter]: Watcher queued Freddy VS Ghostbusters (2004, Director's Cut) - 480x258 WMV @ 96k.wmv for processing.
    2. 04-Dec-2009 12:27:46 Debug [VideoFormatExtension]: Identifier: Path='E:\Fantasy\Freddy VS Ghostbusters (2004, Director's Cut) - 480x258 WMV @ 96k.wmv', Format='File', Hash='91ca026a09568dd3'  
    3. 04-Dec-2009 12:27:49 Debug [ DataProviderManager]: SEARCH: Title='Freddy VS Ghostbusters', Provider='imdb.com', Version=1.3.2, Number of Results=1
    4. 04-Dec-2009 12:27:50 Debug [ DataProviderManager]: SEARCH: Title='Freddy VS Ghostbusters', Provider='themoviedb.org', Version=Internal, Number of Results=0
    5. 04-Dec-2009 12:27:50 Error [         ScraperNode]: Scraper Script XPATH parsing failed: Root element is missing.
    6. 04-Dec-2009 12:27:50 Debug [ DataProviderManager]: SEARCH: Title='Freddy VS Ghostbusters', Provider='mymovies.xml (Local)', Version=0.9.0, Number of Results=0
    7. 04-Dec-2009 12:27:50 Debug [ DataProviderManager]: SEARCH: Title='Freddy VS Ghostbusters', Provider='XBMC', Version=1.0.0, Number of Results=0
    8. 04-Dec-2009 12:27:50 Debug [ DataProviderManager]: SEARCH: Title='Freddy VS Ghostbusters', Provider='MyVideos (Local)', Version=Internal, Number of Results=0
    9. 04-Dec-2009 12:27:50 Debug [      MovieSignature]: MATCHING: 'freddy vs ghostbusters' WITH: 'Freddy VS Ghostbusters' RESULT: TitleScore=0, YearScore=0, ImdbMatch=False, AlternateTitleUsed=False, AlternateTitle='', AutoApprove=True
    10. 04-Dec-2009 12:27:50 Debug [       MovieImporter]: Built MediaSignature: Path= "E:\Fantasy", Folder= "Fantasy", File= "Freddy VS Ghostbusters (2004, Director's Cut) - 480x258 WMV @ 96k.wmv", Keywords= "Freddy VS Ghostbusters", Title= "Freddy VS Ghostbusters", Year= 2004, DiscId= "", MovieHash= "91ca026a09568dd3", ImdbId= ""
    11. 04-Dec-2009 12:27:50  Info [       MovieImporter]: Auto-approved Freddy VS Ghostbusters (2004, Director's Cut) - 480x258 WMV @ 96k.wmv as Freddy VS Ghostbusters
    12. 04-Dec-2009 12:27:50  Info [       MovieImporter]: Retrieving details for "Freddy VS Ghostbusters"
    13. 04-Dec-2009 12:27:50 Debug [     DatabaseManager]: INSERTING: Freddy VS Ghostbusters (2004, Director's Cut) - 480x258 WMV @ 96k.wmv
    14. 04-Dec-2009 12:27:52 Debug [ DataProviderManager]: UPDATE: Title='Freddy VS Ghostbusters', Provider='imdb.com', Version=1.3.2, Result=SUCCESS
    15. 04-Dec-2009 12:27:53 Debug [ DataProviderManager]: UPDATE: Title='Freddy VS Ghostbusters', Provider='themoviedb.org', Version=Internal, Result=FAILED_NEED_ID
    16. 04-Dec-2009 12:27:53 Debug [ DataProviderManager]: UPDATE: Title='Freddy VS Ghostbusters', Provider='mymovies.xml (Local)', Version=0.9.0, Result=FAILED_NEED_ID
    17. 04-Dec-2009 12:27:56 Debug [         DBMovieInfo]: Added cover art for 'Freddy VS Ghostbusters' [] from http://ia.media-imdb.com/images/M/MV5BMTc3OTY5MTE0NV5BMl5BanBnXkFtZTcwNTc5OTcyMQ@@._V1._SX257_SY400_.jpg.
    18. 04-Dec-2009 12:27:57 Debug [     DatabaseManager]: INSERTING: DBUserMovieSettings ()
    19. 04-Dec-2009 12:27:57 Debug [     DatabaseManager]: INSERTING: Freddy VS Ghostbusters
    20. 04-Dec-2009 12:27:57 Debug [     DatabaseManager]: INSERTING: DBSourceMovieInfo: Freddy VS Ghostbusters (tt0439576) from imdb.com
    21. 04-Dec-2009 12:27:57 Debug [     DatabaseManager]: INSERTING: DBSourceMovieInfo: Freddy VS Ghostbusters () from themoviedb.org
    22. 04-Dec-2009 12:27:57 Debug [     DatabaseManager]: INSERTING: DBSourceMovieInfo: Freddy VS Ghostbusters () from mymovies.xml (Local)
    23. 04-Dec-2009 12:27:57 Debug [     DatabaseManager]: INSERTING: DBSourceMovieInfo: Freddy VS Ghostbusters () from movieposterdb.com
    24. 04-Dec-2009 12:27:57 Debug [     DatabaseManager]: INSERTING: DBSourceMovieInfo: Freddy VS Ghostbusters () from XBMC
    25. 04-Dec-2009 12:27:57 Debug [     DatabaseManager]: UPDATING: Freddy VS Ghostbusters
    26. 04-Dec-2009 12:27:57  Info [       MovieImporter]: Retrieving media information for: Freddy VS Ghostbusters
    27. 04-Dec-2009 12:27:57 Debug [        DBLocalMedia]: Updating media info for 'E:\Fantasy\Freddy VS Ghostbusters (2004, Director's Cut) - 480x258 WMV @ 96k.wmv'
    28. 04-Dec-2009 12:27:57 Debug [    MediaInfoWrapper]: MediaInfoWrapper: inspecting media : E:\Fantasy\Freddy VS Ghostbusters (2004, Director's Cut) - 480x258 WMV @ 96k.wmv
    29. 04-Dec-2009 12:27:57 Debug [    MediaInfoWrapper]: MediaInfoWrapper: FrameRate : 29.97
    30. 04-Dec-2009 12:27:57 Debug [    MediaInfoWrapper]: MediaInfoWrapper: VideoCodec : wmv3
    31. 04-Dec-2009 12:27:57 Debug [    MediaInfoWrapper]: MediaInfoWrapper: IsWMV: True
    32. 04-Dec-2009 12:27:57 Debug [    MediaInfoWrapper]: MediaInfoWrapper: HasSubtitles : False
    33. 04-Dec-2009 12:27:57 Debug [    MediaInfoWrapper]: MediaInfoWrapper: NumSubtitles : 0
    34. 04-Dec-2009 12:27:57 Debug [    MediaInfoWrapper]: MediaInfoWrapper: Scan type : progressive
    35. 04-Dec-2009 12:27:57 Debug [    MediaInfoWrapper]: MediaInfoWrapper: IsInterlaced: False
    36. 04-Dec-2009 12:27:57 Debug [    MediaInfoWrapper]: MediaInfoWrapper: Width : 480
    37. 04-Dec-2009 12:27:57 Debug [    MediaInfoWrapper]: MediaInfoWrapper: Height : 258
    38. 04-Dec-2009 12:27:57 Debug [    MediaInfoWrapper]: MediaInfoWrapper: Audiochannels : 2
    39. 04-Dec-2009 12:27:57 Debug [    MediaInfoWrapper]: MediaInfoWrapper: Audiorate : 44100
    40. 04-Dec-2009 12:27:57 Debug [    MediaInfoWrapper]: MediaInfoWrapper: AspectRatio : widescreen
    41. 04-Dec-2009 12:27:57 Debug [    MediaInfoWrapper]: MediaInfoWrapper: AudioCodec : wma2
    42. 04-Dec-2009 12:27:57 Debug [    MediaInfoWrapper]: MediaInfoWrapper: IsWMA: True
    43. 04-Dec-2009 12:27:57 Debug [     DatabaseManager]: UPDATING: Freddy VS Ghostbusters (2004, Director's Cut) - 480x258 WMV @ 96k.wmv
    44. 04-Dec-2009 12:27:57  Info [       MovieImporter]: Added "Freddy VS Ghostbusters".
    45.  
    I was unable to locate the Scraper debug setting as per your link: "Moving Pictures" -> "About" -> "Advanced Settings" -> "Data Source Manager Enhanced Debug Mode"

    Did that get removed in v1.0.0? To be on the safe side I did enable the "Internal" -> "Skinners Debug Mode", but doesn't seem to have made any difference on this.
     
  6. fforde

    fforde Community Plugin Dev

    Joined:
    June 7, 2007
    Messages:
    2,666
    Likes Received:
    1,690
    Occupation:
    Software Engineer
    Location:
    Texas
    Ratings:
    +1,696 / 0
    Home Country:
    United States of America United States of America
    Sorry the wiki is out of data, to turn on debug mode for the scraper engine goto the Importer Settings tab, click "Manually Manage Data Sources", click the "Movie Details Sources" button. Then click the gear toolbar icon and click "Enable Debug Mode". The log file you have posted is not of much use as is, so it will be necesary to enable the Scraper Engine debug mode.

    And please do not post raw logs like that in the forum, all logs need to be posted as an attachment. And as I asked above, please
    attach your logs to a new Google Code bug report.
     
  7. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,186
    Likes Received:
    1,305
    Ratings:
    +1,684 / 2
    Darn, I can see why that option is hidden, I had to let MovingPicture do it's job for a bit there, the log file was growing over 300MB. So I filtered it down to just the action of moving the folder, which still resulted in over a megabyte.

    I don't have a Google Code account, so I hope you don't mind me attaching it here. I wasn't sure if you have 7-zip which resulted in a 24kB compressed file, so I went the safe route with ZIP format.
     

    Attached Files:

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!