[MovieMeterAPI] error: CookComputing.XmlRpc.XmlRpcIllFormedXmlException

Discussion in 'IMDb+' started by HomeY, November 15, 2016.

  1. HomeY
    • Team MediaPortal

    HomeY Test Group

    Joined:
    February 23, 2008
    Messages:
    6,460
    Likes Received:
    2,627
    Gender:
    Male
    Occupation:
    Network Engineer
    Location:
    ::1
    Ratings:
    +4,737 / 16
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Hi @RoChess

    I think the MovieMeterAPI had an update, since my movies aren't scraping the Dutch summary anymore. On the other hand... it's not scraping the (fallback) English summaries either.
    Since it's MovieMeterAPI errors showing up in log, i suspect it to be related to IMDb+, but i could be wrong.
    Could you have a look please? ;)



    [hide]
    Code (Text):
    1. 15-Nov-2016 18:09:58 Debug [ DataProviderManager]: UPDATE: Title='Hell or High Water', Provider='IMDb+', Version=4.9.66, Result=SUCCESS
    2. 15-Nov-2016 18:10:02 Debug [ DataProviderManager]: UPDATE: Title='Hell or High Water', Provider='imdb.com', Version=3.0.2, Result=SUCCESS
    3. 15-Nov-2016 18:10:02 Error [       MovieMeterAPI]: CookComputing.XmlRpc.XmlRpcIllFormedXmlException: Response from server does not contain valid XML. ---> System.Xml.XmlException: The 'link' start tag on line 22 position 7 does not match the end tag of 'head'. Line 24, position 6.
    4.    at System.Xml.XmlTextReaderImpl.Throw(Exception e)
    5.    at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
    6.    at System.Xml.XmlTextReaderImpl.ThrowTagMismatch(NodeData startTag)
    7.    at System.Xml.XmlTextReaderImpl.ParseEndElement()
    8.    at System.Xml.XmlTextReaderImpl.ParseElementContent()
    9.    at System.Xml.XmlTextReaderImpl.Read()
    10.    at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
    11.    at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
    12.    at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
    13.    at System.Xml.XmlDocument.Load(XmlReader reader)
    14.    at System.Xml.XmlDocument.Load(Stream inStream)
    15.    at CookComputing.XmlRpc.XmlRpcSerializer.DeserializeResponse(Stream stm, Type svcType)
    16.    --- End of inner exception stack trace ---
    17.    at CookComputing.XmlRpc.XmlRpcSerializer.DeserializeResponse(Stream stm, Type svcType)
    18.    at CookComputing.XmlRpc.XmlRpcClientProtocol.ReadResponse(XmlRpcRequest req, WebResponse webResp, Stream respStm, Type returnType)
    19.    at CookComputing.XmlRpc.XmlRpcClientProtocol.Invoke(Object clientObj, MethodInfo mi, Object[] parameters)
    20.    at CookComputing.XmlRpc.XmlRpcClientProtocol.Invoke(MethodInfo mi, Object[] Parameters)
    21.    at XmlRpcProxyaabc94cb-2752-447d-a681-fe7d066ff73b.StartSession(String apikey)
    22.    at MediaPortal.Plugins.MovingPictures.DataProviders.MovieMeter.MovieMeterAPI.getSessionKey()
    23. 15-Nov-2016 18:10:02 Error [       MovieMeterAPI]: CookComputing.XmlRpc.XmlRpcIllFormedXmlException: Response from server does not contain valid XML. ---> System.Xml.XmlException: The 'link' start tag on line 22 position 7 does not match the end tag of 'head'. Line 24, position 6.
    24.    at System.Xml.XmlTextReaderImpl.Throw(Exception e)
    25.    at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
    26.    at System.Xml.XmlTextReaderImpl.ThrowTagMismatch(NodeData startTag)
    27.    at System.Xml.XmlTextReaderImpl.ParseEndElement()
    28.    at System.Xml.XmlTextReaderImpl.ParseElementContent()
    29.    at System.Xml.XmlTextReaderImpl.Read()
    30.    at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
    31.    at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
    32.    at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
    33.    at System.Xml.XmlDocument.Load(XmlReader reader)
    34.    at System.Xml.XmlDocument.Load(Stream inStream)
    35.    at CookComputing.XmlRpc.XmlRpcSerializer.DeserializeResponse(Stream stm, Type svcType)
    36.    --- End of inner exception stack trace ---
    37.    at CookComputing.XmlRpc.XmlRpcSerializer.DeserializeResponse(Stream stm, Type svcType)
    38.    at CookComputing.XmlRpc.XmlRpcClientProtocol.ReadResponse(XmlRpcRequest req, WebResponse webResp, Stream respStm, Type returnType)
    39.    at CookComputing.XmlRpc.XmlRpcClientProtocol.Invoke(Object clientObj, MethodInfo mi, Object[] parameters)
    40.    at CookComputing.XmlRpc.XmlRpcClientProtocol.Invoke(MethodInfo mi, Object[] Parameters)
    41.    at XmlRpcProxyaabc94cb-2752-447d-a681-fe7d066ff73b.RetrieveByImdb(String sessionkey, String imdb_code)
    42.    at MediaPortal.Plugins.MovingPictures.DataProviders.MovieMeter.MovieMeterAPI.GetMovieMeterId(String imdbId)
    43. 15-Nov-2016 18:10:02 Debug [ DataProviderManager]: UPDATE: Title='Hell or High Water', Provider='moviemeter.nl', Version=Internal, Result=FAILED_NEED_ID
    44. 15-Nov-2016 18:10:02 Debug [     DatabaseManager]: UPDATING: Hell or High Water
    [/hide]
     
    • Like Like x 1
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,238
    Likes Received:
    1,334
    Ratings:
    +1,743 / 2
    What did they update though?

    I can see that http://www.moviemeter.nl/api/film/tt0499549&api_key=bla.bla.bla.key.goes.here is failing to load (opens blank moviemeter page with logo/header/footer), but their wiki article still says that is the way to do it.

    Unless they revoked my API key, but I didn't get any message to that extend. Of course I can't even remember anymore how I got it initially :)

    Fallback is probably failing due to total failure with MovieMeter.nl, so I rather get that fixed first.

    Battling sickness though, so can you help me out with communicating with MovieMeter?
     
    • Like Like x 1
  4. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,238
    Likes Received:
    1,334
    Ratings:
    +1,743 / 2
    Found out where I got the API key from, so I send Jordy @ MovieMeter an e-mail asking to help.

    Hopefully, it is something easy like obtaining a new key, and that they did not kill the service.
     
    • Like Like x 1
  5. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,238
    Likes Received:
    1,334
    Ratings:
    +1,743 / 2
    Everything works again.

    Jordy pointed out the obvious; in that & should be ? for proper URL syntax.

    I'll hide behind my sickness for not noticing that one myself :whistle:

    They must have updated something recently on their end that stopped accepting the bad URL, and Jordy did mention that their API way back had it listed wrong, and I copy-n-pasted their example initially.
     
    • Like Like x 1
    • Thank You! Thank You! x 1
  6. HomeY
    • Team MediaPortal

    HomeY Test Group

    Joined:
    February 23, 2008
    Messages:
    6,460
    Likes Received:
    2,627
    Gender:
    Male
    Occupation:
    Network Engineer
    Location:
    ::1
    Ratings:
    +4,737 / 16
    Home Country:
    Netherlands Netherlands
    Show System Specs
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!