[MovieMeterAPI] error: CookComputing.XmlRpc.XmlRpcIllFormedXmlException (1 Viewer)

HomeY

Test Group
  • Team MediaPortal
  • February 23, 2008
    6,475
    4,645
    49
    ::1
    Home Country
    Netherlands Netherlands
    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:
    15-Nov-2016 18:09:58 Debug [ DataProviderManager]: UPDATE: Title='Hell or High Water', Provider='IMDb+', Version=4.9.66, Result=SUCCESS 
    15-Nov-2016 18:10:02 Debug [ DataProviderManager]: UPDATE: Title='Hell or High Water', Provider='imdb.com', Version=3.0.2, Result=SUCCESS 
    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.
       at System.Xml.XmlTextReaderImpl.Throw(Exception e)
       at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
       at System.Xml.XmlTextReaderImpl.ThrowTagMismatch(NodeData startTag)
       at System.Xml.XmlTextReaderImpl.ParseEndElement()
       at System.Xml.XmlTextReaderImpl.ParseElementContent()
       at System.Xml.XmlTextReaderImpl.Read()
       at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
       at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
       at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
       at System.Xml.XmlDocument.Load(XmlReader reader)
       at System.Xml.XmlDocument.Load(Stream inStream)
       at CookComputing.XmlRpc.XmlRpcSerializer.DeserializeResponse(Stream stm, Type svcType)
       --- End of inner exception stack trace ---
       at CookComputing.XmlRpc.XmlRpcSerializer.DeserializeResponse(Stream stm, Type svcType)
       at CookComputing.XmlRpc.XmlRpcClientProtocol.ReadResponse(XmlRpcRequest req, WebResponse webResp, Stream respStm, Type returnType)
       at CookComputing.XmlRpc.XmlRpcClientProtocol.Invoke(Object clientObj, MethodInfo mi, Object[] parameters)
       at CookComputing.XmlRpc.XmlRpcClientProtocol.Invoke(MethodInfo mi, Object[] Parameters)
       at XmlRpcProxyaabc94cb-2752-447d-a681-fe7d066ff73b.StartSession(String apikey)
       at MediaPortal.Plugins.MovingPictures.DataProviders.MovieMeter.MovieMeterAPI.getSessionKey() 
    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.
       at System.Xml.XmlTextReaderImpl.Throw(Exception e)
       at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
       at System.Xml.XmlTextReaderImpl.ThrowTagMismatch(NodeData startTag)
       at System.Xml.XmlTextReaderImpl.ParseEndElement()
       at System.Xml.XmlTextReaderImpl.ParseElementContent()
       at System.Xml.XmlTextReaderImpl.Read()
       at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
       at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
       at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
       at System.Xml.XmlDocument.Load(XmlReader reader)
       at System.Xml.XmlDocument.Load(Stream inStream)
       at CookComputing.XmlRpc.XmlRpcSerializer.DeserializeResponse(Stream stm, Type svcType)
       --- End of inner exception stack trace ---
       at CookComputing.XmlRpc.XmlRpcSerializer.DeserializeResponse(Stream stm, Type svcType)
       at CookComputing.XmlRpc.XmlRpcClientProtocol.ReadResponse(XmlRpcRequest req, WebResponse webResp, Stream respStm, Type returnType)
       at CookComputing.XmlRpc.XmlRpcClientProtocol.Invoke(Object clientObj, MethodInfo mi, Object[] parameters)
       at CookComputing.XmlRpc.XmlRpcClientProtocol.Invoke(MethodInfo mi, Object[] Parameters)
       at XmlRpcProxyaabc94cb-2752-447d-a681-fe7d066ff73b.RetrieveByImdb(String sessionkey, String imdb_code)
       at MediaPortal.Plugins.MovingPictures.DataProviders.MovieMeter.MovieMeterAPI.GetMovieMeterId(String imdbId) 
    15-Nov-2016 18:10:02 Debug [ DataProviderManager]: UPDATE: Title='Hell or High Water', Provider='moviemeter.nl', Version=Internal, Result=FAILED_NEED_ID 
    15-Nov-2016 18:10:02 Debug [     DatabaseManager]: UPDATING: Hell or High Water
    [/hide]
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    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?
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    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.
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    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.
     

    Users who are viewing this thread

    Top Bottom