Problem explanation
"can only concatenate str (not "bytes") to str" this error occurs when we are assigning a user to feed group
Steps to reproduce
client.feed('user', str(some_id))
Environment info
Operating System: Ubuntu 20.04
Python version: Python 3.8.10
Library version: 5.1.0
Error traceback (if applicable)
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/path/to/stream_python-5.1.0-py3.8.egg/stream/client.py", line 118, in feed
return Feed(self, feed_slug, user_id, token)
File "/path/to/stream_python-5.1.0-py3.8.egg/stream/feed.py", line 29, in __init__
self.signature = self.feed_together + " " + self.token
TypeError: can only concatenate str (not "bytes") to str
Code snippet that causes the problem
client.feed('user', str(some_id))
Problem explanation
"can only concatenate str (not "bytes") to str" this error occurs when we are assigning a user to feed group
Steps to reproduce
client.feed('user', str(some_id))
Environment info
Operating System: Ubuntu 20.04
Python version: Python 3.8.10
Library version: 5.1.0
Error traceback (if applicable)
Code snippet that causes the problem