Python Version: 2.7.9 (default, Sep 9 2015, 14:50:03) [GCC 4.2.1 20070831 patched [FreeBSD]]
Operating System: FreeBSD-10.3-RELEASE-amd64-64bit-ELF
Locale: UTF-8
Branch: master
Commit: SickRage/SickRage@4219585709dc1d9ed23ec7ea773a51e92c97b7b5
No Log available with ERRORS:
Thread-15 :: [4219585] Error Sending Slack message: data must be a byte string
_STAFF NOTIFIED_: @SickRage/owners @SickRage/moderators
Thanks for the issue report! Before a real human comes by, please make sure your report has all the below criteria checked
Please make sure you also read how to create an issue and followed all of the steps.
The title should describe your issue. Having "SR not working" or "I get this bug" for 100 issues, isn't really helpful. We will close issues if there isn't enough information.
Sometimes the devs may seem like grunts and respond with short answers. This isn't (always) because the dev hates you, but because he's on mobile or busy fixing bugs. If something isn't clear, please let us know, and this bot may get updated to automatically answer you.
Thanks!
Python Version: 2.7.9 (default, Sep 9 2015, 14:50:03) [GCC 4.2.1 20070831 patched [FreeBSD]]
Operating System: FreeBSD-10.3-RELEASE-amd64-64bit-ELF
Locale: UTF-8
Branch: master
Commit: SickRage/SickRage@4219585709dc1d9ed23ec7ea773a51e92c97b7b5
No Log available with ERRORS:
POSTPROCESSER :: [4219585] Error Sending Slack message: data must be a byte string
_STAFF NOTIFIED_: @SickRage/owners @SickRage/moderators
Python Version: 2.7.9 (default, Sep 9 2015, 14:50:03) [GCC 4.2.1 20070831 patched [FreeBSD]]
Operating System: FreeBSD-10.3-RELEASE-amd64-64bit-ELF
Locale: UTF-8
Branch: master
Commit: SickRage/SickRage@8564c29aa3b2d95bf41e03eed7e5a6938f1a6b3a
No Log available with ERRORS:
POSTPROCESSER :: [8564c29] Error Sending Slack message: data must be a byte string
_STAFF NOTIFIED_: @SickRage/owners @SickRage/moderators
@forge33 Is this something you might be able to check.?
for sure, I'll take a look later today
@pilothaz do you have any additional information to help me debug this?
Only thing i have noticed is that it gives that error message when it tries to send the notification. It is odd when there is no issue with the test notification that you have within the settings.
I will look through the logs to see it hopefully.
Update:
2016-09-30 22:31:15 ERROR POSTPROCESSER :: [027a950] Error Sending Slack message: data must be a byte string 2016-09-30 22:31:09 INFO POSTPROCESSER :: Sending slack message to url: https://hooks.slack.com/services/T0*/BMSFK/9EMHtDp**iU
2016-09-30 22:31:09 INFO POSTPROCESSER :: Sending slack message: Download Finished: Marvel's Luke Cage - 1x08 - Blowin' Up the Spot - SDTV
2016-09-30 22:30:56 INFO POSTPROCESSER :: This download is marked a priority download so I'm going to replace an existing file if I find one
2016-09-30 22:30:56 INFO POSTPROCESSER :: Processing /mnt/tv/Marvels.Luke.Cage.S01E08.WEBRip.x264-RARBG/Marvels.Luke.Cage.S01E08.WEBRip.x264-RARBG.mp4 (None)
2016-09-30 22:30:56 INFO POSTPROCESSER :: Processing succeeded for /mnt/tv/Marvels.Luke.Cage.S01E05.WEBRip.x264-RARBG/Marvels.Luke.Cage.S01E05.WEBRip.x264-RARBG.mp4
I have the same problem here ...
Python Version: 2.7.9 (default, Sep 9 2015, 14:50:03) [GCC 4.2.1 20070831 patched [FreeBSD]]
Operating System: FreeBSD-10.3-STABLE-amd64-64bit-ELF
Locale: UTF-8
Branch: master
Commit: SickRage/SickRage@6a023791556047f7ce04cd6b5185d41ed212bd84
No Log available with ERRORS:
POSTPROCESSER :: [6a02379] Error Sending Slack message: data must be a byte string
_STAFF NOTIFIED_: @SickRage/owners @SickRage/moderators
Python Version: 2.7.9 (default, Sep 9 2015, 14:50:03) [GCC 4.2.1 20070831 patched [FreeBSD]]
Operating System: FreeBSD-10.3-STABLE-amd64-64bit-ELF
Locale: UTF-8
Branch: master
Commit: SickRage/SickRage@6a023791556047f7ce04cd6b5185d41ed212bd84
No Log available with ERRORS:
SEARCHQUEUE-BACKLOG-313937 :: [6a02379] Error Sending Slack message: data must be a byte string
_STAFF NOTIFIED_: @SickRage/owners @SickRage/moderators
Python Version: 2.7.9 (default, Sep 9 2015, 14:50:03) [GCC 4.2.1 20070831 patched [FreeBSD]]
Operating System: FreeBSD-10.3-RELEASE-amd64-64bit-ELF
Locale: UTF-8
Branch: master
Commit: SickRage/SickRage@df31d0cec4d382c0e9c52550ab6ac7c682fef70e
No Log available with ERRORS:
SEARCHQUEUE-MANUAL-247824 :: [df31d0c] Error Sending Slack message: data must be a byte string
_STAFF NOTIFIED_: @SickRage/owners @SickRage/moderators
I think this is a python 2.7.9 bug. I cannot reproduce this error on 2.7.12
@miigotu I did a pkg update/upgrade and did my FreeNAS jail for SickRage now has 2.7.12 for python but I do not see it within the help & info page as being the new one.
Am I doing this incorrectly?
python27-2.7.12 Interpreted object-oriented programming language
Python Version: 2.7.9 (default, Jun 29 2016, 13:08:31) [GCC 4.9.2]
Operating System: Linux-3.16.0-4-amd64-x86_64-with-Debian-8
Locale: UTF-8
Branch: master
Commit: SickRage/SickRage@de056c2380cb140bf8430a1ac4569899b3b44a52
No Log available with ERRORS:
SEARCHQUEUE-BACKLOG-311892 :: [T411] :: [de056c2] Request failed: data must be a byte string
_STAFF NOTIFIED_: @SickRage/owners @SickRage/moderators
Python Version: 2.7.9 (default, Jun 29 2016, 13:08:31) [GCC 4.9.2]
Operating System: Linux-3.16.0-4-amd64-x86_64-with-Debian-8
Locale: UTF-8
Branch: master
Commit: SickRage/SickRage@de056c2380cb140bf8430a1ac4569899b3b44a52
No Log available with ERRORS:
SEARCHQUEUE-MANUAL-311892 :: [T411] :: [de056c2] Request failed: data must be a byte string
_STAFF NOTIFIED_: @SickRage/owners @SickRage/moderators
Python Version: 2.7.9 (default, Jun 29 2016, 13:08:31) [GCC 4.9.2]
Operating System: Linux-3.16.0-4-amd64-x86_64-with-Debian-8
Locale: UTF-8
Branch: master
Commit: SickRage/SickRage@de056c2380cb140bf8430a1ac4569899b3b44a52
No Log available with ERRORS:
SEARCHQUEUE-MANUAL-80379 :: [T411] :: [de056c2] Request failed: data must be a byte string
_STAFF NOTIFIED_: @SickRage/owners @SickRage/moderators
Python Version: 2.7.9 (default, Jun 29 2016, 13:08:31) [GCC 4.9.2]
Operating System: Linux-3.16.0-4-amd64-x86_64-with-Debian-8
Locale: UTF-8
Branch: master
Commit: SickRage/SickRage@de056c2380cb140bf8430a1ac4569899b3b44a52
No Log available with ERRORS:
SEARCHQUEUE-MANUAL-311892 :: [T411] :: [de056c2] Request failed: data must be a byte string
_STAFF NOTIFIED_: @SickRage/owners @SickRage/moderators
@OppieTV I need log info to fix this...
Python Version: 2.7.9 (default, Jun 29 2016, 13:08:31) [GCC 4.9.2]
Operating System: Linux-3.14.32-xxxx-grs-ipv6-64-x86_64-with-Debian-8
Locale: UTF-8
Branch: master
Commit: SickRage/SickRage@de056c2380cb140bf8430a1ac4569899b3b44a52
No Log available with ERRORS:
SEARCHQUEUE-DAILY-SEARCH :: [T411] :: [de056c2] Request failed: data must be a byte string
_STAFF NOTIFIED_: @SickRage/owners @SickRage/moderators
@miigotu wich log info you need please ?
017-03-01 23:27:21 ERROR SEARCHQUEUE-DAILY-SEARCH :: [T411] :: [de056c2] Request failed: data must be a byte string
Traceback (most recent call last):
File "/home/rtorrent/sickrage/sickbeard/helpers.py", line 1433, in handle_requests_exception
raise requests_exception
TypeError: data must be a byte string
2017-03-01 23:27:21 DEBUG SEARCHQUEUE-DAILY-SEARCH :: [T411] :: Traceback (most recent call last):
File "/home/rtorrent/sickrage/sickbeard/helpers.py", line 1433, in handle_requests_exception
raise requests_exception
TypeError: data must be a byte string
2017-03-01 23:27:21 WARNING SEARCHQUEUE-DAILY-SEARCH :: [T411] :: Unable to connect to provider
it's ok that ? or you need something else ?
@turak enable debugging and post your logs after this error happens again.
@sharkykh last comment updated. it's ok ?
Yes thank you
I'll fix this when I get home
Python Version: 2.7.9 (default, Jun 29 2016, 13:08:31) [GCC 4.9.2]
Operating System: Linux-4.4.40-1-pve-x86_64-with-debian-8.7
Locale: None
Branch: master
Commit: SickRage/SickRage@26da4a8fcb8a783b5747a16e8736ba0224a5fc7e
No Log available with ERRORS:
SEARCHQUEUE-DAILY-SEARCH :: [T411] :: [26da4a8] Request failed: data must be a byte string
_STAFF NOTIFIED_: @SickRage/owners @SickRage/moderators
Python Version: 2.7.9 (default, Jun 29 2016, 13:08:31) [GCC 4.9.2]
Operating System: Linux-4.4.40-1-pve-x86_64-with-debian-8.7
Locale: None
Branch: master
Commit: SickRage/SickRage@66babc76d28646807c1040a3e225072b410489ad
No Log available with ERRORS:
SEARCHQUEUE-DAILY-SEARCH :: [T411] :: [66babc7] Request failed: data must be a byte string
_STAFF NOTIFIED_: @SickRage/owners @SickRage/moderators
Python Version: 2.7.9 (default, Sep 9 2015, 14:50:03) [GCC 4.2.1 20070831 patched [FreeBSD]]
Operating System: FreeBSD-10.3-RELEASE-amd64-64bit-ELF
Locale: UTF-8
Branch: master
Commit: SickRage/SickRage@66babc76d28646807c1040a3e225072b410489ad
No Log available with ERRORS:
SEARCHQUEUE-MANUAL-80379 :: [T411] :: [66babc7] Request failed: data must be a byte string
_STAFF NOTIFIED_: @SickRage/owners @SickRage/moderators
Python Version: 2.7.9 (default, Jun 29 2016, 13:08:31) [GCC 4.9.2]
Operating System: Linux-3.14.32-xxxx-grs-ipv6-64-x86_64-with-Debian-8
Locale: UTF-8
Branch: master
Commit: SickRage/SickRage@66babc76d28646807c1040a3e225072b410489ad
No Log available with ERRORS:
SEARCHQUEUE-MANUAL-320724 :: [T411] :: [66babc7] Request failed: data must be a byte string
_STAFF NOTIFIED_: @SickRage/owners @SickRage/moderators
Python Version: 2.7.9 (default, Jun 29 2016, 13:08:31) [GCC 4.9.2]
Operating System: Linux-3.16.0-4-amd64-x86_64-with-debian-8.7
Locale: UTF-8
Branch: master
Commit: SickRage/SickRage@66babc76d28646807c1040a3e225072b410489ad
No Log available with ERRORS:
SEARCHQUEUE-DAILY-SEARCH :: [T411] :: [66babc7] Request failed: data must be a byte string
_STAFF NOTIFIED_: @SickRage/owners @SickRage/moderators
thanks a lot @miigotu
Just need to wait it's merged with master or dev branch ? :)
Its in develop now. Please check that it works
➜ sickrage git:(develop) vi sickbeard/clients/generic.py
➜ sickrage git:(develop) git pull
Already up-to-date.
always same error
(sorry for my bad english..)
12:55:34 INFO::SEARCHQUEUE-MANUAL-268592 :: [T411] :: Quality of The.100.S04E04............. is SDTV
12:55:34 DEBUG::SEARCHQUEUE-MANUAL-268592 :: [T411] :: Picked The.100.S04E04............. as the best
12:55:34 DEBUG::SEARCHQUEUE-MANUAL-268592 :: [T411] :: Checking if we should keep searching after we've found The.100.S04E04.............
12:55:34 INFO::SEARCHQUEUE-MANUAL-268592 :: Downloading The.100.S04E04............. from T411
12:55:34 DEBUG::SEARCHQUEUE-MANUAL-268592 :: GET URL: https://api.t411.li/torrents/download/............. [Status: 200]
12:55:35 DEBUG::SEARCHQUEUE-MANUAL-268592 :: Calling Transmission Client
12:55:35 DEBUG::SEARCHQUEUE-MANUAL-268592 :: Transmission: Requested a POST connection to url http://192.168.10.10:9091/************/rpc and data: {"arguments": {}, "method": "session-get"}
12:55:35 DEBUG::SEARCHQUEUE-MANUAL-268592 :: Transmission: Response to the POST request is {"arguments":{....."result":"success"}
Branch: develop
Commit: 3dcc66e4f5dd0993f419fa4428b111ef53267052
Version: v2017.03.02-1
Database Version: 44.0
Same commit on your side ?
Yes, did you restart Sickrage after pulling develop?
Need logs
yes restart done
2017-03-03 22:19:39 DEBUG SEARCHQUEUE-MANUAL-268592 :: [T411] :: Search string: Les 100 S04E01
2017-03-03 22:19:39 ERROR SEARCHQUEUE-MANUAL-268592 :: [T411] :: [3dcc66e] Request failed: data must be a byte string
Traceback (most recent call last):
File "/home/rtorrent/sickrage/sickbeard/helpers.py", line 1465, in handle_requests_exception
raise requests_exception
TypeError: data must be a byte string
2017-03-03 22:19:39 DEBUG SEARCHQUEUE-MANUAL-268592 :: [T411] :: Traceback (most recent call last):
File "/home/rtorrent/sickrage/sickbeard/helpers.py", line 1465, in handle_requests_exception
raise requests_exception
TypeError: data must be a byte string
2017-03-03 22:19:39 ERROR SEARCHQUEUE-MANUAL-268592 :: [T411] :: [3dcc66e] Request failed: data must be a byte string
Traceback (most recent call last):
File "/home/rtorrent/sickrage/sickbeard/helpers.py", line 1465, in handle_requests_exception
raise requests_exception
TypeError: data must be a byte string
2017-03-03 22:19:39 DEBUG SEARCHQUEUE-MANUAL-268592 :: [T411] :: Traceback (most recent call last):
File "/home/rtorrent/sickrage/sickbeard/helpers.py", line 1465, in handle_requests_exception
raise requests_exception
TypeError: data must be a byte string
2017-03-03 22:19:39 ERROR SEARCHQUEUE-MANUAL-268592 :: [T411] :: [3dcc66e] Request failed: data must be a byte string
Traceback (most recent call last):
File "/home/rtorrent/sickrage/sickbeard/helpers.py", line 1465, in handle_requests_exception
raise requests_exception
TypeError: data must be a byte string
2017-03-03 22:19:39 DEBUG SEARCHQUEUE-MANUAL-268592 :: [T411] :: Traceback (most recent call last):
File "/home/rtorrent/sickrage/sickbeard/helpers.py", line 1465, in handle_requests_exception
raise requests_exception
TypeError: data must be a byte string
2017-03-03 22:19:39 ERROR SEARCHQUEUE-MANUAL-268592 :: [T411] :: [3dcc66e] Request failed: data must be a byte string
Traceback (most recent call last):
File "/home/rtorrent/sickrage/sickbeard/helpers.py", line 1465, in handle_requests_exception
raise requests_exception
TypeError: data must be a byte string
2017-03-03 22:19:39 DEBUG SEARCHQUEUE-MANUAL-268592 :: [T411] :: Traceback (most recent call last):
File "/home/rtorrent/sickrage/sickbeard/helpers.py", line 1465, in handle_requests_exception
raise requests_exception
TypeError: data must be a byte string
I'll change the show language and test with s04e01 shortly
13:48:41 DEBUG::SEARCHQUEUE-MANUAL-268592 :: [T411] :: Search Mode: Episode
13:48:41 DEBUG::SEARCHQUEUE-MANUAL-268592 :: [T411] :: Search string: Les 100 S04E01
13:48:41 DEBUG::SEARCHQUEUE-MANUAL-268592 :: [T411] :: GET URL: https://api.t411.li/torrents/search/Les%20100%20S04E01*?cid=433&limit=100 [Status: 200]
13:48:41 DEBUG::SEARCHQUEUE-MANUAL-268592 :: [T411] :: Data returned from provider does not contain any torrents
Try restarting the whole device
And with the english name:
13:51:34 DEBUG::SEARCHQUEUE-MANUAL-268592 :: [T411] :: Search string: The 100 S04E01
13:51:35 DEBUG::SEARCHQUEUE-MANUAL-268592 :: [T411] :: GET URL: https://api.t411.li/torrents/search/The%20100%20S04E01*?cid=433&limit=100 [Status: 200]
13:51:35 DEBUG::SEARCHQUEUE-MANUAL-268592 :: [T411] :: Found result: The.100.S04E01................... with 563 seeders and 2 leechers
13:51:35 DEBUG::SEARCHQUEUE-MANUAL-268592 :: [T411] :: Found result: The.100.S04E01................... with 755 seeders and 4 leechers
13:51:35 DEBUG::SEARCHQUEUE-MANUAL-268592 :: [T411] :: Found result: The.100.S04E01................... with 467 seeders and 1 leechers
server restarted, always the same error.. i don't know why..
all upgrade.
What is the locale on the server?
➜ Logs git:(develop) locale
LANG=fr_FR.UTF-8
LANGUAGE=fr_FR:fr
LC_CTYPE=fr_FR.UTF-8
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=
or linked to python version ?
Python Version: 2.7.9 (default, Jun 29 2016, 13:08:31) [GCC 4.9.2]
Operating System: Linux-3.16.0-4-amd64-x86_64-with-debian-8.7
Locale: UTF-8
Branch: master
Commit: SickRage/SickRage@100c4a192532262ac7333b4bb1d86501ddd3446c
No Log available with ERRORS:
SEARCHQUEUE-DAILY-SEARCH :: [T411] :: [100c4a1] Request failed: data must be a byte string
_STAFF NOTIFIED_: @SickRage/owners @SickRage/moderators
Python Version: 2.7.9 (default, Jun 29 2016, 13:08:31) [GCC 4.9.2]
Operating System: Linux-3.16.0-4-amd64-x86_64-with-debian-8.7
Locale: UTF-8
Branch: master
Commit: SickRage/SickRage@5071e52c498fc145838231f4fb85565fa6ffa70b
No Log available with ERRORS:
SEARCHQUEUE-MANUAL-153021 :: [T411] :: [5071e52] Request failed: data must be a byte string
_STAFF NOTIFIED_: @SickRage/owners @SickRage/moderators
Try updating python to 2.7.10-2.7.12
➜ .sickrage git:(develop) /usr/bin/env python2.7 -V
Python 2.7.13
And always same error.. I don't understand :/
Server completly reinstall..
Only the problem with T411 providers :/
Python Version: 2.7.9 (default, Jun 29 2016, 13:08:31) [GCC 4.9.2]
Operating System: Linux-3.14.32-xxxx-grs-ipv6-64-x86_64-with-Debian-8
Locale: UTF-8
Branch: develop
Commit: SickRage/SickRage@a178fa4136225bbf3144927c06f9ee8a7d2aae3a
No Log available with ERRORS:
SEARCHQUEUE-MANUAL-311819 :: [T411] :: [a178fa4] Request failed: data must be a byte string
_STAFF NOTIFIED_: @SickRage/owners @SickRage/moderators
2017-03-06 16:16:58 DEBUG SEARCHQUEUE-MANUAL-311819 :: [T411] :: Traceback (most recent call last):
File "/home/aurelien/.sickrage/sickbeard/helpers.py", line 1479, in handle_requests_exception
raise requests_exception
TypeError: data must be a byte string
I changed the path of the python's command into this file : /etc/systemd/system/sickrage.service
After a restart I can see in sickrage that python 2.7.12 in now used : 2.7.12 (default, Mar 6 2017, 16:36:33) [GCC 4.9.2]
And it works fine now.
Thanks @miigotu
thanks @Cerafin it's works, i confirm that.
Path change to
/usr/loca/bin/python2.7
so it's fixed
If anyone is still having this issue, please update and try again. If it is still an issue after update, please give me the log of about 5 lines before and after the error.