{"action":"opened","issue":{"url":"https://api.github.com/repos/nosmokingbandit/Watcher3/issues/120","repository_url":"https://api.github.com/repos/nosmokingbandit/Watcher3","labels_url":"https://api.github.com/repos/nosmokingbandit/Watcher3/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/nosmokingbandit/Watcher3/issues/120/comments","events_url":"https://api.github.com/repos/nosmokingbandit/Watcher3/issues/120/events","html_url":"https://github.com/nosmokingbandit/Watcher3/issues/120","id":251481549,"number":120,"title":"Jackett BitTorrent: search doesn't work","user":{"login":"Aerya","id":26864765,"avatar_url":"https://avatars3.githubusercontent.com/u/26864765?v=4","gravatar_id":"","url":"https://api.github.com/users/Aerya","html_url":"https://github.com/Aerya","followers_url":"https://api.github.com/users/Aerya/followers","following_url":"https://api.github.com/users/Aerya/following{/other_user}","gists_url":"https://api.github.com/users/Aerya/gists{/gist_id}","starred_url":"https://api.github.com/users/Aerya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aerya/subscriptions","organizations_url":"https://api.github.com/users/Aerya/orgs","repos_url":"https://api.github.com/users/Aerya/repos","events_url":"https://api.github.com/users/Aerya/events{/privacy}","received_events_url":"https://api.github.com/users/Aerya/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-20T11:05:11Z","updated_at":"2017-08-20T11:05:11Z","closed_at":null,"body":"Hi,\r\n\r\nI wanted to give Watcher3 a try with BitTorrent but I can't use Jackett (uptodate). Jackett (and those providers) works fine with all other softwares (Radarr, Medusa, CP...). I used the Torznab feeds and not CP ones: \r\n```\r\nhttp://xxx:yuy/api/v2.0/indexers/ABC/results/torznab/\r\n```\r\nIt's like it doesnt even communicate with Jackett as I don't have anything in its log for my searches. \"Connection successful\" on Watcher3 for all providers.\r\n\r\nWatcher3 log\r\n```\r\nDEBUG 2017-08-20 12:56:14,109 core.sqldb.get_marked_results: Retrieving Marked Results for tt1841490.\r\nDEBUG 2017-08-20 12:56:14,109 core.sqldb.execute: Executing SQL command: ['SELECT * FROM MARKEDRESULTS WHERE imdbid=\"tt1841490\"']\r\nINFO 2017-08-20 12:56:14,109 core.searcher.store_results: 0 results found for tt1841490. Storing results.\r\nINFO 2017-08-20 12:56:14,109 core.searcher.store_results: Storing backlog search results -- purging existing results before writing to database.\r\nDEBUG 2017-08-20 12:56:14,110 core.sqldb.purge_search_results: Purging search results for tt1841490\r\nDEBUG 2017-08-20 12:56:14,110 core.sqldb.execute: Executing SQL command: ['DELETE FROM SEARCHRESULTS WHERE imdbid=\"tt1841490\"']\r\nINFO 2017-08-20 12:56:14,110 core.library.movie_status: Determining appropriate status for movie tt1841490.\r\nDEBUG 2017-08-20 12:56:14,110 core.sqldb.get_movie_details: Retrieving details for movie tt1841490.\r\nDEBUG 2017-08-20 12:56:14,110 core.sqldb.execute: Executing SQL command: ['SELECT * FROM MOVIES WHERE imdbid=\"tt1841490\"']\r\nDEBUG 2017-08-20 12:56:14,111 core.sqldb.get_distinct: Getting distinct values for tt1841490 in SEARCHRESULTS\r\nDEBUG 2017-08-20 12:56:14,111 core.sqldb.execute: Executing SQL command: ['SELECT DISTINCT status FROM SEARCHRESULTS WHERE imdbid=\"tt1841490\"']\r\nINFO 2017-08-20 12:56:14,111 core.library.movie_status: Setting MOVIES tt1841490 status to Waiting.\r\nDEBUG 2017-08-20 12:56:14,111 core.sqldb.update: Updating status to Waiting for rows that match imdbid:tt1841490 in MOVIES.\r\nDEBUG 2017-08-20 12:56:14,111 core.sqldb.execute: Executing SQL command: ['UPDATE MOVIES SET status=? WHERE imdbid=?', ('Waiting', 'tt1841490')]\r\nDEBUG 2017-08-20 12:56:14,789 core.sqldb.update: Updating backlog to 1 for rows that match imdbid:tt1841490 in MOVIES.\r\nDEBUG 2017-08-20 12:56:14,789 core.sqldb.execute: Executing SQL command: ['UPDATE MOVIES SET backlog=? WHERE imdbid=?', ('1', 'tt1841490')]\r\nDEBUG 2017-08-20 12:56:15,074 core.sqldb.get_movie_details: Retrieving details for movie tt1841490.\r\nDEBUG 2017-08-20 12:56:15,074 core.sqldb.execute: Executing SQL command: ['SELECT * FROM MOVIES WHERE imdbid=\"tt1841490\"']\r\nDEBUG 2017-08-20 12:56:15,075 core.sqldb.get_search_results: Retrieving Search Results for tt1841490.\r\nDEBUG 2017-08-20 12:56:15,075 core.sqldb.execute: Executing SQL command: ['SELECT * FROM SEARCHRESULTS WHERE imdbid=\"tt1841490\" ORDER BY score DESC, size DESC, freeleech DESC']\r\nINFO 2017-08-20 12:56:21,949 core.ajax.get_log_text: Dumping log file log.txt to text.\r\nINFO 2017-08-20 12:56:21,950 cherrypy.error.140010386463936.error: [20/Aug/2017:12:56:21] HTTP \r\nRequest Headers:\r\n  Remote-Addr: xxx\r\n  ACCEPT-ENCODING: gzip, deflate\r\n  COOKIE: JACKETT=d04d25ef2f80c2a697b772942d0598f372cbabe76f04c3f99f3c126a74651b1b66da773cfb804225b1debac6fefc0698111cb1b1898cf832c083f273f0aaaec8; movie_layout=posters; session=4299d223e256b292ff1e44994dbd3daa571152ca\r\n  HOST: 158.69.161.17:5051\r\n  X-REQUESTED-WITH: XMLHttpRequest\r\n  DNT: 1\r\n  Content-Type: application/x-www-form-urlencoded; charset=UTF-8\r\n  ACCEPT-LANGUAGE: en-US,en;q=0.8,fr-FR;q=0.6,fr;q=0.4\r\n  CONNECTION: keep-alive\r\n  ACCEPT: */*\r\n  USER-AGENT: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.105 Safari/537.36 Vivaldi/1.93.936.3\r\n  Content-Length: 15\r\n  ORIGIN: xxx:yy\r\nERROR 2017-08-20 12:56:21,950 cherrypy.error.140010386463936.error: [20/Aug/2017:12:56:21] HTTP \r\nTraceback (most recent call last):\r\n  File \"/opt/watcher3/lib/cherrypy/_cprequest.py\", line 670, in respond\r\n    response.body = self.handler()\r\n  File \"/opt/watcher3/lib/cherrypy/lib/encoding.py\", line 220, in __call__\r\n    self.body = self.oldhandler(*args, **kwargs)\r\n  File \"/opt/watcher3/lib/cherrypy/_cpdispatch.py\", line 60, in __call__\r\n    return self.callable(*self.args, **self.kwargs)\r\n  File \"/opt/watcher3/core/ajax.py\", line 523, in get_log_text\r\n    log_text = ''.join(reversed(f.readlines()))\r\n  File \"/usr/lib/python3.4/encodings/ascii.py\", line 26, in decode\r\n    return codecs.ascii_decode(input, self.errors)[0]\r\nUnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 6950: ordinal not in range(128)\r\n```"}}
{"actor":{"display_login":"Aerya"}}