2019-02-04 17:31:38,774 (7ff99b73e700) :  INFO (core:349) - Starting framework core - Version: 2.6.3, Build: cc260c4 (Fri Dec 14 20:06:30 UTC 2018)
2019-02-04 17:31:38,774 (7ff99b73e700) :  DEBUG (core:361) - Using the elevated policy
2019-02-04 17:31:38,775 (7ff99b73e700) :  DEBUG (core:450) - Starting runtime component.
2019-02-04 17:31:38,798 (7ff99b73e700) :  DEBUG (core:450) - Starting caching component.
2019-02-04 17:31:38,798 (7ff99b73e700) :  DEBUG (core:450) - Starting data component.
2019-02-04 17:31:38,799 (7ff99b73e700) :  DEBUG (core:450) - Starting networking component.
2019-02-04 17:31:38,800 (7ff99b73e700) :  DEBUG (networking:284) - Loaded HTTP cookies
2019-02-04 17:31:38,803 (7ff99b73e700) :  DEBUG (networking:452) - Setting the default network timeout to 20.0
2019-02-04 17:31:38,804 (7ff99b73e700) :  DEBUG (core:450) - Starting localization component.
2019-02-04 17:31:38,805 (7ff99b73e700) :  INFO (localization:409) - Setting the default locale to en-us
2019-02-04 17:31:38,805 (7ff99b73e700) :  DEBUG (core:450) - Starting messaging component.
2019-02-04 17:31:38,806 (7ff99b73e700) :  DEBUG (core:450) - Starting debugging component.
2019-02-04 17:31:38,806 (7ff99b73e700) :  DEBUG (core:450) - Starting services component.
2019-02-04 17:31:38,807 (7ff99b73e700) :  DEBUG (core:450) - Starting myplex component.
2019-02-04 17:31:38,807 (7ff99b73e700) :  DEBUG (core:450) - Starting notifications component.
2019-02-04 17:31:38,829 (7ff9737fe700) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/system/messaging/clear_events/com.plexapp.agents.lastfm'
2019-02-04 17:31:39,071 (7ff99b73e700) :  DEBUG (accessor:68) - Creating a new model access point for provider com.plexapp.agents.lastfm in namespace 'metadata'
2019-02-04 17:31:39,077 (7ff99b73e700) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes'
2019-02-04 17:31:39,098 (7ff9737fe700) :  DEBUG (services:265) - Plug-in is not daemonized - loading services from system
2019-02-04 17:31:39,098 (7ff99b73e700) :  DEBUG (runtime:1117) - Created a thread named 'load_all_services'
2019-02-04 17:31:39,099 (7ff9737fe700) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMApyMAo_'
2019-02-04 17:31:39,100 (7ff99b73e700) :  DEBUG (runtime:1117) - Created a thread named 'get_server_info'
2019-02-04 17:31:39,101 (7ff99b73e700) :  DEBUG (core:150) - Finished starting framework core
2019-02-04 17:31:39,101 (7ff9727fc700) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400'
2019-02-04 17:31:39,102 (7ff99b73e700) :  DEBUG (core:560) - Loading plug-in code
2019-02-04 17:31:39,539 (7ff99b73e700) :  DEBUG (core:566) - Finished loading plug-in code
2019-02-04 17:31:39,540 (7ff99b73e700) :  DEBUG (messaging:69) - Exposing function ArtistMbidLookup for remote access
2019-02-04 17:31:39,541 (7ff99b73e700) :  DEBUG (messaging:69) - Exposing function GetMusicBrainzId for remote access
2019-02-04 17:31:39,541 (7ff9727fc700) :  DEBUG (core:538) - Machine identifier is 283164fc0a3582db04b639ef001ace0798b23cf9
2019-02-04 17:31:39,541 (7ff99b73e700) :  DEBUG (messaging:69) - Exposing function ArtistSearch for remote access
2019-02-04 17:31:39,541 (7ff9727fc700) :  DEBUG (core:539) - Server version is 1.14.1.5488-cc260c476
2019-02-04 17:31:39,542 (7ff99b73e700) :  DEBUG (messaging:69) - Exposing function AlbumSearch for remote access
2019-02-04 17:31:39,542 (7ff99b73e700) :  DEBUG (messaging:69) - Exposing function ArtistTopTracks for remote access
2019-02-04 17:31:39,542 (7ff99b73e700) :  DEBUG (messaging:69) - Exposing function ArtistGetSimilar for remote access
2019-02-04 17:31:39,543 (7ff99b73e700) :  DEBUG (messaging:69) - Exposing function ArtistGetEvents for remote access
2019-02-04 17:31:39,543 (7ff99b73e700) :  DEBUG (agentkit:1115) - Creating new agent class called LastFmAgent
2019-02-04 17:31:39,544 (7ff99b73e700) :  DEBUG (agentkit:933) - Updating agent information: [{'media_types': ['Artist'], 'accepts_from': None, 'fallback_agent': None, 'contributes_to': None, 'languages': ['en', 'sv', 'fr', 'es', 'de', 'pl', 'it', 'pt', 'ja', 'tr', 'ru', 'zh'], 'persist_stored_files': True, 'version': 0, 'primary_provider': True, 'prefs': True, 'name': 'Last.fm'}]
2019-02-04 17:31:39,545 (7ff99b73e700) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0FnZW50U2VydmljZTpVcGRhdGVJbmZv/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQo1CmRpY3QKbGlzdApkaWN0Cmxpc3QKbGlzdAoyCnMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEwCmlkZW50aWZpZXJyMQpzMTAKYWdlbnRfaW5mbzEKcjIKMTAKcjMKczExCm1lZGlhX3R5cGVzbnMxMgphY2NlcHRzX2Zyb21uczE0CmZhbGxiYWNrX2FnZW50bnMxNApjb250cmlidXRlc190b3I0CnM5Cmxhbmd1YWdlc2IxczIwCnBlcnNpc3Rfc3RvcmVkX2ZpbGVzaTAKczcKdmVyc2lvbmIxczE2CnByaW1hcnlfcHJvdmlkZXJiMXM1CnByZWZzczcKTGFzdC5mbXM0Cm5hbWUxCnM2CkFydGlzdDEyCnMyCmVuczIKc3ZzMgpmcnMyCmVzczIKZGVzMgpwbHMyCml0czIKcHRzMgpqYXMyCnRyczIKcnVzMgp6aHIwCg__'
2019-02-04 17:31:39,649 (7ff99b73e700) :  DEBUG (agentkit:1115) - Creating new agent class called LastFmAlbumAgent
2019-02-04 17:31:39,652 (7ff99b73e700) :  DEBUG (agentkit:933) - Updating agent information: [{'media_types': ['Artist'], 'accepts_from': None, 'fallback_agent': None, 'contributes_to': None, 'languages': ['en', 'sv', 'fr', 'es', 'de', 'pl', 'it', 'pt', 'ja', 'tr', 'ru', 'zh'], 'persist_stored_files': True, 'version': 0, 'primary_provider': True, 'prefs': True, 'name': 'Last.fm'}, {'media_types': ['Album'], 'accepts_from': None, 'fallback_agent': None, 'contributes_to': None, 'languages': ['en', 'sv', 'fr', 'es', 'de', 'pl', 'it', 'pt', 'ja', 'tr', 'ru', 'zh'], 'persist_stored_files': True, 'version': 0, 'primary_provider': True, 'prefs': True, 'name': 'Last.fm'}]
2019-02-04 17:31:39,656 (7ff99b73e700) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0FnZW50U2VydmljZTpVcGRhdGVJbmZv/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQo4CmRpY3QKbGlzdApkaWN0Cmxpc3QKbGlzdApkaWN0Cmxpc3QKbGlzdAoyCnMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEwCmlkZW50aWZpZXJyMQpzMTAKYWdlbnRfaW5mbzIKcjIKcjUKMTAKcjMKczExCm1lZGlhX3R5cGVzbnMxMgphY2NlcHRzX2Zyb21uczE0CmZhbGxiYWNrX2FnZW50bnMxNApjb250cmlidXRlc190b3I0CnM5Cmxhbmd1YWdlc2IxczIwCnBlcnNpc3Rfc3RvcmVkX2ZpbGVzaTAKczcKdmVyc2lvbmIxczE2CnByaW1hcnlfcHJvdmlkZXJiMXM1CnByZWZzczcKTGFzdC5mbXM0Cm5hbWUxCnM2CkFydGlzdDEyCnMyCmVuczIKc3ZzMgpmcnMyCmVzczIKZGVzMgpwbHMyCml0czIKcHRzMgpqYXMyCnRyczIKcnVzMgp6aDEwCnI2CnMxMQptZWRpYV90eXBlc25zMTIKYWNjZXB0c19mcm9tbnMxNApmYWxsYmFja19hZ2VudG5zMTQKY29udHJpYnV0ZXNfdG9yNwpzOQpsYW5ndWFnZXNiMXMyMApwZXJzaXN0X3N0b3JlZF9maWxlc2kwCnM3CnZlcnNpb25iMXMxNgpwcmltYXJ5X3Byb3ZpZGVyYjFzNQpwcmVmc3M3Ckxhc3QuZm1zNApuYW1lMQpzNQpBbGJ1bTEyCnMyCmVuczIKc3ZzMgpmcnMyCmVzczIKZGVzMgpwbHMyCml0czIKcHRzMgpqYXMyCnRyczIKcnVzMgp6aHIwCg__'
2019-02-04 17:31:39,705 (7ff9737fe700) :  DEBUG (services:362) - Loaded services
2019-02-04 17:31:39,713 (7ff972ffd700) :  DEBUG (services:438) - No shared code to load
2019-02-04 17:31:39,721 (7ff99b73e700) :  INFO (core:611) - Started plug-in
2019-02-04 17:31:39,721 (7ff99b73e700) :  DEBUG (socketinterface:160) - Starting socket server
2019-02-04 17:31:39,722 (7ff99b73e700) :  DEBUG (runtime:1117) - Created a thread named 'start'
2019-02-04 17:31:39,723 (7ff99b73e700) :  INFO (socketinterface:184) - Socket server started on port 41201
2019-02-04 17:31:39,723 (7ff99b73e700) :  INFO (pipeinterface:25) - Entering run loop
2019-02-04 17:31:39,723 (7ff99b73e700) :  DEBUG (runtime:717) - Handling request GET /:/prefixes
2019-02-04 17:31:39,724 (7ff99b73e700) :  DEBUG (runtime:814) - Found route matching /:/prefixes
2019-02-04 17:31:39,725 (7ff99b73e700) :  DEBUG (runtime:924) - Response: [200] MediaContainer, 150 bytes
2019-02-04 17:31:39,758 (7ff972ffd700) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.lastfm/messaging/function/X0FnZW50S2l0OlVwZGF0ZU1ldGFkYXRh/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMTAKczIKZW5zNApsYW5nYjFzNQpmb3JjZWIwczgKcGVyaW9kaWNzMwo0NDZzNApkYmlkaTAKczcKdmVyc2lvbm5zMTAKcGFyZW50R1VJRG5zOApwYXJlbnRJRHM2CkFydGlzdHMxMAptZWRpYV90eXBlczUzCmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm06Ly9WYXJpb3VzJTIwQXJ0aXN0cz9sYW5nPWVuczQKZ3VpZHMxNwpWYXJpb3VzJTIwQXJ0aXN0c3MyCmlkcjAK
2019-02-04 17:31:39,759 (7ff972ffd700) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-02-04 17:31:39,772 (7ff972ffd700) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.lastfm/messaging/function/X0FnZW50S2l0OlVwZGF0ZU1ldGFkYXRh/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMTAKczIKZW5zNApsYW5nYjFzNQpmb3JjZWIwczgKcGVyaW9kaWNzMwo0NDZzNApkYmlkaTAKczcKdmVyc2lvbm5zMTAKcGFyZW50R1VJRG5zOApwYXJlbnRJRHM2CkFydGlzdHMxMAptZWRpYV90eXBlczUzCmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm06Ly9WYXJpb3VzJTIwQXJ0aXN0cz9sYW5nPWVuczQKZ3VpZHMxNwpWYXJpb3VzJTIwQXJ0aXN0c3MyCmlkcjAK
2019-02-04 17:31:39,772 (7ff972ffd700) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Various%20Artists?lang=en
2019-02-04 17:31:39,774 (7ff972ffd700) :  DEBUG (model:234) - Deserializing from /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Metadata/Artists/c/5038b2eb1102b83f6ec48c3295dac0c1e7e057c.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-02-04 17:31:39,775 (7ff972ffd700) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/446/tree'
2019-02-04 17:31:40,540 (7ff972ffd700) :  DEBUG (networking:161) - Fetching 'http://lastfm-z.plexapp.com/2.0/?method=artist.getInfo&artist=various%20artists&autocorrect=1&lang=en&format=json&api_key=d5310352469c2631e5976d0f4a599773' from the HTTP cache
2019-02-04 17:31:40,550 (7ff972ffd700) :  DEBUG (networking:166) - Requesting 'http://userserve-ak.last.fm/serve/252/46209667.png'
2019-02-04 17:31:40,584 (7ff972ffd700) :  CRITICAL (agentkit:1078) - Exception in the update function of agent named 'Last.fm', called with guid 'com.plexapp.agents.lastfm://Various%20Artists?lang=en' (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-cc260c476/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1076, in _update
    agent.update(obj, media, lang, **kwargs)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-cc260c476/LastFM.bundle/Contents/Code/__init__.py", line 296, in update
    metadata.posters.validate_keys(valid_keys[0])
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-cc260c476/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/modelling/attributes.py", line 580, in __setitem__
    MapObject.__setitem__(self, name, value)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-cc260c476/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/modelling/attributes.py", line 381, in __setitem__
    obj._setcontent(value)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-cc260c476/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/modelling/attributes.py", line 472, in _setcontent
    DataObject._setcontent(self, content._data)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-cc260c476/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/modelling/attributes.py", line 225, in _setcontent
    self._data = str(content)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-cc260c476/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 243, in __str__
    self.load()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-cc260c476/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 181, in load
    f = self._opener.open(req, timeout=self._timeout)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-cc260c476/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 438, in open
    response = self._open(req, data)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-cc260c476/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 456, in _open
    '_open', req)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-cc260c476/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 416, in _call_chain
    result = func(*args)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-cc260c476/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 1217, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-cc260c476/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 1192, in do_open
    raise URLError(err)
