AniDB metadata agent

Hi, I’m getting an error when running this, I’m not really good at this so I’m guessing here. But is it a python related issue maby?



2012-07-26 15:27:32,565 (7fdfd63b5700) :  INFO (core:319) - Starting framework core - Version: 2.2.0.2, Build: 785d9fc (Wed Jul 11 04:41:48 UTC 2012)<br />
2012-07-26 15:27:32,566 (7fdfd63b5700) :  DEBUG (core:331) - Using the elevated policy<br />
2012-07-26 15:27:32,566 (7fdfd63b5700) :  DEBUG (core:419) - Starting runtime component.<br />
2012-07-26 15:27:32,568 (7fdfd63b5700) :  DEBUG (core:419) - Starting caching component.<br />
2012-07-26 15:27:32,568 (7fdfd63b5700) :  DEBUG (core:419) - Starting data component.<br />
2012-07-26 15:27:32,568 (7fdfd63b5700) :  DEBUG (core:419) - Starting networking component.<br />
2012-07-26 15:27:32,569 (7fdfd63b5700) :  DEBUG (networking:297) - Loaded HTTP cookies<br />
2012-07-26 15:27:32,569 (7fdfd63b5700) :  DEBUG (networking:483) - Setting the default network timeout to 20.0<br />
2012-07-26 15:27:32,570 (7fdfd63b5700) :  DEBUG (core:419) - Starting localization component.<br />
2012-07-26 15:27:32,570 (7fdfd63b5700) :  INFO (localization:408) - Setting the default locale to en-us<br />
2012-07-26 15:27:32,570 (7fdfd63b5700) :  DEBUG (core:419) - Starting messaging component.<br />
2012-07-26 15:27:32,571 (7fdfd63b5700) :  DEBUG (core:419) - Starting debugging component.<br />
2012-07-26 15:27:32,571 (7fdfd63b5700) :  DEBUG (core:419) - Starting services component.<br />
2012-07-26 15:27:32,572 (7fdfd63b5700) :  DEBUG (core:419) - Starting myplex component.<br />
2012-07-26 15:27:32,572 (7fdfb6ffd700) :  DEBUG (networking:156) - Requesting 'http://127.0.0.1:32400/system/messaging/clear_events/com.plexapp.agents.anidb'<br />
2012-07-26 15:27:32,573 (7fdfd63b5700) :  DEBUG (core:419) - Starting notifications component.<br />
2012-07-26 15:27:32,690 (7fdfd63b5700) :  DEBUG (accessor:68) - Creating a new model access point for provider com.plexapp.agents.anidb in namespace 'metadata'<br />
2012-07-26 15:27:32,700 (7fdfb6ffd700) :  DEBUG (services:269) - Plug-in is not daemonized - loading services from system<br />
2012-07-26 15:27:32,700 (7fdfd63b5700) :  DEBUG (runtime:995) - Created a thread named 'load_all_services'<br />
2012-07-26 15:27:32,702 (7fdfb6ffd700) :  DEBUG (networking:156) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y$<br />
2012-07-26 15:27:32,703 (7fdfd63b5700) :  DEBUG (runtime:995) - Created a thread named 'get_server_info'<br />
2012-07-26 15:27:32,704 (7fdfd63b5700) :  DEBUG (core:138) - Finished starting framework core<br />
2012-07-26 15:27:32,704 (7fdfd63b5700) :  DEBUG (core:527) - Loading plug-in code<br />
2012-07-26 15:27:32,704 (7fdfb5ffb700) :  DEBUG (networking:156) - Requesting 'http://127.0.0.1:32400'<br />
2012-07-26 15:27:32,737 (7fdfb5ffb700) :  DEBUG (core:505) - Machine identifier is 451da183e166afa5819e89219498cb8361e941af<br />
2012-07-26 15:27:32,739 (7fdfb5ffb700) :  DEBUG (core:506) - Server version is 0.9.6.3.143-4466fb5<br />
2012-07-26 15:27:32,998 (7fdfd63b5700) :  DEBUG (core:533) - Finished loading plug-in code<br />
2012-07-26 15:27:33,011 (7fdfb6ffd700) :  DEBUG (services:356) - Loaded services<br />
2012-07-26 15:27:33,034 (7fdfb67fc700) :  DEBUG (services:426) - No shared code to load<br />
2012-07-26 15:27:33,923 (7fdfd63b5700) :  DEBUG (agentkit:1005) - Creating new agent class called AniDBAgentMovies<br />
2012-07-26 15:27:33,923 (7fdfd63b5700) :  DEBUG (agentkit:885) - Updating agent information: [{'media_types': ['Movie'], 'accepts_from': ['com.plexapp.agents.localmedia', 'com.plexapp.agents.opensubtitles'], 'fallback$<br />
2012-07-26 15:27:33,924 (7fdfd63b5700) :  DEBUG (networking:156) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0FnZW50U2VydmljZTpVcGRhdGVJbmZv/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZ$<br />
2012-07-26 15:27:33,936 (7fdfd63b5700) :  DEBUG (agentkit:1005) - Creating new agent class called AniDBAgentTV<br />
2012-07-26 15:27:33,937 (7fdfd63b5700) :  DEBUG (agentkit:885) - Updating agent information: [{'media_types': ['Movie'], 'accepts_from': ['com.plexapp.agents.localmedia', 'com.plexapp.agents.opensubtitles'], 'fallback$<br />
2012-07-26 15:27:33,941 (7fdfd63b5700) :  DEBUG (networking:156) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0FnZW50U2VydmljZTpVcGRhdGVJbmZv/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZ$<br />
2012-07-26 15:27:33,954 (7fdfd63b5700) :  INFO (core:578) - Started plug-in<br />
2012-07-26 15:27:33,955 (7fdfd63b5700) :  DEBUG (socketinterface:137) - Starting socket server<br />
2012-07-26 15:27:33,957 (7fdfd63b5700) :  DEBUG (runtime:995) - Created a thread named 'start'<br />
2012-07-26 15:27:33,958 (7fdfd63b5700) :  INFO (socketinterface:161) - Socket server started on port 53204<br />
2012-07-26 15:27:33,959 (7fdfd63b5700) :  INFO (pipeinterface:25) - Entering run loop<br />
2012-07-26 15:27:33,960 (7fdfd63b5700) :  DEBUG (runtime:633) - Handling request GET /:/prefixes<br />
2012-07-26 15:27:33,963 (7fdfd63b5700) :  DEBUG (runtime:720) - Found route matching /:/prefixes<br />
2012-07-26 15:27:33,965 (7fdfd63b5700) :  DEBUG (runtime:811) - Response: [200] MediaContainer, 149 bytes<br />
2012-07-26 15:27:34,073 (7fdfb6ffd700) :  DEBUG (runtime:633) - Handling request GET /:/plugins/com.plexapp.agents.anidb/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGl$<br />
2012-07-26 15:27:34,107 (7fdfb6ffd700) :  DEBUG (runtime:720) - Found route matching /:/plugins/com.plexapp.agents.anidb/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGl$<br />
2012-07-26 15:27:34,107 (7fdfb6ffd700) :  INFO (agentkit:909) - Searching for matches for {'id': '443', 'show': 'Naruto Shippuuden'}<br />
2012-07-26 15:27:34,107 (7fdfb6ffd700) :  DEBUG (networking:156) - Requesting 'http://127.0.0.1:32400/library/metadata/443/tree'<br />
2012-07-26 15:27:34,118 (7fdfb6ffd700) :  WARNING (data:181) - Error decoding with simplejson, using demjson instead (this will cause a performance hit) - Expecting property name: line 8 column 9 (char 212)<br />
2012-07-26 15:27:34,120 (7fdfb6ffd700) :  DEBUG (preferences:249) - Loaded preferences from DefaultPrefs.json<br />
2012-07-26 15:27:34,121 (7fdfb6ffd700) :  DEBUG (preferences:172) - Reloaded the user preferences for com.plexapp.agents.anidb<br />
2012-07-26 15:27:36,518 (7fdfb6ffd700) :  INFO (__init__:50) - Auth ok!<br />
2012-07-26 15:27:36,547 (7fdfb6ffd700) :  CRITICAL (agentkit:925) - Exception in the search function of agent named 'AniDB', called with keyword arguments {'id': '443', 'show': 'Naruto Shippuuden'} (most recent call l$<br />
  File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 918, in _search<br />
    agent.search(results, media, lang)<br />
  File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/AniDB.bundle/Contents/Code/__init__.py", line 243, in search<br />
    self.doSearch(results, media, lang)<br />
  File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/AniDB.bundle/Contents/Code/__init__.py", line 162, in doSearch<br />
    filePath = urllib.unquote(media.filename)<br />
  File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/urllib.py", line 1174, in unquote<br />
    res = s.split('%')<br />
AttributeError: 'NoneType' object has no attribute 'split'<br />
<br />
2012-07-26 15:27:36,549 (7fdfb6ffd700) :  DEBUG (runtime:811) - Response: [200] str, 16 bytes

results.



2012-07-26 09:28:11,308 (19f8) :  INFO (core:319) - Starting framework core - Version: 2.2.0.2, Build: 785d9fc (Wed Jul 11 04:41:48 UTC 2012)<br />
2012-07-26 09:28:11,308 (19f8) :  DEBUG (core:331) - Using the elevated policy<br />
2012-07-26 09:28:11,308 (19f8) :  DEBUG (core:419) - Starting runtime component.<br />
2012-07-26 09:28:11,308 (19f8) :  DEBUG (core:419) - Starting caching component.<br />
2012-07-26 09:28:11,308 (19f8) :  DEBUG (core:419) - Starting data component.<br />
2012-07-26 09:28:11,308 (19f8) :  DEBUG (core:419) - Starting networking component.<br />
2012-07-26 09:28:11,323 (19f8) :  DEBUG (networking:297) - Loaded HTTP cookies<br />
2012-07-26 09:28:11,323 (19f8) :  DEBUG (networking:483) - Setting the default network timeout to 20.0<br />
2012-07-26 09:28:11,323 (19f8) :  DEBUG (core:419) - Starting localization component.<br />
2012-07-26 09:28:11,323 (19f8) :  INFO (localization:408) - Setting the default locale to en-us<br />
2012-07-26 09:28:11,323 (19f8) :  DEBUG (core:419) - Starting messaging component.<br />
2012-07-26 09:28:11,323 (19f8) :  DEBUG (core:419) - Starting debugging component.<br />
2012-07-26 09:28:11,323 (19f8) :  DEBUG (core:419) - Starting services component.<br />
2012-07-26 09:28:11,323 (1328) :  DEBUG (networking:156) - Requesting 'http://127.0.0.1:32400/system/messaging/clear_events/com.plexapp.agents.anidb'<br />
2012-07-26 09:28:11,323 (19f8) :  DEBUG (core:419) - Starting myplex component.<br />
2012-07-26 09:28:11,323 (19f8) :  DEBUG (core:419) - Starting notifications component.<br />
2012-07-26 09:28:11,480 (19f8) :  DEBUG (accessor:68) - Creating a new model access point for provider com.plexapp.agents.anidb in namespace 'metadata'<br />
2012-07-26 09:28:11,494 (19f8) :  DEBUG (runtime:995) - Created a thread named 'load_all_services'<br />
2012-07-26 09:28:11,494 (1514) :  DEBUG (services:269) - Plug-in is not daemonized - loading services from system<br />
2012-07-26 09:28:11,494 (19f8) :  DEBUG (runtime:995) - Created a thread named 'get_server_info'<br />
2012-07-26 09:28:11,510 (2394) :  DEBUG (networking:156) - Requesting 'http://127.0.0.1:32400'<br />
2012-07-26 09:28:11,510 (19f8) :  DEBUG (core:138) - Finished starting framework core<br />
2012-07-26 09:28:11,510 (1514) :  DEBUG (networking:156) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMApyMAo_'<br />
2012-07-26 09:28:11,510 (19f8) :  DEBUG (core:527) - Loading plug-in code<br />
2012-07-26 09:28:11,526 (2394) :  DEBUG (core:505) - Machine identifier is f35060f73571f81e2ecb57b673aa919675328ed8<br />
2012-07-26 09:28:11,526 (2394) :  DEBUG (core:506) - Server version is 0.9.6.3<br />
2012-07-26 09:28:11,931 (19f8) :  DEBUG (core:533) - Finished loading plug-in code<br />
2012-07-26 09:28:12,040 (1514) :  DEBUG (services:356) - Loaded services<br />
2012-07-26 09:28:12,056 (17b0) :  DEBUG (services:426) - No shared code to load<br />
2012-07-26 09:28:13,382 (19f8) :  DEBUG (agentkit:1005) - Creating new agent class called AniDBAgentMovies<br />
2012-07-26 09:28:13,382 (19f8) :  DEBUG (agentkit:885) - Updating agent information: [{'media_types': ['Movie'], 'accepts_from': ['com.plexapp.agents.localmedia', 'com.plexapp.agents.opensubtitles'], 'fallback_agent': None, 'contributes_to': None, 'languages': ['en'], 'persist_stored_files': True, 'primary_provider': True, 'prefs': True, 'name': 'AniDB'}]<br />
2012-07-26 09:28:13,382 (19f8) :  DEBUG (networking:156) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0FnZW50U2VydmljZTpVcGRhdGVJbmZv/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQo2CmRpY3QKbGlzdApkaWN0Cmxpc3QKbGlzdApsaXN0CjIKczI0CmNvbS5wbGV4YXBwLmFnZW50cy5hbmlkYnMxMAppZGVudGlmaWVycjEKczEwCmFnZW50X2luZm8xCnIyCjkKcjMKczExCm1lZGlhX3R5cGVzcjQKczEyCmFjY2VwdHNfZnJvbW5zMTQKZmFsbGJhY2tfYWdlbnRuczE0CmNvbnRyaWJ1dGVzX3RvcjUKczkKbGFuZ3VhZ2VzYjFzMjAKcGVyc2lzdF9zdG9yZWRfZmlsZXNiMXMxNgpwcmltYXJ5X3Byb3ZpZGVyYjFzNQpwcmVmc3M1CkFuaURCczQKbmFtZTEKczUKTW92aWUyCnMyOQpjb20ucGxleGFwcC5hZ2VudHMubG9jYWxtZWRpYXMzMgpjb20ucGxleGFwcC5hZ2VudHMub3BlbnN1YnRpdGxlczEKczIKZW5yMAo_'<br />
2012-07-26 09:28:13,398 (19f8) :  DEBUG (agentkit:1005) - Creating new agent class called AniDBAgentTV<br />
2012-07-26 09:28:13,398 (19f8) :  DEBUG (agentkit:885) - Updating agent information: [{'media_types': ['Movie'], 'accepts_from': ['com.plexapp.agents.localmedia', 'com.plexapp.agents.opensubtitles'], 'fallback_agent': None, 'contributes_to': None, 'languages': ['en'], 'persist_stored_files': True, 'primary_provider': True, 'prefs': True, 'name': 'AniDB'}, {'media_types': ['TV_Show'], 'accepts_from': ['com.plexapp.agents.localmedia', 'com.plexapp.agents.opensubtitles'], 'fallback_agent': None, 'contributes_to': None, 'languages': ['en'], 'persist_stored_files': True, 'primary_provider': True, 'prefs': True, 'name': 'AniDB'}]<br />
2012-07-26 09:28:13,398 (19f8) :  DEBUG (networking:156) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0FnZW50U2VydmljZTpVcGRhdGVJbmZv/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxMApkaWN0Cmxpc3QKZGljdApsaXN0Cmxpc3QKbGlzdApkaWN0Cmxpc3QKbGlzdApsaXN0CjIKczI0CmNvbS5wbGV4YXBwLmFnZW50cy5hbmlkYnMxMAppZGVudGlmaWVycjEKczEwCmFnZW50X2luZm8yCnIyCnI2CjkKcjMKczExCm1lZGlhX3R5cGVzcjQKczEyCmFjY2VwdHNfZnJvbW5zMTQKZmFsbGJhY2tfYWdlbnRuczE0CmNvbnRyaWJ1dGVzX3RvcjUKczkKbGFuZ3VhZ2VzYjFzMjAKcGVyc2lzdF9zdG9yZWRfZmlsZXNiMXMxNgpwcmltYXJ5X3Byb3ZpZGVyYjFzNQpwcmVmc3M1CkFuaURCczQKbmFtZTEKczUKTW92aWUyCnMyOQpjb20ucGxleGFwcC5hZ2VudHMubG9jYWxtZWRpYXMzMgpjb20ucGxleGFwcC5hZ2VudHMub3BlbnN1YnRpdGxlczEKczIKZW45CnI3CnMxMQptZWRpYV90eXBlc3I4CnMxMgphY2NlcHRzX2Zyb21uczE0CmZhbGxiYWNrX2FnZW50bnMxNApjb250cmlidXRlc190b3I5CnM5Cmxhbmd1YWdlc2IxczIwCnBlcnNpc3Rfc3RvcmVkX2ZpbGVzYjFzMTYKcHJpbWFyeV9wcm92aWRlcmIxczUKcHJlZnNzNQpBbmlEQnM0Cm5hbWUxCnM3ClRWX1Nob3cyCnMyOQpjb20ucGxleGFwcC5hZ2VudHMubG9jYWxtZWRpYXMzMgpjb20ucGxleGFwcC5hZ2VudHMub3BlbnN1YnRpdGxlczEKczIKZW5yMAo_'<br />
2012-07-26 09:28:13,414 (19f8) :  INFO (core:578) - Started plug-in<br />
2012-07-26 09:28:13,414 (19f8) :  DEBUG (socketinterface:137) - Starting socket server<br />
2012-07-26 09:28:13,414 (19f8) :  DEBUG (runtime:995) - Created a thread named 'start'<br />
2012-07-26 09:28:13,414 (19f8) :  INFO (socketinterface:161) - Socket server started on port 63460<br />
2012-07-26 09:28:13,414 (19f8) :  INFO (pipeinterface:25) - Entering run loop<br />
2012-07-26 09:28:13,414 (19f8) :  DEBUG (runtime:633) - Handling request GET /:/prefixes<br />
2012-07-26 09:28:13,414 (19f8) :  DEBUG (runtime:720) - Found route matching /:/prefixes<br />
2012-07-26 09:28:13,414 (19f8) :  DEBUG (runtime:811) - Response: [200] MediaContainer, 149 bytes<br />
2012-07-26 09:29:05,470 (1238) :  DEBUG (runtime:633) - Handling request GET /:/plugins/com.plexapp.agents.anidb/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo0CnMyCmVuczQKbGFuZ3M3ClRWX1Nob3dzMTAKbWVkaWFfdHlwZWIxczYKbWFudWFscjEKczYKa3dhcmdzMgpzNQoxOTU1NnMyCmlkczEyCkZhdGUvWmVybyBJSXM0CnNob3dyMAo_<br />
2012-07-26 09:29:05,502 (1238) :  DEBUG (runtime:720) - Found route matching /:/plugins/com.plexapp.agents.anidb/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo0CnMyCmVuczQKbGFuZ3M3ClRWX1Nob3dzMTAKbWVkaWFfdHlwZWIxczYKbWFudWFscjEKczYKa3dhcmdzMgpzNQoxOTU1NnMyCmlkczEyCkZhdGUvWmVybyBJSXM0CnNob3dyMAo_<br />
2012-07-26 09:29:05,502 (1238) :  INFO (agentkit:909) - Searching for matches for {'id': '19556', 'show': 'Fate/Zero II'}<br />
2012-07-26 09:29:05,502 (1238) :  DEBUG (networking:156) - Requesting 'http://127.0.0.1:32400/library/metadata/19556/tree'<br />
2012-07-26 09:29:05,533 (1238) :  WARNING (data:181) - Error decoding with simplejson, using demjson instead (this will cause a performance hit) - Expecting property name: line 8 column 9 (char 207)<br />
2012-07-26 09:29:05,533 (1238) :  DEBUG (preferences:249) - Loaded preferences from DefaultPrefs.json<br />
2012-07-26 09:29:05,533 (1238) :  DEBUG (preferences:172) - Reloaded the user preferences for com.plexapp.agents.anidb<br />
2012-07-26 09:29:08,075 (1238) :  INFO (logkit:16) - Auth ok!<br />
2012-07-26 09:29:08,092 (1238) :  INFO (logkit:16) - Unquoted filename is None<br />
2012-07-26 09:29:08,092 (1238) :  CRITICAL (core:541) - Exception in the search function of agent named 'AniDB', called with keyword arguments {'id': '19556', 'show': 'Fate/Zero II'} (most recent call last):<br />
  File "C:\Users\File Server\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\agentkit.py", line 918, in _search<br />
    agent.search(results, media, lang)<br />
  File "C:\Users\File Server\AppData\Local\Plex Media Server\Plug-ins\AniDB.bundle\Contents\Code\__init__.py", line 243, in search<br />
    self.doSearch(results, media, lang)<br />
  File "C:\Users\File Server\AppData\Local\Plex Media Server\Plug-ins\AniDB.bundle\Contents\Code\__init__.py", line 162, in doSearch<br />
    filePath = urllib.unquote(media.filename)<br />
  File "C:\Program Files (x86)\Plex\Plex Media Server\python26.zip\urllib.py", line 1170, in unquote<br />
    res = s.split('%')<br />
AttributeError: 'NoneType' object has no attribute 'split'<br />
<br />
2012-07-26 09:29:08,092 (1238) :  DEBUG (runtime:811) - Response: [200] str, 16 bytes<br />




I then uninstalled and reinstalled via your new link as for whatever reason clicking install from within plex did nothing from within plex media center.

same issue. log below

2012-07-26 09:41:07,319 (1cac) :  INFO (core:319) - Starting framework core - Version: 2.2.0.2, Build: 785d9fc (Wed Jul 11 04:41:48 UTC 2012)<br />
2012-07-26 09:41:07,319 (1cac) :  DEBUG (core:331) - Using the elevated policy<br />
2012-07-26 09:41:07,319 (1cac) :  DEBUG (core:419) - Starting runtime component.<br />
2012-07-26 09:41:07,319 (1cac) :  DEBUG (core:419) - Starting caching component.<br />
2012-07-26 09:41:07,319 (1cac) :  DEBUG (core:419) - Starting data component.<br />
2012-07-26 09:41:07,319 (1cac) :  DEBUG (core:419) - Starting networking component.<br />
2012-07-26 09:41:07,319 (1cac) :  DEBUG (networking:297) - Loaded HTTP cookies<br />
2012-07-26 09:41:07,319 (1cac) :  DEBUG (networking:483) - Setting the default network timeout to 20.0<br />
2012-07-26 09:41:07,319 (1cac) :  DEBUG (core:419) - Starting localization component.<br />
2012-07-26 09:41:07,319 (1cac) :  INFO (localization:408) - Setting the default locale to en-us<br />
2012-07-26 09:41:07,319 (1cac) :  DEBUG (core:419) - Starting messaging component.<br />
2012-07-26 09:41:07,319 (1cac) :  DEBUG (core:419) - Starting debugging component.<br />
2012-07-26 09:41:07,319 (1cac) :  DEBUG (core:419) - Starting services component.<br />
2012-07-26 09:41:07,319 (ff8) :  DEBUG (networking:156) - Requesting 'http://127.0.0.1:32400/system/messaging/clear_events/com.plexapp.agents.anidb'<br />
2012-07-26 09:41:07,319 (1cac) :  DEBUG (core:419) - Starting myplex component.<br />
2012-07-26 09:41:07,335 (1cac) :  DEBUG (core:419) - Starting notifications component.<br />
2012-07-26 09:41:07,490 (1cac) :  DEBUG (accessor:68) - Creating a new model access point for provider com.plexapp.agents.anidb in namespace 'metadata'<br />
2012-07-26 09:41:07,506 (1cac) :  DEBUG (runtime:995) - Created a thread named 'load_all_services'<br />
2012-07-26 09:41:07,506 (1c24) :  DEBUG (services:269) - Plug-in is not daemonized - loading services from system<br />
2012-07-26 09:41:07,506 (1cac) :  DEBUG (runtime:995) - Created a thread named 'get_server_info'<br />
2012-07-26 09:41:07,506 (1320) :  DEBUG (networking:156) - Requesting 'http://127.0.0.1:32400'<br />
2012-07-26 09:41:07,506 (1cac) :  DEBUG (core:138) - Finished starting framework core<br />
2012-07-26 09:41:07,506 (1c24) :  DEBUG (networking:156) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMApyMAo_'<br />
2012-07-26 09:41:07,506 (1cac) :  DEBUG (core:527) - Loading plug-in code<br />
2012-07-26 09:41:07,522 (1320) :  DEBUG (core:505) - Machine identifier is f35060f73571f81e2ecb57b673aa919675328ed8<br />
2012-07-26 09:41:07,522 (1320) :  DEBUG (core:506) - Server version is 0.9.6.3<br />
2012-07-26 09:41:07,927 (1cac) :  DEBUG (core:533) - Finished loading plug-in code<br />
2012-07-26 09:41:08,052 (1c24) :  DEBUG (services:356) - Loaded services<br />
2012-07-26 09:41:08,052 (1860) :  DEBUG (services:426) - No shared code to load<br />
2012-07-26 09:41:09,362 (1cac) :  DEBUG (agentkit:1005) - Creating new agent class called AniDBAgentMovies<br />
2012-07-26 09:41:09,362 (1cac) :  DEBUG (agentkit:885) - Updating agent information: [{'media_types': ['Movie'], 'accepts_from': ['com.plexapp.agents.localmedia', 'com.plexapp.agents.opensubtitles'], 'fallback_agent': None, 'contributes_to': None, 'languages': ['en'], 'persist_stored_files': True, 'primary_provider': True, 'prefs': True, 'name': 'AniDB'}]<br />
2012-07-26 09:41:09,362 (1cac) :  DEBUG (networking:156) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0FnZW50U2VydmljZTpVcGRhdGVJbmZv/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQo2CmRpY3QKbGlzdApkaWN0Cmxpc3QKbGlzdApsaXN0CjIKczI0CmNvbS5wbGV4YXBwLmFnZW50cy5hbmlkYnMxMAppZGVudGlmaWVycjEKczEwCmFnZW50X2luZm8xCnIyCjkKcjMKczExCm1lZGlhX3R5cGVzcjQKczEyCmFjY2VwdHNfZnJvbW5zMTQKZmFsbGJhY2tfYWdlbnRuczE0CmNvbnRyaWJ1dGVzX3RvcjUKczkKbGFuZ3VhZ2VzYjFzMjAKcGVyc2lzdF9zdG9yZWRfZmlsZXNiMXMxNgpwcmltYXJ5X3Byb3ZpZGVyYjFzNQpwcmVmc3M1CkFuaURCczQKbmFtZTEKczUKTW92aWUyCnMyOQpjb20ucGxleGFwcC5hZ2VudHMubG9jYWxtZWRpYXMzMgpjb20ucGxleGFwcC5hZ2VudHMub3BlbnN1YnRpdGxlczEKczIKZW5yMAo_'<br />
2012-07-26 09:41:09,362 (1cac) :  DEBUG (agentkit:1005) - Creating new agent class called AniDBAgentTV<br />
2012-07-26 09:41:09,362 (1cac) :  DEBUG (agentkit:885) - Updating agent information: [{'media_types': ['Movie'], 'accepts_from': ['com.plexapp.agents.localmedia', 'com.plexapp.agents.opensubtitles'], 'fallback_agent': None, 'contributes_to': None, 'languages': ['en'], 'persist_stored_files': True, 'primary_provider': True, 'prefs': True, 'name': 'AniDB'}, {'media_types': ['TV_Show'], 'accepts_from': ['com.plexapp.agents.localmedia', 'com.plexapp.agents.opensubtitles'], 'fallback_agent': None, 'contributes_to': None, 'languages': ['en'], 'persist_stored_files': True, 'primary_provider': True, 'prefs': True, 'name': 'AniDB'}]<br />
2012-07-26 09:41:09,378 (1cac) :  DEBUG (networking:156) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0FnZW50U2VydmljZTpVcGRhdGVJbmZv/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxMApkaWN0Cmxpc3QKZGljdApsaXN0Cmxpc3QKbGlzdApkaWN0Cmxpc3QKbGlzdApsaXN0CjIKczI0CmNvbS5wbGV4YXBwLmFnZW50cy5hbmlkYnMxMAppZGVudGlmaWVycjEKczEwCmFnZW50X2luZm8yCnIyCnI2CjkKcjMKczExCm1lZGlhX3R5cGVzcjQKczEyCmFjY2VwdHNfZnJvbW5zMTQKZmFsbGJhY2tfYWdlbnRuczE0CmNvbnRyaWJ1dGVzX3RvcjUKczkKbGFuZ3VhZ2VzYjFzMjAKcGVyc2lzdF9zdG9yZWRfZmlsZXNiMXMxNgpwcmltYXJ5X3Byb3ZpZGVyYjFzNQpwcmVmc3M1CkFuaURCczQKbmFtZTEKczUKTW92aWUyCnMyOQpjb20ucGxleGFwcC5hZ2VudHMubG9jYWxtZWRpYXMzMgpjb20ucGxleGFwcC5hZ2VudHMub3BlbnN1YnRpdGxlczEKczIKZW45CnI3CnMxMQptZWRpYV90eXBlc3I4CnMxMgphY2NlcHRzX2Zyb21uczE0CmZhbGxiYWNrX2FnZW50bnMxNApjb250cmlidXRlc190b3I5CnM5Cmxhbmd1YWdlc2IxczIwCnBlcnNpc3Rfc3RvcmVkX2ZpbGVzYjFzMTYKcHJpbWFyeV9wcm92aWRlcmIxczUKcHJlZnNzNQpBbmlEQnM0Cm5hbWUxCnM3ClRWX1Nob3cyCnMyOQpjb20ucGxleGFwcC5hZ2VudHMubG9jYWxtZWRpYXMzMgpjb20ucGxleGFwcC5hZ2VudHMub3BlbnN1YnRpdGxlczEKczIKZW5yMAo_'<br />
2012-07-26 09:41:09,378 (1cac) :  INFO (core:578) - Started plug-in<br />
2012-07-26 09:41:09,378 (1cac) :  DEBUG (socketinterface:137) - Starting socket server<br />
2012-07-26 09:41:09,378 (1cac) :  DEBUG (runtime:995) - Created a thread named 'start'<br />
2012-07-26 09:41:09,378 (1cac) :  INFO (socketinterface:161) - Socket server started on port 65272<br />
2012-07-26 09:41:09,378 (1cac) :  INFO (pipeinterface:25) - Entering run loop<br />
2012-07-26 09:41:09,378 (1cac) :  DEBUG (runtime:633) - Handling request GET /:/prefixes<br />
2012-07-26 09:41:09,394 (1cac) :  DEBUG (runtime:720) - Found route matching /:/prefixes<br />
2012-07-26 09:41:09,394 (1cac) :  DEBUG (runtime:811) - Response: [200] MediaContainer, 149 bytes<br />
2012-07-26 09:41:09,533 (a58) :  DEBUG (runtime:633) - Handling request GET /:/plugins/com.plexapp.agents.anidb/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo0CnMyCmVuczQKbGFuZ3M3ClRWX1Nob3dzMTAKbWVkaWFfdHlwZWIxczYKbWFudWFscjEKczYKa3dhcmdzMgpzNQoxOTU1NnMyCmlkczEyCkZhdGUvWmVybyBJSXM0CnNob3dyMAo_<br />
2012-07-26 09:41:09,565 (a58) :  DEBUG (runtime:720) - Found route matching /:/plugins/com.plexapp.agents.anidb/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo0CnMyCmVuczQKbGFuZ3M3ClRWX1Nob3dzMTAKbWVkaWFfdHlwZWIxczYKbWFudWFscjEKczYKa3dhcmdzMgpzNQoxOTU1NnMyCmlkczEyCkZhdGUvWmVybyBJSXM0CnNob3dyMAo_<br />
2012-07-26 09:41:09,565 (a58) :  INFO (agentkit:909) - Searching for matches for {'id': '19556', 'show': 'Fate/Zero II'}<br />
2012-07-26 09:41:09,565 (a58) :  DEBUG (networking:156) - Requesting 'http://127.0.0.1:32400/library/metadata/19556/tree'<br />
2012-07-26 09:41:09,581 (a58) :  WARNING (data:181) - Error decoding with simplejson, using demjson instead (this will cause a performance hit) - Expecting property name: line 8 column 9 (char 207)<br />
2012-07-26 09:41:09,596 (a58) :  DEBUG (preferences:249) - Loaded preferences from DefaultPrefs.json<br />
2012-07-26 09:41:09,596 (a58) :  DEBUG (preferences:172) - Reloaded the user preferences for com.plexapp.agents.anidb<br />
2012-07-26 09:41:12,062 (a58) :  INFO (logkit:16) - Auth ok!<br />
2012-07-26 09:41:12,062 (a58) :  CRITICAL (core:541) - Exception in the search function of agent named 'AniDB', called with keyword arguments {'id': '19556', 'show': 'Fate/Zero II'} (most recent call last):<br />
  File "C:\Users\File Server\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\agentkit.py", line 918, in _search<br />
    agent.search(results, media, lang)<br />
  File "C:\Users\File Server\AppData\Local\Plex Media Server\Plug-ins\AniDB.bundle\Contents\Code\__init__.py", line 243, in search<br />
    self.doSearch(results, media, lang)<br />
  File "C:\Users\File Server\AppData\Local\Plex Media Server\Plug-ins\AniDB.bundle\Contents\Code\__init__.py", line 162, in doSearch<br />
    filePath = urllib.unquote(media.filename)<br />
  File "C:\Program Files (x86)\Plex\Plex Media Server\python26.zip\urllib.py", line 1170, in unquote<br />
    res = s.split('%')<br />
AttributeError: 'NoneType' object has no attribute 'split'<br />
<br />
2012-07-26 09:41:12,062 (a58) :  DEBUG (runtime:811) - Response: [200] str, 16 bytes<br />




there doesn't appear to be much difference between the modified line 161 file and the fresh v7 file. Did what you expected show up in the log?


Yes - if you look at the line

2012-07-26 09:29:08,092 (1238) : INFO (logkit:16) - Unquoted filename is None

Here the agent prints the filename given to it from Plex via the attribte media.filename and media.filename seems to be None or "nothing". For some reason Plex doesn't set the filename correctly, and that's something handled outside of the agent. Perhaps other changes were made in the framework that I don't know about. Try asking on the general forum or on the scanner forum.


You seem to be having the same problem as Quicksmage, not sure what's causing it. For some reason Plex doesn't set the filename of the media. I'll see if I can add fix it so that it falls back to search-by-name if filename is None.

Quiksmage, MJPs does this



http://forums.plexapp.com/index.php/topic/28304-how-to-reset-the-system-bundle/



help?

nope. no luck.

same problem same log.



<br />
2012-07-26 16:35:31,354 (1698) :  DEBUG (core:152) - Starting framework core - Version: 2.1.7.0, Build: d5f2261 (Thu May 17 17:47:20 UTC 2012)<br />
2012-07-26 16:35:31,354 (1698) :  DEBUG (core:166) - Using the elevated security policy<br />
2012-07-26 16:35:31,354 (1698) :  DEBUG (core:212) - Starting runtime component.<br />
2012-07-26 16:35:31,354 (1698) :  DEBUG (core:214) - Starting caching component.<br />
2012-07-26 16:35:31,354 (1698) :  DEBUG (core:216) - Starting data component.<br />
2012-07-26 16:35:31,354 (1698) :  DEBUG (core:218) - Starting networking component.<br />
2012-07-26 16:35:31,354 (1698) :  DEBUG (networking:439) - Setting the default network timeout to 20.0<br />
2012-07-26 16:35:31,354 (1698) :  DEBUG (networking:295) - Loaded HTTP cookies<br />
2012-07-26 16:35:31,369 (1698) :  DEBUG (core:220) - Starting localization component.<br />
2012-07-26 16:35:31,369 (1698) :  INFO (localization:406) - Setting the default locale to en-us<br />
2012-07-26 16:35:31,369 (1698) :  DEBUG (localization:428) - Unable to find en strings<br />
2012-07-26 16:35:31,369 (1698) :  DEBUG (localization:440) - Unable to find en-us strings<br />
2012-07-26 16:35:31,369 (1698) :  DEBUG (core:222) - Starting messaging component.<br />
2012-07-26 16:35:31,369 (1698) :  DEBUG (core:337) - Created a thread named 'get_server_info'<br />
2012-07-26 16:35:31,369 (2058) :  DEBUG (core:337) - Requesting 'http://127.0.0.1:32400/system/messaging/clear_events/com.plexapp.agents.anidb'<br />
2012-07-26 16:35:31,369 (14fc) :  DEBUG (core:337) - Requesting 'http://127.0.0.1:32400'<br />
2012-07-26 16:35:31,384 (14fc) :  DEBUG (core:337) - Machine identifier is f35060f73571f81e2ecb57b673aa919675328ed8<br />
2012-07-26 16:35:31,384 (14fc) :  DEBUG (core:337) - Server version is 0.9.6.3<br />
2012-07-26 16:35:31,540 (1698) :  DEBUG (core:337) - Created a thread named 'load_all_services'<br />
2012-07-26 16:35:31,540 (1698) :  DEBUG (core:337) - Created a thread named 'setup_shared_code_host'<br />
2012-07-26 16:35:31,540 (914) :  DEBUG (core:337) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMApyMAo_'<br />
2012-07-26 16:35:31,540 (1ccc) :  DEBUG (prefskit:163) - Loading prefs for <Framework.policies.elevatedpolicy.ElevatedPolicy object at 0x034D3EB0><br />
2012-07-26 16:35:31,540 (1698) :  DEBUG (accessor:68) - Creating a new model access point for provider com.plexapp.agents.anidb in namespace 'metadata'<br />
2012-07-26 16:35:31,540 (1698) :  DEBUG (classes:9) - Generating class for 'Album' model in namespace 'metadata' with access point 'com.plexapp.agents.anidb'<br />
2012-07-26 16:35:31,540 (1ccc) :  WARNING (data:178) - Error decoding with simplejson, using demjson instead (this will cause a performance hit) - Expecting property name: line 8 column 9 (char 207)<br />
2012-07-26 16:35:31,540 (1698) :  DEBUG (classes:9) - Generating class for 'Episode' model in namespace 'metadata' with access point 'com.plexapp.agents.anidb'<br />
2012-07-26 16:35:31,540 (1698) :  DEBUG (classes:9) - Generating class for 'TV_Show' model in namespace 'metadata' with access point 'com.plexapp.agents.anidb'<br />
2012-07-26 16:35:31,540 (1698) :  DEBUG (classes:9) - Generating class for 'Artist' model in namespace 'metadata' with access point 'com.plexapp.agents.anidb'<br />
2012-07-26 16:35:31,556 (1698) :  DEBUG (classes:9) - Generating class for 'Track' model in namespace 'metadata' with access point 'com.plexapp.agents.anidb'<br />
2012-07-26 16:35:31,556 (1698) :  DEBUG (classes:9) - Generating class for 'Movie' model in namespace 'metadata' with access point 'com.plexapp.agents.anidb'<br />
2012-07-26 16:35:31,556 (1ccc) :  DEBUG (prefskit:234) - Loaded preferences from DefaultPrefs.json<br />
2012-07-26 16:35:31,556 (1698) :  DEBUG (classes:9) - Generating class for 'Photo' model in namespace 'metadata' with access point 'com.plexapp.agents.anidb'<br />
2012-07-26 16:35:31,556 (1698) :  DEBUG (classes:9) - Generating class for 'VideoClip' model in namespace 'metadata' with access point 'com.plexapp.agents.anidb'<br />
2012-07-26 16:35:31,556 (1698) :  DEBUG (classes:9) - Generating class for 'Person' model in namespace 'metadata' with access point 'com.plexapp.agents.anidb'<br />
2012-07-26 16:35:31,556 (1698) :  DEBUG (classes:9) - Generating class for 'Role' model in namespace 'metadata' with access point 'com.plexapp.agents.anidb'<br />
2012-07-26 16:35:31,556 (1698) :  DEBUG (classes:9) - Generating class for 'Season' model in namespace 'metadata' with access point 'com.plexapp.agents.anidb'<br />
2012-07-26 16:35:31,556 (1698) :  DEBUG (classes:9) - Generating class for 'PhotoAlbum' model in namespace 'metadata' with access point 'com.plexapp.agents.anidb'<br />
2012-07-26 16:35:31,556 (1698) :  DEBUG (core:269) - Finished starting framework core<br />
2012-07-26 16:35:31,556 (1698) :  DEBUG (core:322) - Loading plug-in code<br />
2012-07-26 16:35:31,805 (1698) :  DEBUG (core:328) - Finished loading plug-in code<br />
2012-07-26 16:35:31,930 (914) :  DEBUG (core:819) - Loaded services<br />
2012-07-26 16:35:31,930 (1ccc) :  DEBUG (prefskit:343) - Loaded the user preferences for com.plexapp.agents.anidb<br />
2012-07-26 16:35:31,930 (1ed0) :  DEBUG (prefskit:163) - Loading prefs for <Framework.policies.servicepolicy.ServicePolicy object at 0x0510CFD0><br />
2012-07-26 16:35:31,947 (1ed0) :  DEBUG (prefskit:343) - Loaded the user preferences for com.plexapp.agents.anidb<br />
2012-07-26 16:35:31,947 (1ed0) :  DEBUG (core:890) - No shared code to load<br />
2012-07-26 16:35:33,242 (1698) :  DEBUG (agentkit:929) - Creating new agent class called AniDBAgentMovies<br />
2012-07-26 16:35:33,242 (1698) :  DEBUG (agentkit:816) - Updating agent information: [{'media_types': ['Movie'], 'accepts_from': ['com.plexapp.agents.localmedia', 'com.plexapp.agents.opensubtitles'], 'fallback_agent': None, 'contributes_to': None, 'languages': ['en'], 'persist_stored_files': True, 'primary_provider': True, 'prefs': True, 'name': 'AniDB'}]<br />
2012-07-26 16:35:33,242 (1698) :  DEBUG (core:337) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0FnZW50U2VydmljZTpVcGRhdGVJbmZv/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQo2CmRpY3QKbGlzdApkaWN0Cmxpc3QKbGlzdApsaXN0CjIKczI0CmNvbS5wbGV4YXBwLmFnZW50cy5hbmlkYnMxMAppZGVudGlmaWVycjEKczEwCmFnZW50X2luZm8xCnIyCjkKcjMKczExCm1lZGlhX3R5cGVzcjQKczEyCmFjY2VwdHNfZnJvbW5zMTQKZmFsbGJhY2tfYWdlbnRuczE0CmNvbnRyaWJ1dGVzX3RvcjUKczkKbGFuZ3VhZ2VzYjFzMjAKcGVyc2lzdF9zdG9yZWRfZmlsZXNiMXMxNgpwcmltYXJ5X3Byb3ZpZGVyYjFzNQpwcmVmc3M1CkFuaURCczQKbmFtZTEKczUKTW92aWUyCnMyOQpjb20ucGxleGFwcC5hZ2VudHMubG9jYWxtZWRpYXMzMgpjb20ucGxleGFwcC5hZ2VudHMub3BlbnN1YnRpdGxlczEKczIKZW5yMAo_'<br />
2012-07-26 16:35:33,288 (1698) :  DEBUG (agentkit:929) - Creating new agent class called AniDBAgentTV<br />
2012-07-26 16:35:33,288 (1698) :  DEBUG (agentkit:816) - Updating agent information: [{'media_types': ['Movie'], 'accepts_from': ['com.plexapp.agents.localmedia', 'com.plexapp.agents.opensubtitles'], 'fallback_agent': None, 'contributes_to': None, 'languages': ['en'], 'persist_stored_files': True, 'primary_provider': True, 'prefs': True, 'name': 'AniDB'}, {'media_types': ['TV_Show'], 'accepts_from': ['com.plexapp.agents.localmedia', 'com.plexapp.agents.opensubtitles'], 'fallback_agent': None, 'contributes_to': None, 'languages': ['en'], 'persist_stored_files': True, 'primary_provider': True, 'prefs': True, 'name': 'AniDB'}]<br />
2012-07-26 16:35:33,288 (1698) :  DEBUG (core:337) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0FnZW50U2VydmljZTpVcGRhdGVJbmZv/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxMApkaWN0Cmxpc3QKZGljdApsaXN0Cmxpc3QKbGlzdApkaWN0Cmxpc3QKbGlzdApsaXN0CjIKczI0CmNvbS5wbGV4YXBwLmFnZW50cy5hbmlkYnMxMAppZGVudGlmaWVycjEKczEwCmFnZW50X2luZm8yCnIyCnI2CjkKcjMKczExCm1lZGlhX3R5cGVzcjQKczEyCmFjY2VwdHNfZnJvbW5zMTQKZmFsbGJhY2tfYWdlbnRuczE0CmNvbnRyaWJ1dGVzX3RvcjUKczkKbGFuZ3VhZ2VzYjFzMjAKcGVyc2lzdF9zdG9yZWRfZmlsZXNiMXMxNgpwcmltYXJ5X3Byb3ZpZGVyYjFzNQpwcmVmc3M1CkFuaURCczQKbmFtZTEKczUKTW92aWUyCnMyOQpjb20ucGxleGFwcC5hZ2VudHMubG9jYWxtZWRpYXMzMgpjb20ucGxleGFwcC5hZ2VudHMub3BlbnN1YnRpdGxlczEKczIKZW45CnI3CnMxMQptZWRpYV90eXBlc3I4CnMxMgphY2NlcHRzX2Zyb21uczE0CmZhbGxiYWNrX2FnZW50bnMxNApjb250cmlidXRlc190b3I5CnM5Cmxhbmd1YWdlc2IxczIwCnBlcnNpc3Rfc3RvcmVkX2ZpbGVzYjFzMTYKcHJpbWFyeV9wcm92aWRlcmIxczUKcHJlZnNzNQpBbmlEQnM0Cm5hbWUxCnM3ClRWX1Nob3cyCnMyOQpjb20ucGxleGFwcC5hZ2VudHMubG9jYWxtZWRpYXMzMgpjb20ucGxleGFwcC5hZ2VudHMub3BlbnN1YnRpdGxlczEKczIKZW5yMAo_'<br />
2012-07-26 16:35:33,335 (1698) :  DEBUG (core:465) - Running pre-flight checks<br />
2012-07-26 16:35:33,335 (1698) :  INFO (core:472) - Started plug-in<br />
2012-07-26 16:35:33,335 (1698) :  DEBUG (socketinterface:137) - Starting socket server<br />
2012-07-26 16:35:33,335 (1698) :  DEBUG (core:337) - Created a thread named 'start'<br />
2012-07-26 16:35:33,335 (1698) :  INFO (socketinterface:161) - Socket server started on port 57955<br />
2012-07-26 16:35:33,335 (1698) :  INFO (pipeinterface:28) - Entering run loop<br />
2012-07-26 16:35:33,351 (1698) :  DEBUG (core:337) - Handling request GET /:/prefixes<br />
2012-07-26 16:35:33,351 (1698) :  DEBUG (core:337) - Response: 200<br />
2012-07-26 16:35:33,834 (1568) :  DEBUG (core:337) - Handling request GET /:/plugins/com.plexapp.agents.anidb/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo0CnMyCmVuczQKbGFuZ3M3ClRWX1Nob3dzMTAKbWVkaWFfdHlwZWIxczYKbWFudWFscjEKczYKa3dhcmdzMwpzNAoyMDEyczQKeWVhcnM1CjE5NTU2czIKaWRzMTIKRmF0ZS9aZXJvIElJczQKc2hvd3IwCg__<br />
2012-07-26 16:35:33,834 (1568) :  INFO (agentkit:839) - Searching for matches for {'show': 'Fate/Zero II', 'id': '19556', 'year': '2012'}<br />
2012-07-26 16:35:33,834 (1568) :  DEBUG (core:337) - Requesting 'http://127.0.0.1:32400/library/metadata/19556/tree'<br />
2012-07-26 16:35:36,174 (1568) :  INFO (core:337) - Auth ok!<br />
2012-07-26 16:35:36,174 (1568) :  INFO (core:337) - Unquoted filename is None<br />
2012-07-26 16:35:36,174 (1568) :  CRITICAL (core:337) - Exception in the search function of agent named 'AniDB', called with keyword arguments {'show': 'Fate/Zero II', 'id': '19556', 'year': '2012'} (most recent call last):<br />
  File "C:\Users\File Server\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\agentkit.py", line 848, in _search<br />
    agent.search(results, media, lang)<br />
  File "C:\Users\File Server\AppData\Local\Plex Media Server\Plug-ins\AniDB.bundle\Contents\Code\__init__.py", line 243, in search<br />
    self.doSearch(results, media, lang)<br />
  File "C:\Users\File Server\AppData\Local\Plex Media Server\Plug-ins\AniDB.bundle\Contents\Code\__init__.py", line 162, in doSearch<br />
    filePath = urllib.unquote(media.filename)<br />
  File "C:\Program Files (x86)\Plex\Plex Media Server\python26.zip\urllib.py", line 1170, in unquote<br />
    res = s.split('%')<br />
AttributeError: 'NoneType' object has no attribute 'split'<br />
<br />
2012-07-26 16:35:36,174 (1568) :  DEBUG (core:337) - Response: 200<br />





I'll gladly test any changes you'd like to make =P.


Nope same error.
Same here ill gladly test anything you come up with.

Btw when i check agents in preferences and AniDB under TV-Shows I see AniDB there to the right but its greyed out and not checked in. aka there isn't a cross in the checkbox :P
Is that normal or is something wrong there?

Yeah, that's normal.


Well, I don't have much else to offer at the moment, I'm off for another week of no computer, but try asking on the media server forum and see if Elan or any of the Plex devs can help out. If anything needs to be changed in the plugin I'll happily do it when I return. Otherwise, I'll see what I can find when I get back.


I tried editing the file under AniDB.bundle, DefaultPrefs.json, now I cant get AniDB to come up in the agents view, is there a step by step, this forum seems to be full of expert speak. Windows 7.

Please help.

Eric


Hi, I have been trying to get this going for months, tried your new version, same issue, no "com.plexapp.agents.anidb.xml" in the Preferences directory.

Please post one or tell me how to get the file please???

v1k1ng66,



I had the same issue as you previously. It didn’t matter how I installed it or how how many times I initiated the service to try to get it to show the file.



What I ended up doing while searching for hours was copying someone’s file. They had posted a screenshot of it for whatever reason so I simply created it myself and put my login information inside. voila, it worked.



create a file in notepad with the following contained


<?xml version='1.0' encoding='utf-8'?>



username

password





save this file as com.plexapp.agents.anidb.xml make sure it doesn’t add .txt at the end or w/e and obviously replace username and password with your anidb user credentials.



I don’t know if the above is a windows only problem, but if it is the creator should put the above info in the original post.



Thanks so much, nice work. Eric


I have the file in the right place now, username and password correct, but I am still unable to select the anidb option, how do I enable it? It is listed, but greyed out so to speak.. I appreciate any suggestions. Eric



yes, as MJPs has shown from a previous post, this is normal. To use it for a specific scrape simply right click on one of your media and select match using >> AniDB or ‘fix incorrect match’. once you click on fix incorrect match, click on custom search and set it to AniDB and fill in the info. It should then give you a list to choose from for the media you searched.



You can also use it for an entire media section. When you add the media section make sure to click on advanced and set it to use AniDB. Hope that helped.







on an unrelated note, no one has responded to my unquoted filename is none thread, Tuffo :<. I hope we can get a fix somehow. Thanks for looking into it.



Still no joy, if I search using AniDB it seems to do nothing? I'll look in the logs.


That's normal. What you're doing on that screen is enabling *other* agents to contribute to Plex's metadata. Doesn't make sense for AniDB to contribute to itself so it's greyed out.

It needs to be the primary metadata agent for the section. Assuming you've got a section created in your PMS manager, open the section you created for your anime TV/Movies, click Edit Session, then on the box that pops up, hit 'Advanced' and change your Primary Metadata Agent to AniDB. If you are watching shows with > 100 episodes eg Bleach, Naruto, Fairy Tail, One Piece and so on, you will also probably want to install the BABS scanner (search the forums) and select it there instead of the Plex Series Scanner, because Plex's built in one will assume that Episode 100 is Episode 00 of Season 1, and things go haywire. :(



@Quiksmage/MJPs: You are both having the same issue from the looks of it. How have you set up the section you're using for anime? Which scanner? Are you using AniDB as the primary agent? The particularly interesting thing about your case is here:

2012-07-26 09:41:09,565 (a58) :  INFO (agentkit:909) - Searching for matches for {'id': '19556', 'show': 'Fate/Zero II'}



Compare this to what I see in my logs when I scan a series for the first time:

2012-08-02 22:00:20,182 (-4ad0b470) :  INFO (agentkit:909) - Searching for matches for {'openSubtitlesHash': '6e128fb96b07215', 'episode': '6', 'episodic': '1', 'show': 'Break Blade', 'season': '1', 'filename': '%2Fshare%2FMD0_DATA%2FMultimedia%2FVideo%2FAnime%2FBreak%20Blade%2F[gg]_Break_Blade_-_Episode_06_(1080p)_[D820D6DE]%2Emkv', 'plexHash': 'e7d670a8ccaf9f6982b2b697bb65f61df1f12e21', 'duration': '-1', 'id': '2367'}



So you can see that the parameters being passed into the agent lookup in your case is extremely sparse - just a show name and plex's internal ID. In my case I get episode number, season, filename, duration and some extra hashes. The exception you're seeing is because that filename's not being passed in at all. Perhaps if you're both on the same platform and both using BABS, it's actually a Windows-specific BABS problem?

Could you try creating a section using BABS and the TVDB agent? Also if that works, a section with the Plex Series Scanner and AniDB agent? That way we can try and narrow down whether the problem is AniDB or BABS or something else entirely. It's cool for your test section to contain just one folder with one episode of a show, just make sure it's something mid-series like ep 2+, and something that TVDB would be expected to match. Not sure if the TVDB agent uses the filename, it might just assume no episode = episode 1 so if it mis-numbers things that'd be a pretty good indication it's broken :)

I'll try setting up PMS on windows and see if I can reproduce the problem too.


No luck there unfortunately, works fine. :(

Have you guys tried updating to the newest Plex Media Server? 0.9.6.6 is out. Maybe there's something lingering that's been partially updated.


BABS works with TVDB fine for me. It is specific to Anidb. The log I made was me right clicking on an item and clicking fix incorrect match and searching from there. So my search was looking for a show name, not necessarily a episode, etc.

My current plex media server is 0.9.6.3. Installing 0.9.6.6-b75secf4 now.

upon installing the latest version I will now create a new media entry under tv shows using BABS as the scanner and Anidb as the agent.

Turns out.....success! at least in this instance

<br />
2012-08-02 21:16:11,299 (2270) :  INFO (core:336) - Starting framework core - Version: 2.2.0.12, Build: 8a8b311 (Thu Aug 02 22:03:52 UTC 2012)<br />
2012-08-02 21:16:11,299 (2270) :  DEBUG (core:348) - Using the elevated policy<br />
2012-08-02 21:16:11,299 (2270) :  DEBUG (core:437) - Starting runtime component.<br />
2012-08-02 21:16:11,315 (2270) :  DEBUG (core:437) - Starting caching component.<br />
2012-08-02 21:16:11,315 (2270) :  DEBUG (core:437) - Starting data component.<br />
2012-08-02 21:16:11,315 (2270) :  DEBUG (core:437) - Starting networking component.<br />
2012-08-02 21:16:11,315 (2270) :  DEBUG (networking:297) - Loaded HTTP cookies<br />
2012-08-02 21:16:11,315 (2270) :  DEBUG (networking:483) - Setting the default network timeout to 20.0<br />
2012-08-02 21:16:11,315 (2270) :  DEBUG (core:437) - Starting localization component.<br />
2012-08-02 21:16:11,315 (2270) :  INFO (localization:408) - Setting the default locale to en-us<br />
2012-08-02 21:16:11,315 (2270) :  DEBUG (core:437) - Starting messaging component.<br />
2012-08-02 21:16:11,315 (2270) :  DEBUG (core:437) - Starting debugging component.<br />
2012-08-02 21:16:11,315 (2270) :  DEBUG (core:437) - Starting services component.<br />
2012-08-02 21:16:11,315 (1018) :  DEBUG (networking:156) - Requesting 'http://127.0.0.1:32400/system/messaging/clear_events/com.plexapp.agents.anidb'<br />
2012-08-02 21:16:11,315 (2270) :  DEBUG (core:437) - Starting myplex component.<br />
2012-08-02 21:16:11,315 (2270) :  DEBUG (core:437) - Starting notifications component.<br />
2012-08-02 21:16:11,487 (2270) :  DEBUG (accessor:68) - Creating a new model access point for provider com.plexapp.agents.anidb in namespace 'metadata'<br />
2012-08-02 21:16:11,503 (2270) :  DEBUG (runtime:1009) - Created a thread named 'load_all_services'<br />
2012-08-02 21:16:11,503 (1e10) :  DEBUG (services:263) - Plug-in is not daemonized - loading services from system<br />
2012-08-02 21:16:11,503 (2270) :  DEBUG (runtime:1009) - Created a thread named 'get_server_info'<br />
2012-08-02 21:16:11,503 (c58) :  DEBUG (networking:156) - Requesting 'http://127.0.0.1:32400'<br />
2012-08-02 21:16:11,519 (1e10) :  DEBUG (networking:156) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMApyMAo_'<br />
2012-08-02 21:16:11,519 (2270) :  DEBUG (core:149) - Finished starting framework core<br />
2012-08-02 21:16:11,519 (2270) :  DEBUG (core:547) - Loading plug-in code<br />
2012-08-02 21:16:11,533 (c58) :  DEBUG (core:525) - Machine identifier is f35060f73571f81e2ecb57b673aa919675328ed8<br />
2012-08-02 21:16:11,533 (c58) :  DEBUG (core:526) - Server version is 0.9.6.6-b75ecf4<br />
2012-08-02 21:16:11,845 (2270) :  DEBUG (core:553) - Finished loading plug-in code<br />
2012-08-02 21:16:12,017 (1e10) :  DEBUG (services:357) - Loaded services<br />
2012-08-02 21:16:12,033 (9e4) :  DEBUG (services:433) - No shared code to load<br />
2012-08-02 21:16:13,344 (2270) :  DEBUG (agentkit:1005) - Creating new agent class called AniDBAgentMovies<br />
2012-08-02 21:16:13,344 (2270) :  DEBUG (agentkit:885) - Updating agent information: [{'media_types': ['Movie'], 'accepts_from': ['com.plexapp.agents.localmedia', 'com.plexapp.agents.opensubtitles'], 'fallback_agent': None, 'contributes_to': None, 'languages': ['en'], 'persist_stored_files': True, 'primary_provider': True, 'prefs': True, 'name': 'AniDB'}]<br />
2012-08-02 21:16:13,344 (2270) :  DEBUG (networking:156) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0FnZW50U2VydmljZTpVcGRhdGVJbmZv/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQo2CmRpY3QKbGlzdApkaWN0Cmxpc3QKbGlzdApsaXN0CjIKczI0CmNvbS5wbGV4YXBwLmFnZW50cy5hbmlkYnMxMAppZGVudGlmaWVycjEKczEwCmFnZW50X2luZm8xCnIyCjkKcjMKczExCm1lZGlhX3R5cGVzcjQKczEyCmFjY2VwdHNfZnJvbW5zMTQKZmFsbGJhY2tfYWdlbnRuczE0CmNvbnRyaWJ1dGVzX3RvcjUKczkKbGFuZ3VhZ2VzYjFzMjAKcGVyc2lzdF9zdG9yZWRfZmlsZXNiMXMxNgpwcmltYXJ5X3Byb3ZpZGVyYjFzNQpwcmVmc3M1CkFuaURCczQKbmFtZTEKczUKTW92aWUyCnMyOQpjb20ucGxleGFwcC5hZ2VudHMubG9jYWxtZWRpYXMzMgpjb20ucGxleGFwcC5hZ2VudHMub3BlbnN1YnRpdGxlczEKczIKZW5yMAo_'<br />
2012-08-02 21:16:13,359 (2270) :  DEBUG (agentkit:1005) - Creating new agent class called AniDBAgentTV<br />
2012-08-02 21:16:13,359 (2270) :  DEBUG (agentkit:885) - Updating agent information: [{'media_types': ['Movie'], 'accepts_from': ['com.plexapp.agents.localmedia', 'com.plexapp.agents.opensubtitles'], 'fallback_agent': None, 'contributes_to': None, 'languages': ['en'], 'persist_stored_files': True, 'primary_provider': True, 'prefs': True, 'name': 'AniDB'}, {'media_types': ['TV_Show'], 'accepts_from': ['com.plexapp.agents.localmedia', 'com.plexapp.agents.opensubtitles'], 'fallback_agent': None, 'contributes_to': None, 'languages': ['en'], 'persist_stored_files': True, 'primary_provider': True, 'prefs': True, 'name': 'AniDB'}]<br />
2012-08-02 21:16:13,359 (2270) :  DEBUG (networking:156) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0FnZW50U2VydmljZTpVcGRhdGVJbmZv/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxMApkaWN0Cmxpc3QKZGljdApsaXN0Cmxpc3QKbGlzdApkaWN0Cmxpc3QKbGlzdApsaXN0CjIKczI0CmNvbS5wbGV4YXBwLmFnZW50cy5hbmlkYnMxMAppZGVudGlmaWVycjEKczEwCmFnZW50X2luZm8yCnIyCnI2CjkKcjMKczExCm1lZGlhX3R5cGVzcjQKczEyCmFjY2VwdHNfZnJvbW5zMTQKZmFsbGJhY2tfYWdlbnRuczE0CmNvbnRyaWJ1dGVzX3RvcjUKczkKbGFuZ3VhZ2VzYjFzMjAKcGVyc2lzdF9zdG9yZWRfZmlsZXNiMXMxNgpwcmltYXJ5X3Byb3ZpZGVyYjFzNQpwcmVmc3M1CkFuaURCczQKbmFtZTEKczUKTW92aWUyCnMyOQpjb20ucGxleGFwcC5hZ2VudHMubG9jYWxtZWRpYXMzMgpjb20ucGxleGFwcC5hZ2VudHMub3BlbnN1YnRpdGxlczEKczIKZW45CnI3CnMxMQptZWRpYV90eXBlc3I4CnMxMgphY2NlcHRzX2Zyb21uczE0CmZhbGxiYWNrX2FnZW50bnMxNApjb250cmlidXRlc190b3I5CnM5Cmxhbmd1YWdlc2IxczIwCnBlcnNpc3Rfc3RvcmVkX2ZpbGVzYjFzMTYKcHJpbWFyeV9wcm92aWRlcmIxczUKcHJlZnNzNQpBbmlEQnM0Cm5hbWUxCnM3ClRWX1■■■3cyCnMyOQpjb20ucGxleGFwcC5hZ2VudHMubG9jYWxtZWRpYXMzMgpjb20ucGxleGFwcC5hZ2VudHMub3BlbnN1YnRpdGxlczEKczIKZW5yMAo_'<br />
2012-08-02 21:16:13,375 (2270) :  INFO (core:598) - Started plug-in<br />
2012-08-02 21:16:13,375 (2270) :  DEBUG (socketinterface:137) - Starting socket server<br />
2012-08-02 21:16:13,375 (2270) :  DEBUG (runtime:1009) - Created a thread named 'start'<br />
2012-08-02 21:16:13,375 (2270) :  INFO (socketinterface:161) - Socket server started on port 58371<br />
2012-08-02 21:16:13,375 (2270) :  INFO (pipeinterface:25) - Entering run loop<br />
2012-08-02 21:16:13,375 (2270) :  DEBUG (runtime:650) - Handling request GET /:/prefixes<br />
2012-08-02 21:16:13,375 (2270) :  DEBUG (runtime:740) - Found route matching /:/prefixes<br />
2012-08-02 21:16:13,375 (2270) :  DEBUG (runtime:830) - Response: [200] MediaContainer, 149 bytes<br />
2012-08-02 21:16:13,780 (1ac8) :  DEBUG (runtime:650) - Handling request GET /:/plugins/com.plexapp.agents.anidb/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo0CnMyCmVuczQKbGFuZ3M3ClRWX1■■■3dzMTAKbWVkaWFfdHlwZWIwczYKbWFudWFscjEKczYKa3dhcmdzOQpzMTYKNjlmZGJjMjE4YzczMzM1M3MxNwpvcGVuU3VidGl0bGVzSGFzaHMxCjFzNwplcGlzb2RlczEKMXM4CmVwaXNvZGljczEyCkZhdGUgWmVybyBJaXM0CnNob3dzMQoxczYKc2Vhc29uczg1CkU6JTVDQW5pbWV6JTVDRmF0ZSUyMFplcm8lMjBJSSU1Q1tVVFddX0ZhdGVfWmVyb18tX1MwMUUwMV9baDI2NC03MjBwXVs0RDFDQUVEQl0lMkVta3ZzOApmaWxlbmFtZXM0MAoxNzIxMmYwZmI2YTE4N2UxYmMxNDFlM2JlYTY5Y2FjNTk1NjhmMzQ4czgKcGxleEhhc2hzMgotMXM4CmR1cmF0aW9uczUKMzA3ODBzMgppZHIwCg__<br />
2012-08-02 21:16:13,812 (1ac8) :  DEBUG (runtime:740) - Found route matching /:/plugins/com.plexapp.agents.anidb/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo0CnMyCmVuczQKbGFuZ3M3ClRWX1■■■3dzMTAKbWVkaWFfdHlwZWIwczYKbWFudWFscjEKczYKa3dhcmdzOQpzMTYKNjlmZGJjMjE4YzczMzM1M3MxNwpvcGVuU3VidGl0bGVzSGFzaHMxCjFzNwplcGlzb2RlczEKMXM4CmVwaXNvZGljczEyCkZhdGUgWmVybyBJaXM0CnNob3dzMQoxczYKc2Vhc29uczg1CkU6JTVDQW5pbWV6JTVDRmF0ZSUyMFplcm8lMjBJSSU1Q1tVVFddX0ZhdGVfWmVyb18tX1MwMUUwMV9baDI2NC03MjBwXVs0RDFDQUVEQl0lMkVta3ZzOApmaWxlbmFtZXM0MAoxNzIxMmYwZmI2YTE4N2UxYmMxNDFlM2JlYTY5Y2FjNTk1NjhmMzQ4czgKcGxleEhhc2hzMgotMXM4CmR1cmF0aW9uczUKMzA3ODBzMgppZHIwCg__<br />
2012-08-02 21:16:13,812 (1ac8) :  INFO (agentkit:909) - Searching for matches for {'openSubtitlesHash': '69fdbc218c733353', 'episode': '1', 'episodic': '1', 'show': 'Fate Zero Ii', 'season': '1', 'filename': 'E:%5CAnimez%5CFate%20Zero%20II%5C[UTW]_Fate_Zero_-_S01E01_[h264-720p][4D1CAEDB]%2Emkv', 'plexHash': '17212f0fb6a187e1bc141e3bea69cac59568f348', 'duration': '-1', 'id': '30780'}<br />
2012-08-02 21:16:13,812 (1ac8) :  DEBUG (networking:156) - Requesting 'http://127.0.0.1:32400/library/metadata/30780/tree'<br />
2012-08-02 21:16:13,812 (1ac8) :  WARNING (data:181) - Error decoding with simplejson, using demjson instead (this will cause a performance hit) - Expecting property name: line 8 column 9 (char 207)<br />
2012-08-02 21:16:13,828 (1ac8) :  DEBUG (preferences:259) - Loaded preferences from DefaultPrefs.json<br />
2012-08-02 21:16:13,828 (1ac8) :  DEBUG (preferences:181) - Loaded the user preferences for com.plexapp.agents.anidb<br />
2012-08-02 21:16:16,230 (1ac8) :  INFO (logkit:16) - Auth ok!<br />
2012-08-02 21:16:16,230 (1ac8) :  INFO (logkit:16) - Unquoted filename is E:%5CAnimez%5CFate%20Zero%20II%5C[UTW]_Fate_Zero_-_S01E01_[h264-720p][4D1CAEDB]%2Emkv<br />
2012-08-02 21:16:16,230 (1ac8) :  INFO (logkit:16) - Trying to lookup E:\Animez\Fate Zero II\[UTW]_Fate_Zero_-_S01E01_[h264-720p][4D1CAEDB].mkv by file on anidb<br />
2012-08-02 21:16:28,303 (1ac8) :  INFO (logkit:16) - Appending metadata search result for anime Fate/Zero (2012)<br />
2012-08-02 21:16:28,303 (1ac8) :  DEBUG (runtime:830) - Response: [200] str, 640 bytes<br />
2012-08-02 21:16:28,663 (690) :  DEBUG (runtime:650) - Handling request GET /:/plugins/com.plexapp.agents.anidb/messaging/function/X0FnZW50S2l0OlVwZGF0ZU1ldGFkYXRh/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKNwpzMgplbnM0CmxhbmdiMXM1CmZvcmNlbnMxMApwYXJlbnRHVUlEczcKVFZfU2hvd3MxMAptZWRpYV90eXBlczUKMzA3ODBzNApkYmlkczM5CmNvbS5wbGV4YXBwLmFnZW50cy5hbmlkYjovLzg4ODA%40bGFuZz1lbnM0Cmd1aWRzNAo4ODgwczIKaWRyMAo_<br />
2012-08-02 21:16:28,663 (690) :  DEBUG (runtime:740) - Found route matching /:/plugins/com.plexapp.agents.anidb/messaging/function/X0FnZW50S2l0OlVwZGF0ZU1ldGFkYXRh/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKNwpzMgplbnM0CmxhbmdiMXM1CmZvcmNlbnMxMApwYXJlbnRHVUlEczcKVFZfU2hvd3MxMAptZWRpYV90eXBlczUKMzA3ODBzNApkYmlkczM5CmNvbS5wbGV4YXBwLmFnZW50cy5hbmlkYjovLzg4ODA@bGFuZz1lbnM0Cmd1aWRzNAo4ODgwczIKaWRyMAo_<br />
2012-08-02 21:16:28,663 (690) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.anidb://8880?lang=en<br />
2012-08-02 21:16:28,678 (690) :  DEBUG (model:223) - Deserializing from C:\Users\File Server\AppData\Local\Plex Media Server\Metadata\TV Shows\0\e1eb0c1371b71c89d7f27dbfd18f887fe2c0212.bundle\Contents\com.plexapp.agents.anidb\Info.xml<br />
2012-08-02 21:16:28,772 (690) :  DEBUG (networking:156) - Requesting 'http://127.0.0.1:32400/library/metadata/30780/tree'<br />
2012-08-02 21:16:28,772 (690) :  INFO (logkit:16) - Reusing authenticated connection<br />
2012-08-02 21:16:28,772 (690) :  INFO (logkit:16) - Loading metadata for anime aid 8880<br />
2012-08-02 21:16:30,441 (690) :  DEBUG (networking:156) - Requesting 'http://img7.anidb.net/pics/anime/85379.jpg'<br />
2012-08-02 21:16:32,453 (690) :  DEBUG (networking:156) - Requesting 'http://img7.anidb.net/pics/anime/85379.jpg'<br />
2012-08-02 21:16:33,125 (690) :  INFO (logkit:16) - Loading metadata for 'Fate/Zero (2012)', episode 1<br />
2012-08-02 21:16:34,778 (690) :  DEBUG (model:218) - Serializing to C:\Users\File Server\AppData\Local\Plex Media Server\Metadata\TV Shows\0\e1eb0c1371b71c89d7f27dbfd18f887fe2c0212.bundle\Contents\com.plexapp.agents.anidb\Info.xml<br />
2012-08-02 21:16:34,793 (690) :  DEBUG (runtime:830) - Response: [200] str, 16 bytes<br />





upgrading to the latest media server has fixed many of the issues, but one still pertains. I cannot do a custom search to fix let's say a miss-match. I was able to do this previously before all of this happened. Here is a log when I'm making a custom search.


2012-08-02 21:40:59,566 (b44) :  INFO (core:336) - Starting framework core - Version: 2.2.0.12, Build: 8a8b311 (Thu Aug 02 22:03:52 UTC 2012)<br />
2012-08-02 21:40:59,566 (b44) :  DEBUG (core:348) - Using the elevated policy<br />
2012-08-02 21:40:59,566 (b44) :  DEBUG (core:437) - Starting runtime component.<br />
2012-08-02 21:40:59,566 (b44) :  DEBUG (core:437) - Starting caching component.<br />
2012-08-02 21:40:59,566 (b44) :  DEBUG (core:437) - Starting data component.<br />
2012-08-02 21:40:59,566 (b44) :  DEBUG (core:437) - Starting networking component.<br />
2012-08-02 21:40:59,566 (b44) :  DEBUG (networking:297) - Loaded HTTP cookies<br />
2012-08-02 21:40:59,566 (b44) :  DEBUG (networking:483) - Setting the default network timeout to 20.0<br />
2012-08-02 21:40:59,566 (b44) :  DEBUG (core:437) - Starting localization component.<br />
2012-08-02 21:40:59,566 (b44) :  INFO (localization:408) - Setting the default locale to en-us<br />
2012-08-02 21:40:59,566 (b44) :  DEBUG (core:437) - Starting messaging component.<br />
2012-08-02 21:40:59,566 (b44) :  DEBUG (core:437) - Starting debugging component.<br />
2012-08-02 21:40:59,566 (b44) :  DEBUG (core:437) - Starting services component.<br />
2012-08-02 21:40:59,566 (a90) :  DEBUG (networking:156) - Requesting 'http://127.0.0.1:32400/system/messaging/clear_events/com.plexapp.agents.anidb'<br />
2012-08-02 21:40:59,582 (b44) :  DEBUG (core:437) - Starting myplex component.<br />
2012-08-02 21:40:59,582 (b44) :  DEBUG (core:437) - Starting notifications component.<br />
2012-08-02 21:40:59,737 (b44) :  DEBUG (accessor:68) - Creating a new model access point for provider com.plexapp.agents.anidb in namespace 'metadata'<br />
2012-08-02 21:40:59,753 (b44) :  DEBUG (runtime:1009) - Created a thread named 'load_all_services'<br />
2012-08-02 21:40:59,753 (1c08) :  DEBUG (services:263) - Plug-in is not daemonized - loading services from system<br />
2012-08-02 21:40:59,753 (b44) :  DEBUG (runtime:1009) - Created a thread named 'get_server_info'<br />
2012-08-02 21:40:59,753 (1384) :  DEBUG (networking:156) - Requesting 'http://127.0.0.1:32400'<br />
2012-08-02 21:40:59,753 (b44) :  DEBUG (core:149) - Finished starting framework core<br />
2012-08-02 21:40:59,753 (1c08) :  DEBUG (networking:156) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMApyMAo_'<br />
2012-08-02 21:40:59,753 (b44) :  DEBUG (core:547) - Loading plug-in code<br />
2012-08-02 21:40:59,785 (1384) :  DEBUG (core:525) - Machine identifier is f35060f73571f81e2ecb57b673aa919675328ed8<br />
2012-08-02 21:40:59,785 (1384) :  DEBUG (core:526) - Server version is 0.9.6.6-b75ecf4<br />
2012-08-02 21:41:00,174 (b44) :  DEBUG (core:553) - Finished loading plug-in code<br />
2012-08-02 21:41:00,269 (1c08) :  DEBUG (services:357) - Loaded services<br />
2012-08-02 21:41:00,283 (8b0) :  DEBUG (services:433) - No shared code to load<br />
2012-08-02 21:41:01,625 (b44) :  DEBUG (agentkit:1005) - Creating new agent class called AniDBAgentMovies<br />
2012-08-02 21:41:01,625 (b44) :  DEBUG (agentkit:885) - Updating agent information: [{'media_types': ['Movie'], 'accepts_from': ['com.plexapp.agents.localmedia', 'com.plexapp.agents.opensubtitles'], 'fallback_agent': None, 'contributes_to': None, 'languages': ['en'], 'persist_stored_files': True, 'primary_provider': True, 'prefs': True, 'name': 'AniDB'}]<br />
2012-08-02 21:41:01,625 (b44) :  DEBUG (networking:156) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0FnZW50U2VydmljZTpVcGRhdGVJbmZv/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQo2CmRpY3QKbGlzdApkaWN0Cmxpc3QKbGlzdApsaXN0CjIKczI0CmNvbS5wbGV4YXBwLmFnZW50cy5hbmlkYnMxMAppZGVudGlmaWVycjEKczEwCmFnZW50X2luZm8xCnIyCjkKcjMKczExCm1lZGlhX3R5cGVzcjQKczEyCmFjY2VwdHNfZnJvbW5zMTQKZmFsbGJhY2tfYWdlbnRuczE0CmNvbnRyaWJ1dGVzX3RvcjUKczkKbGFuZ3VhZ2VzYjFzMjAKcGVyc2lzdF9zdG9yZWRfZmlsZXNiMXMxNgpwcmltYXJ5X3Byb3ZpZGVyYjFzNQpwcmVmc3M1CkFuaURCczQKbmFtZTEKczUKTW92aWUyCnMyOQpjb20ucGxleGFwcC5hZ2VudHMubG9jYWxtZWRpYXMzMgpjb20ucGxleGFwcC5hZ2VudHMub3BlbnN1YnRpdGxlczEKczIKZW5yMAo_'<br />
2012-08-02 21:41:01,625 (b44) :  DEBUG (agentkit:1005) - Creating new agent class called AniDBAgentTV<br />
2012-08-02 21:41:01,625 (b44) :  DEBUG (agentkit:885) - Updating agent information: [{'media_types': ['Movie'], 'accepts_from': ['com.plexapp.agents.localmedia', 'com.plexapp.agents.opensubtitles'], 'fallback_agent': None, 'contributes_to': None, 'languages': ['en'], 'persist_stored_files': True, 'primary_provider': True, 'prefs': True, 'name': 'AniDB'}, {'media_types': ['TV_Show'], 'accepts_from': ['com.plexapp.agents.localmedia', 'com.plexapp.agents.opensubtitles'], 'fallback_agent': None, 'contributes_to': None, 'languages': ['en'], 'persist_stored_files': True, 'primary_provider': True, 'prefs': True, 'name': 'AniDB'}]<br />
2012-08-02 21:41:01,641 (b44) :  DEBUG (networking:156) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0FnZW50U2VydmljZTpVcGRhdGVJbmZv/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxMApkaWN0Cmxpc3QKZGljdApsaXN0Cmxpc3QKbGlzdApkaWN0Cmxpc3QKbGlzdApsaXN0CjIKczI0CmNvbS5wbGV4YXBwLmFnZW50cy5hbmlkYnMxMAppZGVudGlmaWVycjEKczEwCmFnZW50X2luZm8yCnIyCnI2CjkKcjMKczExCm1lZGlhX3R5cGVzcjQKczEyCmFjY2VwdHNfZnJvbW5zMTQKZmFsbGJhY2tfYWdlbnRuczE0CmNvbnRyaWJ1dGVzX3RvcjUKczkKbGFuZ3VhZ2VzYjFzMjAKcGVyc2lzdF9zdG9yZWRfZmlsZXNiMXMxNgpwcmltYXJ5X3Byb3ZpZGVyYjFzNQpwcmVmc3M1CkFuaURCczQKbmFtZTEKczUKTW92aWUyCnMyOQpjb20ucGxleGFwcC5hZ2VudHMubG9jYWxtZWRpYXMzMgpjb20ucGxleGFwcC5hZ2VudHMub3BlbnN1YnRpdGxlczEKczIKZW45CnI3CnMxMQptZWRpYV90eXBlc3I4CnMxMgphY2NlcHRzX2Zyb21uczE0CmZhbGxiYWNrX2FnZW50bnMxNApjb250cmlidXRlc190b3I5CnM5Cmxhbmd1YWdlc2IxczIwCnBlcnNpc3Rfc3RvcmVkX2ZpbGVzYjFzMTYKcHJpbWFyeV9wcm92aWRlcmIxczUKcHJlZnNzNQpBbmlEQnM0Cm5hbWUxCnM3ClRWX1■■■3cyCnMyOQpjb20ucGxleGFwcC5hZ2VudHMubG9jYWxtZWRpYXMzMgpjb20ucGxleGFwcC5hZ2VudHMub3BlbnN1YnRpdGxlczEKczIKZW5yMAo_'<br />
2012-08-02 21:41:01,641 (b44) :  INFO (core:598) - Started plug-in<br />
2012-08-02 21:41:01,641 (b44) :  DEBUG (socketinterface:137) - Starting socket server<br />
2012-08-02 21:41:01,641 (b44) :  DEBUG (runtime:1009) - Created a thread named 'start'<br />
2012-08-02 21:41:01,641 (b44) :  INFO (socketinterface:161) - Socket server started on port 61017<br />
2012-08-02 21:41:01,641 (b44) :  INFO (pipeinterface:25) - Entering run loop<br />
2012-08-02 21:41:01,641 (b44) :  DEBUG (runtime:650) - Handling request GET /:/prefixes<br />
2012-08-02 21:41:01,657 (b44) :  DEBUG (runtime:740) - Found route matching /:/prefixes<br />
2012-08-02 21:41:01,657 (b44) :  DEBUG (runtime:830) - Response: [200] MediaContainer, 149 bytes<br />
2012-08-02 21:41:01,750 (222c) :  DEBUG (runtime:650) - Handling request GET /:/plugins/com.plexapp.agents.anidb/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo0CnMyCmVuczQKbGFuZ3M3ClRWX1■■■3dzMTAKbWVkaWFfdHlwZWIxczYKbWFudWFscjEKczYKa3dhcmdzOQpzMTYKNjlmZGJjMjE4YzczMzM1M3MxNwpvcGVuU3VidGl0bGVzSGFzaHMxCjFzNwplcGlzb2RlczEKMXM4CmVwaXNvZGljczkKRmF0ZSBaZXJvczQKc2hvd3MxCjFzNgpzZWFzb25zNzYKRTolNUNBbmltZXolNUNGYXRlJTIwWmVybyU1Q1tVVFddX0ZhdGVfWmVyb18tXzAxX1toMjY0LTcyMHBdWzREMUNBRURCXSUyRW1rdnM4CmZpbGVuYW1lczQwCjE3MjEyZjBmYjZhMTg3ZTFiYzE0MWUzYmVhNjljYWM1OTU2OGYzNDhzOApwbGV4SGFzaHM3CjE0MTk4ODJzOApkdXJhdGlvbnM1CjMwNzgzczIKaWRyMAo_<br />
2012-08-02 21:41:01,766 (222c) :  DEBUG (runtime:740) - Found route matching /:/plugins/com.plexapp.agents.anidb/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo0CnMyCmVuczQKbGFuZ3M3ClRWX1■■■3dzMTAKbWVkaWFfdHlwZWIxczYKbWFudWFscjEKczYKa3dhcmdzOQpzMTYKNjlmZGJjMjE4YzczMzM1M3MxNwpvcGVuU3VidGl0bGVzSGFzaHMxCjFzNwplcGlzb2RlczEKMXM4CmVwaXNvZGljczkKRmF0ZSBaZXJvczQKc2hvd3MxCjFzNgpzZWFzb25zNzYKRTolNUNBbmltZXolNUNGYXRlJTIwWmVybyU1Q1tVVFddX0ZhdGVfWmVyb18tXzAxX1toMjY0LTcyMHBdWzREMUNBRURCXSUyRW1rdnM4CmZpbGVuYW1lczQwCjE3MjEyZjBmYjZhMTg3ZTFiYzE0MWUzYmVhNjljYWM1OTU2OGYzNDhzOApwbGV4SGFzaHM3CjE0MTk4ODJzOApkdXJhdGlvbnM1CjMwNzgzczIKaWRyMAo_<br />
2012-08-02 21:41:01,766 (222c) :  INFO (agentkit:909) - Searching for matches for {'openSubtitlesHash': '69fdbc218c733353', 'episode': '1', 'episodic': '1', 'show': 'Fate Zero', 'season': '1', 'filename': 'E:%5CAnimez%5CFate%20Zero%5C[UTW]_Fate_Zero_-_01_[h264-720p][4D1CAEDB]%2Emkv', 'plexHash': '17212f0fb6a187e1bc141e3bea69cac59568f348', 'duration': '1419882', 'id': '30783'}<br />
2012-08-02 21:41:01,766 (222c) :  DEBUG (networking:156) - Requesting 'http://127.0.0.1:32400/library/metadata/30783/tree'<br />
2012-08-02 21:41:01,782 (222c) :  WARNING (data:181) - Error decoding with simplejson, using demjson instead (this will cause a performance hit) - Expecting property name: line 8 column 9 (char 207)<br />
2012-08-02 21:41:01,796 (222c) :  DEBUG (preferences:259) - Loaded preferences from DefaultPrefs.json<br />
2012-08-02 21:41:01,796 (222c) :  DEBUG (preferences:181) - Loaded the user preferences for com.plexapp.agents.anidb<br />
2012-08-02 21:41:04,091 (222c) :  INFO (logkit:16) - Auth ok!<br />
2012-08-02 21:41:04,091 (222c) :  INFO (logkit:16) - Unquoted filename is E:%5CAnimez%5CFate%20Zero%5C[UTW]_Fate_Zero_-_01_[h264-720p][4D1CAEDB]%2Emkv<br />
2012-08-02 21:41:04,091 (222c) :  INFO (logkit:16) - Trying to lookup E:\Animez\Fate Zero\[UTW]_Fate_Zero_-_01_[h264-720p][4D1CAEDB].mkv by file on anidb<br />
2012-08-02 21:41:16,118 (222c) :  INFO (logkit:16) - Appending metadata search result for anime Fate/Zero (2012)<br />
2012-08-02 21:41:16,118 (222c) :  DEBUG (runtime:830) - Response: [200] str, 640 bytes<br />
2012-08-02 21:41:34,619 (1e84) :  DEBUG (runtime:650) - Handling request GET /:/plugins/com.plexapp.agents.anidb/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo0CnMyCmVuczQKbGFuZ3M3ClRWX1■■■3dzMTAKbWVkaWFfdHlwZWIxczYKbWFudWFscjEKczYKa3dhcmdzMgpzNQozMDc4M3MyCmlkczYKTmFydXRvczQKc2hvd3IwCg__<br />
2012-08-02 21:41:34,619 (1e84) :  DEBUG (runtime:740) - Found route matching /:/plugins/com.plexapp.agents.anidb/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo0CnMyCmVuczQKbGFuZ3M3ClRWX1■■■3dzMTAKbWVkaWFfdHlwZWIxczYKbWFudWFscjEKczYKa3dhcmdzMgpzNQozMDc4M3MyCmlkczYKTmFydXRvczQKc2hvd3IwCg__<br />
2012-08-02 21:41:34,619 (1e84) :  INFO (agentkit:909) - Searching for matches for {'id': '30783', 'show': 'Naruto'}<br />
2012-08-02 21:41:34,619 (1e84) :  DEBUG (networking:156) - Requesting 'http://127.0.0.1:32400/library/metadata/30783/tree'<br />
2012-08-02 21:41:34,634 (1e84) :  INFO (logkit:16) - Reusing authenticated connection<br />
2012-08-02 21:41:34,634 (1e84) :  INFO (logkit:16) - Unquoted filename is None<br />
2012-08-02 21:41:34,634 (1e84) :  CRITICAL (core:561) - Exception in the search function of agent named 'AniDB', called with keyword arguments {'id': '30783', 'show': 'Naruto'} (most recent call last):<br />
  File "C:\Users\File Server\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\agentkit.py", line 918, in _search<br />
    agent.search(results, media, lang)<br />
  File "C:\Users\File Server\AppData\Local\Plex Media Server\Plug-ins\AniDB.bundle\Contents\Code\__init__.py", line 243, in search<br />
    self.doSearch(results, media, lang)<br />
  File "C:\Users\File Server\AppData\Local\Plex Media Server\Plug-ins\AniDB.bundle\Contents\Code\__init__.py", line 162, in doSearch<br />
    filePath = urllib.unquote(media.filename)<br />
  File "C:\Program Files (x86)\Plex\Plex Media Server\python26.zip\urllib.py", line 1170, in unquote<br />
    res = s.split('%')<br />
AttributeError: 'NoneType' object has no attribute 'split'<br />
<br />
2012-08-02 21:41:34,634 (1e84) :  DEBUG (runtime:830) - Response: [200] str, 16 bytes<br />
2012-08-02 21:42:30,904 (1be8) :  DEBUG (runtime:650) - Handling request GET /:/plugins/com.plexapp.agents.anidb/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo0CnMyCmVuczQKbGFuZ3M3ClRWX1■■■3dzMTAKbWVkaWFfdHlwZWIxczYKbWFudWFscjEKczYKa3dhcmdzMgpzNQozMDc4M3MyCmlkczEyCkZhdGUgWmVybyBJSXM0CnNob3dyMAo_<br />
2012-08-02 21:42:30,904 (1be8) :  DEBUG (runtime:740) - Found route matching /:/plugins/com.plexapp.agents.anidb/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo0CnMyCmVuczQKbGFuZ3M3ClRWX1■■■3dzMTAKbWVkaWFfdHlwZWIxczYKbWFudWFscjEKczYKa3dhcmdzMgpzNQozMDc4M3MyCmlkczEyCkZhdGUgWmVybyBJSXM0CnNob3dyMAo_<br />
2012-08-02 21:42:30,904 (1be8) :  INFO (agentkit:909) - Searching for matches for {'id': '30783', 'show': 'Fate Zero II'}<br />
2012-08-02 21:42:30,904 (1be8) :  DEBUG (networking:156) - Requesting 'http://127.0.0.1:32400/library/metadata/30783/tree'<br />
2012-08-02 21:42:30,920 (1be8) :  INFO (logkit:16) - Reusing authenticated connection<br />
2012-08-02 21:42:30,920 (1be8) :  INFO (logkit:16) - Unquoted filename is None<br />
2012-08-02 21:42:30,920 (1be8) :  CRITICAL (core:561) - Exception in the search function of agent named 'AniDB', called with keyword arguments {'id': '30783', 'show': 'Fate Zero II'} (most recent call last):<br />
  File "C:\Users\File Server\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\agentkit.py", line 918, in _search<br />
    agent.search(results, media, lang)<br />
  File "C:\Users\File Server\AppData\Local\Plex Media Server\Plug-ins\AniDB.bundle\Contents\Code\__init__.py", line 243, in search<br />
    self.doSearch(results, media, lang)<br />
  File "C:\Users\File Server\AppData\Local\Plex Media Server\Plug-ins\AniDB.bundle\Contents\Code\__init__.py", line 162, in doSearch<br />
    filePath = urllib.unquote(media.filename)<br />
  File "C:\Program Files (x86)\Plex\Plex Media Server\python26.zip\urllib.py", line 1170, in unquote<br />
    res = s.split('%')<br />
AttributeError: 'NoneType' object has no attribute 'split'<br />
<br />
2012-08-02 21:42:30,920 (1be8) :  DEBUG (runtime:830) - Response: [200] str, 16 bytes<br />
2012-08-02 21:44:39,121 (1ee4) :  DEBUG (runtime:650) - Handling request GET /:/plugins/com.plexapp.agents.anidb/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo0CnMyCmVuczQKbGFuZ3M3ClRWX1■■■3dzMTAKbWVkaWFfdHlwZWIxczYKbWFudWFscjEKczYKa3dhcmdzMgpzNQozMDc4M3MyCmlkczEyCkZhdGUvWmVybyBJSXM0CnNob3dyMAo_<br />
2012-08-02 21:44:39,121 (1ee4) :  DEBUG (runtime:740) - Found route matching /:/plugins/com.plexapp.agents.anidb/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo0CnMyCmVuczQKbGFuZ3M3ClRWX1■■■3dzMTAKbWVkaWFfdHlwZWIxczYKbWFudWFscjEKczYKa3dhcmdzMgpzNQozMDc4M3MyCmlkczEyCkZhdGUvWmVybyBJSXM0CnNob3dyMAo_<br />
2012-08-02 21:44:39,121 (1ee4) :  INFO (agentkit:909) - Searching for matches for {'id': '30783', 'show': 'Fate/Zero II'}<br />
2012-08-02 21:44:39,121 (1ee4) :  DEBUG (networking:156) - Requesting 'http://127.0.0.1:32400/library/metadata/30783/tree'<br />
2012-08-02 21:44:39,137 (1ee4) :  INFO (logkit:16) - Reusing authenticated connection<br />
2012-08-02 21:44:39,137 (1ee4) :  INFO (logkit:16) - Unquoted filename is None<br />
2012-08-02 21:44:39,137 (1ee4) :  CRITICAL (core:561) - Exception in the search function of agent named 'AniDB', called with keyword arguments {'id': '30783', 'show': 'Fate/Zero II'} (most recent call last):<br />
  File "C:\Users\File Server\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\agentkit.py", line 918, in _search<br />
    agent.search(results, media, lang)<br />
  File "C:\Users\File Server\AppData\Local\Plex Media Server\Plug-ins\AniDB.bundle\Contents\Code\__init__.py", line 243, in search<br />
    self.doSearch(results, media, lang)<br />
  File "C:\Users\File Server\AppData\Local\Plex Media Server\Plug-ins\AniDB.bundle\Contents\Code\__init__.py", line 162, in doSearch<br />
    filePath = urllib.unquote(media.filename)<br />
  File "C:\Program Files (x86)\Plex\Plex Media Server\python26.zip\urllib.py", line 1170, in unquote<br />
    res = s.split('%')<br />
AttributeError: 'NoneType' object has no attribute 'split'<br />
<br />
2012-08-02 21:44:39,137 (1ee4) :  DEBUG (runtime:830) - Response: [200] str, 16 bytes<br />




as you see when I initially hit the fix incorrect match option it brings up a initial search of fate/zero II which actually goes through. However every search I personally initiate does NOT work and shows errors that seem to be the same as the previous errors.


Things that are fixed:
1.I can now match a show using Anidb
2.I can use the "match using" dialogue on the context menu

Things unfixed:
1.I cannot make a custom search in the "fix incorrect match" using anidb.

Would you mind making a log of you doing those actions Atomicstrawberry?
Simply right clicking anything you've scraped before, going to custom search, and initiating a search for anything using anidb as the agent. Thetvdb works fine in this instance for me. I checked in multiple sections.

Re-reading the first post (- Search is done firstly by file hash) makes me think that it never had the ability to do custom searches that I'm mentioning , but I swear I can recall making these searches with anidb. If the scraper doesn't have this ability then we can consider the issue resolved =P.