Error while sending torrent to DownloadStation on DS213+
Before submitting your issue:
Enable debug logging from settings in SiCKRAGE then try and reproduce the error
Summary
When Sickrage is trying to send torrent to DownloadStation on a Synology DS213+, a "DownloadStation: Failed Sending Torrent" error is produced. Torrent is still added to DownloadStation though.
Branch/Commit
Master/f474ba85
OS
Synology DS213+
Download Station: 3.8.7-3490
Steps to reproduce
SEARCHQUEUE-BACKLOG Search for episodes that aired on same day
What is the current bug behavior?
a "DownloadStation: Failed Sending Torrent" error is produced, but torrent is still added to DownloadStation
What is the expected correct behavior?
No error should be produced
Relevant logs and/or screenshots
2017-11-20 13:25:26 INFO::SEARCHQUEUE-BACKLOG-75978::Downloading Family.Guy.S16E07.1080p.WEB.x264-TBS[rartv] from Rarbg
2017-11-20 13:25:26 DEBUG::SEARCHQUEUE-BACKLOG-75978::Calling DownloadStation Client
2017-11-20 13:25:31 DEBUG::SEARCHQUEUE-BACKLOG-75978::DownloadStation: Requested a POST connection to http://192.168.0.81:5000/webapi/DownloadStation/task.cgi with params: Data: {u'session': u'DownloadStation', u'version': u'1', u'_sid': u'aJcs9eXfSctywC9L1N08951', u'uri': u'm...
2017-11-20 13:25:33 ERROR::SEARCHQUEUE-BACKLOG-75978::DownloadStation: Failed Sending Torrent
Traceback (most recent call last):
File "/volume1/@appstore/sickrage/var/SickRage/sickrage/clients/__init__.py", line 333, in sendTORRENT
r_code = self._add_torrent_uri(result)
File "/volume1/@appstore/sickrage/var/SickRage/sickrage/clients/download_station.py", line 131, in _add_torrent_uri
return self._send_dsm_request(method='post', data=data)
File "/volume1/@appstore/sickrage/var/SickRage/sickrage/clients/download_station.py", line 144, in _send_dsm_request
self._request(method=method, data=data, **kwargs)
File "/volume1/@appstore/sickrage/var/SickRage/sickrage/clients/__init__.py", line 215, in _request
response=self.response.text
AttributeError: 'bool' object has no attribute 'text'
2017-11-20 13:25:33 DEBUG::SEARCHQUEUE-BACKLOG-75978::DownloadStation: Exception raised when sending torrent: Rarbg @ magnet:?xt=urn:btih:9bb9b4d00a50b549b44f8e1d9a832508114c786e&dn=Family.Guy.S16E07.1080p.WEB.x264-TBS%5Brartv%5D&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2710&tr=udp%3A%2F%2F9.rarbg.to%3A2710&tr=udp%3A%2F%2Fopen.demonii.com%3A1337%2Fannounceudp://bt.xxx-tracker.com:2710/announce&tr=http://t.nyaatracker.com:80/announce&tr=http://retracker.mgts.by:80/announce&tr=udp://thetracker.org:80/announce&tr=http://tracker.city9x.com:2710/announce&tr=http://alpha.torrenttracker.nl:443/announce&tr=udp://retracker.coltel.ru:2710/announce&tr=udp://sd-95.allfon.net:2710/announce&tr=udp://tracker.vanitycore.co:6969/announce&tr=udp://tracker.christianbro.pw:6969/announce&tr=udp://oscar.reyesleon.xyz:6969/announce&tr=http://tracker.videodrugproject.com:80/announce&tr=udp://santost12.xyz:6969/announce&tr=udp://tracker.leechers-paradise.org:6969/announce&tr=udp://open.stealth.si:80/announce&tr=udp://zephir.monocul.us:6969/announce&tr=http://tracker.ipv6tracker.ru:80/announce&tr=udp://tracker.tiny-vps.com:6969/announce&tr=http://retracker.spark-rostov.ru:80/announce&tr=udp://tracker.justseed.it:1337/announce&tr=http://tracker.torrentyorg.pl:80/announce&tr=udp://tracker.coppersurfer.tk:6969/announce&tr=https://open.kickasstracker.com:443/announce&tr=udp://tracker.dutchtracking.com:6969/announce&tr=udp://peerfect.org:6969/announce&tr=udp://retracker.nts.su:2710/announce&tr=udp://public.popcorn-tracker.org:6969/announce&tr=udp://tracker.torrent.eu.org:451/announce&tr=udp://tracker.uw0.xyz:6969/announce&tr=http://retracker.telecom.by:80/announce&tr=http://tracker.electro-torrent.pl:80/announce&tr=udp://tracker.cypherpunks.ru:6969/announce&tr=udp://p4p.arenabg.com:1337/announce&tr=http://share.camoe.cn:8080/announce&tr=http://torrentsmd.com:8080/announce&tr=udp://z.crazyhd.com:2710/announce&tr=http://torrentsmd.eu:8080/announce&tr=http://pt.lax.mx:80/announce&tr=udp://tracker.opentrackr.org:1337/announce
Extra Info:
Episodes:
u'Family Guy' - S16E 7 - u'Petey IV'
location: u''
description: u'On Thanksgiving weekend, Peter discovers an alternate ending in the Russian version of one of his favorite films and writes to Vladimir Putin, who comes to Quahog. Meanwhile, a strapped-for-cash Brian gets a job at a suicide hotline center and attempts to strike up a romance with a co-worker.'
subtitles: u''
subtitles_searchcount: 0
subtitles_lastsearch: '0001-01-01 00:00:00'
airdate: 736652 (datetime.date(2017, 11, 19))
hasnfo: False
hastbn: False
status: 3
Quality: 1080p WEB-DL
Name: Family.Guy.S16E07.1080p.WEB.x264-TBS[rartv]
Size: 522046975
Release Group: TBS[rartv]
. Error: 'bool' object has no attribute 'text'
2017-11-20 13:25:34 INFO::SEARCHQUEUE-BACKLOG-75978::Finished backlog search for: [Family Guy]
Possible fixes
File "/volume1/@appstore/sickrage/var/SickRage/sickrage/clients/download_station.py", line 144, in _send_dsm_request
self._request(method=method, data=data, **kwargs)
File "/volume1/@appstore/sickrage/var/SickRage/sickrage/clients/__init__.py", line 215, in _request
response=self.response.text
AttributeError: 'bool' object has no attribute 'text'