VeNoMouS / Sick-Beard

Sick-Beard Torrent Providers: Kat.ph, Torrentz.eu, DialyTvTorrents, ThePirateBay.se, TorrentLeech, PublicHD, SceneAccess, TorrentDay, IPTorrents, Bit-HDTV, FLO, BTDigg. Download methods: Transmission, uTorrent, Deludge and Synology.
http://code.google.com/p/sickbeard/
GNU General Public License v3.0
10 stars 1 forks source link

The piratebay error #2

Closed jeanpaulrh closed 10 years ago

jeanpaulrh commented 10 years ago

Hi, I tried your repository since I can't make jounalmedia's one work anymore. I have an error with TPB provider, no matter if I access TPB directly or through an alternative method:

2014-01-06 15:11:18 DEBUG    SEARCHQUEUE-BACKLOG-95451 :: Search string: http://thepiratebay.se/search/The.Good.Wife%20S05E11/0/7/200
2014-01-06 15:11:18 WARNING  SEARCHQUEUE-BACKLOG-95451 :: Unknown exception while loading URL http://thepiratebay.se/search/The.Good.Wife%20S05E11/0/7/200: Traceback (most recent call last):
  File "/sickbeard/sickbeard/helpers.py", line 153, in getURL
    usock = opener.open(url, post_data)
  File "/usr/local/lib/python2.7/urllib2.py", line 404, in open
    response = self._open(req, data)
  File "/usr/local/lib/python2.7/urllib2.py", line 422, in _open
    '_open', req)
  File "/usr/local/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/local/lib/python2.7/urllib2.py", line 1214, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/local/lib/python2.7/urllib2.py", line 1181, in do_open
    h.request(req.get_method(), req.get_selector(), req.data, headers)
  File "/usr/local/lib/python2.7/httplib.py", line 973, in request
    self._send_request(method, url, body, headers)
  File "/usr/local/lib/python2.7/httplib.py", line 1007, in _send_request
    self.endheaders(body)
  File "/usr/local/lib/python2.7/httplib.py", line 969, in endheaders
    self._send_output(message_body)
  File "/usr/local/lib/python2.7/httplib.py", line 833, in _send_output
    self.send(message_body)
  File "/usr/local/lib/python2.7/httplib.py", line 805, in send
    self.sock.sendall(data)
  File "/usr/local/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
TypeError: must be string or buffer, not list