You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[2023-11-06 18:11:29,614][INFO] carbon - Connected to Carbon at 127.0.0.1:2003
Process PlaintextClient-5:
Traceback (most recent call last):
File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/data/coral/graphite/lib/python3.6/site-packages/bucky/client.py", line 45, in run
self.send(*sample)
File "/data/coral/graphite/lib/python3.6/site-packages/bucky/carbon.py", line 102, in send
self.sock.sendall(mesg)
TypeError: a bytes-like object is required, not 'str'
adding .encode('utf8') to mesg in failing line seems to help.
The text was updated successfully, but these errors were encountered:
https://github.com/trbs/bucky/blob/cda507241c8898c3a1926cae18371bce84be6d2c/bucky/carbon.py#L102C25-L102C25
adding
.encode('utf8')
to mesg in failing line seems to help.The text was updated successfully, but these errors were encountered: