Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FullStats failts on python 3 #947

Closed
gbarba opened this issue Dec 18, 2015 · 0 comments · Fixed by #948
Closed

FullStats failts on python 3 #947

gbarba opened this issue Dec 18, 2015 · 0 comments · Fixed by #948

Comments

@gbarba
Copy link

gbarba commented Dec 18, 2015

circus 0.12.1 (from pip)
python 3.4.3

Running at local and at Heroku:

2015-12-18 17:05:25 tornado.application[30] [ERROR] Exception in callback <bound method FullStats.look_after of <circus.plugins.statsd.FullStats object at 0x7f5abcf5cf60>>
Traceback (most recent call last):
File "/app/.heroku/python/lib/python3.4/site-packages/tornado/ioloop.py", line 1039, in _run
return self.callback()
File "/app/.heroku/python/lib/python3.4/site-packages/circus/plugins/statsd.py", line 128, in look_after
self.statsd.gauge("_stats.%s.watchers_num" % name, len(cpus))
File "/app/.heroku/python/lib/python3.4/site-packages/circus/plugins/statsd.py", line 37, in gauge
self.send(bucket, "%s|g" % value)
File "/app/.heroku/python/lib/python3.4/site-packages/circus/plugins/statsd.py", line 26, in send
self.socket.sendto("%s:%s" % (bucket, value), (self.host, self.port))
TypeError: 'str' does not support the buffer interface

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant