2018-08-11 23:59:16,348 (2d98) :  INFO (core:349) - Starting framework core - Version: 2.6.3, Build: 6fa5e50 (Mon Jul 23 22:35:14 UTC 2018)
2018-08-11 23:59:16,348 (2d98) :  DEBUG (core:361) - Using the standard policy
2018-08-11 23:59:16,348 (2d98) :  DEBUG (core:450) - Starting runtime component.
2018-08-11 23:59:16,371 (2d98) :  DEBUG (core:450) - Starting caching component.
2018-08-11 23:59:16,371 (2d98) :  DEBUG (core:450) - Starting data component.
2018-08-11 23:59:16,371 (2d98) :  DEBUG (core:450) - Starting networking component.
2018-08-11 23:59:16,375 (2d98) :  DEBUG (networking:284) - Loaded HTTP cookies
2018-08-11 23:59:16,380 (2d98) :  DEBUG (networking:452) - Setting the default network timeout to 20.0
2018-08-11 23:59:16,381 (2d98) :  DEBUG (core:450) - Starting localization component.
2018-08-11 23:59:16,381 (2d98) :  INFO (localization:409) - Setting the default locale to en-us
2018-08-11 23:59:16,388 (2d98) :  DEBUG (localization:427) - Loaded en strings
2018-08-11 23:59:16,388 (2d98) :  DEBUG (core:450) - Starting messaging component.
2018-08-11 23:59:16,391 (2d98) :  DEBUG (core:450) - Starting debugging component.
2018-08-11 23:59:16,391 (2d98) :  DEBUG (core:450) - Starting services component.
2018-08-11 23:59:16,391 (2d98) :  DEBUG (core:450) - Starting myplex component.
2018-08-11 23:59:16,391 (2d98) :  DEBUG (core:450) - Starting notifications component.
2018-08-11 23:59:16,405 (1b64) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/system/messaging/clear_events/com.plexapp.agents.opensubtitles'
2018-08-11 23:59:16,892 (2d98) :  DEBUG (accessor:68) - Creating a new model access point for provider com.plexapp.agents.opensubtitles in namespace 'metadata'
2018-08-11 23:59:16,904 (2d98) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes'
2018-08-11 23:59:17,220 (1558) :  DEBUG (services:265) - Plug-in is not daemonized - loading services from system
2018-08-11 23:59:17,220 (2d98) :  DEBUG (runtime:1117) - Created a thread named 'load_all_services'
2018-08-11 23:59:17,223 (1558) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMApyMAo_'
2018-08-11 23:59:17,443 (2d98) :  DEBUG (runtime:1117) - Created a thread named 'get_server_info'
2018-08-11 23:59:17,447 (16c0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400'
2018-08-11 23:59:17,447 (2d98) :  DEBUG (core:150) - Finished starting framework core
2018-08-11 23:59:17,448 (2d98) :  DEBUG (core:560) - Loading plug-in code
2018-08-11 23:59:17,645 (16c0) :  DEBUG (core:538) - Machine identifier is fc9d422a8ae1a3cb350a4def858d61c7a421ab26
2018-08-11 23:59:17,655 (16c0) :  DEBUG (core:539) - Server version is 1.13.5.5291-6fa5e50a8
2018-08-11 23:59:17,828 (1558) :  DEBUG (services:362) - Loaded services
2018-08-11 23:59:17,835 (1454) :  DEBUG (services:438) - No shared code to load
2018-08-11 23:59:17,913 (2d98) :  DEBUG (core:566) - Finished loading plug-in code
2018-08-11 23:59:17,944 (2d98) :  DEBUG (agentkit:1115) - Creating new agent class called OpenSubtitlesAgentMovies
2018-08-11 23:59:17,947 (2d98) :  DEBUG (agentkit:933) - Updating agent information: [{'media_types': ['Movie'], 'accepts_from': None, 'fallback_agent': None, 'contributes_to': ['com.plexapp.agents.imdb'], 'languages': ['xn'], 'persist_stored_files': True, 'version': 0, 'primary_provider': False, 'prefs': True, 'name': 'OpenSubtitles.org'}]
2018-08-11 23:59:17,947 (2d98) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0FnZW50U2VydmljZTpVcGRhdGVJbmZv/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQo2CmRpY3QKbGlzdApkaWN0Cmxpc3QKbGlzdApsaXN0CjIKczMyCmNvbS5wbGV4YXBwLmFnZW50cy5vcGVuc3VidGl0bGVzczEwCmlkZW50aWZpZXJyMQpzMTAKYWdlbnRfaW5mbzEKcjIKMTAKcjMKczExCm1lZGlhX3R5cGVzbnMxMgphY2NlcHRzX2Zyb21uczE0CmZhbGxiYWNrX2FnZW50cjQKczE0CmNvbnRyaWJ1dGVzX3RvcjUKczkKbGFuZ3VhZ2VzYjFzMjAKcGVyc2lzdF9zdG9yZWRfZmlsZXNpMApzNwp2ZXJzaW9uYjBzMTYKcHJpbWFyeV9wcm92aWRlcmIxczUKcHJlZnNzMTcKT3BlblN1YnRpdGxlcy5vcmdzNApuYW1lMQpzNQpNb3ZpZTEKczIzCmNvbS5wbGV4YXBwLmFnZW50cy5pbWRiMQpzMgp4bnIwCg__'
2018-08-11 23:59:18,190 (2d98) :  DEBUG (agentkit:1115) - Creating new agent class called OpenSubtitlesAgentTV
2018-08-11 23:59:18,191 (2d98) :  DEBUG (agentkit:933) - Updating agent information: [{'media_types': ['Movie'], 'accepts_from': None, 'fallback_agent': None, 'contributes_to': ['com.plexapp.agents.imdb'], 'languages': ['xn'], 'persist_stored_files': True, 'version': 0, 'primary_provider': False, 'prefs': True, 'name': 'OpenSubtitles.org'}, {'media_types': ['TV_Show'], 'accepts_from': None, 'fallback_agent': None, 'contributes_to': ['com.plexapp.agents.thetvdb'], 'languages': ['xn'], 'persist_stored_files': True, 'version': 0, 'primary_provider': False, 'prefs': True, 'name': 'OpenSubtitles.org'}]
2018-08-11 23:59:18,194 (2d98) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0FnZW50U2VydmljZTpVcGRhdGVJbmZv/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxMApkaWN0Cmxpc3QKZGljdApsaXN0Cmxpc3QKbGlzdApkaWN0Cmxpc3QKbGlzdApsaXN0CjIKczMyCmNvbS5wbGV4YXBwLmFnZW50cy5vcGVuc3VidGl0bGVzczEwCmlkZW50aWZpZXJyMQpzMTAKYWdlbnRfaW5mbzIKcjIKcjYKMTAKcjMKczExCm1lZGlhX3R5cGVzbnMxMgphY2NlcHRzX2Zyb21uczE0CmZhbGxiYWNrX2FnZW50cjQKczE0CmNvbnRyaWJ1dGVzX3RvcjUKczkKbGFuZ3VhZ2VzYjFzMjAKcGVyc2lzdF9zdG9yZWRfZmlsZXNpMApzNwp2ZXJzaW9uYjBzMTYKcHJpbWFyeV9wcm92aWRlcmIxczUKcHJlZnNzMTcKT3BlblN1YnRpdGxlcy5vcmdzNApuYW1lMQpzNQpNb3ZpZTEKczIzCmNvbS5wbGV4YXBwLmFnZW50cy5pbWRiMQpzMgp4bjEwCnI3CnMxMQptZWRpYV90eXBlc25zMTIKYWNjZXB0c19mcm9tbnMxNApmYWxsYmFja19hZ2VudHI4CnMxNApjb250cmlidXRlc190b3I5CnM5Cmxhbmd1YWdlc2IxczIwCnBlcnNpc3Rfc3RvcmVkX2ZpbGVzaTAKczcKdmVyc2lvbmIwczE2CnByaW1hcnlfcHJvdmlkZXJiMXM1CnByZWZzczE3Ck9wZW5TdWJ0aXRsZXMub3JnczQKbmFtZTEKczcKVFZfU2hvdzEKczI2CmNvbS5wbGV4YXBwLmFnZW50cy50aGV0dmRiMQpzMgp4bnIwCg__'
2018-08-11 23:59:18,308 (2d98) :  INFO (datakit:93) - Loaded the dictionary file
2018-08-11 23:59:18,308 (2d98) :  INFO (core:611) - Started plug-in
2018-08-11 23:59:18,308 (2d98) :  DEBUG (socketinterface:160) - Starting socket server
2018-08-11 23:59:18,395 (2d98) :  DEBUG (runtime:1117) - Created a thread named 'start'
2018-08-11 23:59:18,395 (2d98) :  INFO (socketinterface:184) - Socket server started on port 50482
2018-08-11 23:59:18,397 (2d98) :  INFO (pipeinterface:25) - Entering run loop
2018-08-11 23:59:18,397 (2d98) :  DEBUG (runtime:717) - Handling request GET /:/prefixes
2018-08-11 23:59:18,405 (2d98) :  DEBUG (runtime:814) - Found route matching /:/prefixes
2018-08-11 23:59:18,407 (2d98) :  DEBUG (runtime:924) - Response: [200] MediaContainer, 157 bytes
2018-08-11 23:59:18,515 (7a0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.opensubtitles/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M1Ck1vdmllczEwCm1lZGlhX3R5cGU1Cm5zOApwYXJlbnRJRHM0Mwpjb20ucGxleGFwcC5hZ2VudHMuaW1kYjovL3R0MDE0MzE0NT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjMKY29tLnBsZXhhcHAuYWdlbnRzLmltZGJzMTMKcHJpbWFyeV9hZ2VudHM1CjE1ODgxczIKaWRyMAo_
2018-08-11 23:59:18,516 (7a0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2018-08-11 23:59:18,542 (7a0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.opensubtitles/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M1Ck1vdmllczEwCm1lZGlhX3R5cGU1Cm5zOApwYXJlbnRJRHM0Mwpjb20ucGxleGFwcC5hZ2VudHMuaW1kYjovL3R0MDE0MzE0NT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjMKY29tLnBsZXhhcHAuYWdlbnRzLmltZGJzMTMKcHJpbWFyeV9hZ2VudHM1CjE1ODgxczIKaWRyMAo_
2018-08-11 23:59:18,545 (7a0) :  INFO (agentkit:957) - Searching for matches for {'id': '15881', 'guid': 'com.plexapp.agents.imdb://tt0143145?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.imdb', 'parentID': None}
2018-08-11 23:59:18,546 (7a0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/15881/tree'
2018-08-11 23:59:18,642 (7a0) :  DEBUG (accessor:68) - Creating a new read-only model access point for provider com.plexapp.agents.imdb in namespace 'metadata'
2018-08-11 23:59:18,648 (7a0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.imdb://tt0143145?lang=en
2018-08-11 23:59:18,650 (7a0) :  DEBUG (model:234) - Deserializing from C:\Users\Lunar\AppData\Local\Plex Media Server\Metadata\Movies\8\8a4f2d78e9c53acc781af390bb678453b43a866.bundle\Contents\com.plexapp.agents.imdb\Info.xml
2018-08-11 23:59:18,700 (7a0) :  DEBUG (runtime:88) - Sending packed state data (113 bytes)
2018-08-11 23:59:18,701 (7a0) :  DEBUG (runtime:924) - Response: [200] str, 604 bytes
2018-08-11 23:59:18,710 (7a0) :  CRITICAL (core:574) - Exception in thread named '_handle_request' (most recent call last):
  File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-6fa5e50a8\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\runtime.py", line 1126, in _start_thread
    f(*args, **kwargs)
  File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-6fa5e50a8\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\interfaces\socketinterface.py", line 126, in _handle_request
    self.finish()
  File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-6fa5e50a8\Framework.bundle\Contents\Resources\Platforms\Shared\Libraries\tornado\web.py", line 565, in finish
    self.request.finish()
  File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-6fa5e50a8\Framework.bundle\Contents\Resources\Platforms\Shared\Libraries\tornado\httpserver.py", line 432, in finish
    self.connection.finish()
  File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-6fa5e50a8\Framework.bundle\Contents\Resources\Platforms\Shared\Libraries\tornado\httpserver.py", line 262, in finish
    self._finish_request()
  File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-6fa5e50a8\Framework.bundle\Contents\Resources\Platforms\Shared\Libraries\tornado\httpserver.py", line 272, in _finish_request
    connection_header = self._request.headers.get("Connection")
AttributeError: 'NoneType' object has no attribute 'headers'

2018-08-11 23:59:18,842 (a68) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.opensubtitles/messaging/function/X0FnZW50S2l0OlVwZGF0ZU1ldGFkYXRh/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMTAKczIKZW5zNApsYW5nYjFzNQpmb3JjZWIwczgKcGVyaW9kaWNzNQoxNTg4MXM0CmRiaWRpMApzNwp2ZXJzaW9ubnMxMApwYXJlbnRHVUlEbnM4CnBhcmVudElEczUKTW92aWVzMTAKbWVkaWFfdHlwZXM0Mwpjb20ucGxleGFwcC5hZ2VudHMuaW1kYjovL3R0MDE0MzE0NT9sYW5nPWVuczQKZ3VpZHM3CjAxNDMxNDVzMgppZHIwCg__
2018-08-11 23:59:18,842 (a68) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2018-08-11 23:59:18,844 (a68) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.opensubtitles/messaging/function/X0FnZW50S2l0OlVwZGF0ZU1ldGFkYXRh/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMTAKczIKZW5zNApsYW5nYjFzNQpmb3JjZWIwczgKcGVyaW9kaWNzNQoxNTg4MXM0CmRiaWRpMApzNwp2ZXJzaW9ubnMxMApwYXJlbnRHVUlEbnM4CnBhcmVudElEczUKTW92aWVzMTAKbWVkaWFfdHlwZXM0Mwpjb20ucGxleGFwcC5hZ2VudHMuaW1kYjovL3R0MDE0MzE0NT9sYW5nPWVuczQKZ3VpZHM3CjAxNDMxNDVzMgppZHIwCg__
2018-08-11 23:59:18,845 (a68) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.imdb://tt0143145?lang=en
2018-08-11 23:59:18,845 (a68) :  ERROR (model:205) - Cannot read model from C:\Users\Lunar\AppData\Local\Plex Media Server\Metadata\Movies\8\8a4f2d78e9c53acc781af390bb678453b43a866.bundle\Contents\com.plexapp.agents.opensubtitles
2018-08-11 23:59:18,845 (a68) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/15881/tree'
2018-08-11 23:59:18,891 (a68) :  DEBUG (preferences:258) - Loaded preferences from DefaultPrefs.json
2018-08-11 23:59:18,894 (a68) :  DEBUG (preferences:178) - Loaded the user preferences for com.plexapp.agents.opensubtitles
2018-08-11 23:59:18,894 (a68) :  INFO (logkit:16) - Existing token found. Revalidating.
2018-08-11 23:59:19,349 (a68) :  INFO (logkit:16) - Invalid Token.
2018-08-11 23:59:19,808 (a68) :  INFO (logkit:16) - Valid token.
2018-08-11 23:59:19,808 (a68) :  INFO (logkit:16) - Successful login.
2018-08-11 23:59:19,821 (a68) :  DEBUG (model:229) - Serializing to C:\Users\Lunar\AppData\Local\Plex Media Server\Metadata\Movies\8\8a4f2d78e9c53acc781af390bb678453b43a866.bundle\Contents\com.plexapp.agents.opensubtitles\Info.xml
2018-08-11 23:59:19,825 (a68) :  DEBUG (runtime:88) - Sending packed state data (113 bytes)
2018-08-11 23:59:19,825 (a68) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2018-08-11 23:59:24,887 (1a48) :  INFO (datakit:131) - Saved the dictionary file