URLError: <urlopen error [Errno -2] Name or service not known>

2019-02-04 17:31:40,586 (7ff972ffd700) :  DEBUG (model:229) - Serializing to /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Metadata/Artists/c/5038b2eb1102b83f6ec48c3295dac0c1e7e057c.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-02-04 17:31:40,597 (7ff972ffd700) :  DEBUG (runtime:88) - Sending packed state data (106 bytes)
2019-02-04 17:31:40,597 (7ff972ffd700) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-02-04 17:31:50,987 (7ff972ffd700) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.lastfm/messaging/function/TWVzc2FnZUtpdDpHZXRNdXNpY0JyYWlueklk/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQp1MTUKVmFyaW91cyBBcnRpc3RzczYKYXJ0aXN0cjAK
2019-02-04 17:31:50,990 (7ff972ffd700) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.lastfm/messaging/function/TWVzc2FnZUtpdDpHZXRNdXNpY0JyYWlueklk/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQp1MTUKVmFyaW91cyBBcnRpc3RzczYKYXJ0aXN0cjAK
2019-02-04 17:31:51,001 (7ff972ffd700) :  DEBUG (networking:161) - Fetching 'http://lastfm-z.plexapp.com/2.0/?method=artist.getInfo&artist=various%20artists&autocorrect=1&lang=en&format=json&api_key=d5310352469c2631e5976d0f4a599773' from the HTTP cache
2019-02-04 17:31:51,008 (7ff972ffd700) :  DEBUG (runtime:88) - Sending packed state data (106 bytes)
2019-02-04 17:31:51,009 (7ff972ffd700) :  DEBUG (runtime:924) - Response: [200] str, 68 bytes
