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
This is the first time I post a issue, when I am trying to plot a metrics graph on tko-graphing(web-site), I always get the error log below, I'am using python2.7.5+django1.5.11
TypeError: integer argument expected, got float
Traceback (most recent call last):
File "/usr/local/autotest/frontend/afe/json_rpc/serviceHandler.py", line 100, in dispatchRequest
results['result'] = self.invokeServiceEndpoint(meth, args)
File "/usr/local/autotest/frontend/afe/json_rpc/serviceHandler.py", line 135, in invokeServiceEndpoint
def invokeServiceEndpoint(self, meth, args):
File "/usr/local/autotest/frontend/afe/rpc_handler.py", line 114, in new_fn
return f(_args, *_keyword_args)
File "/usr/local/autotest/frontend/tko/rpc_interface.py", line 255, in create_metrics_plot
queries, plot, invert, normalize, drilldown_callback=drilldown_callback)
File "/usr/local/autotest/frontend/tko/graphing_utils.py", line 646, in create_metrics_plot
File "/usr/local/autotest/frontend/tko/graphing_utils.py", line 474, in _create_image_html
File "/usr/local/autotest/frontend/tko/graphing_utils.py", line 448, in _create_png
image_background = PIL.Image.new(image.mode, image.size,
File "/usr/lib64/python2.7/site-packages/PIL/Image.py", line 1844, in fromstring
return frombytes(_args, *_kw)
File "/usr/lib64/python2.7/site-packages/PIL/Image.py", line 1833, in frombytes
im = new(mode, size)
File "/usr/lib64/python2.7/site-packages/PIL/Image.py", line 1800, in new
return Image()._new(core.fill(mode, size, color))
TypeError: integer argument expected, got float
The text was updated successfully, but these errors were encountered:
Hi, everyone
This is the first time I post a issue, when I am trying to plot a metrics graph on tko-graphing(web-site), I always get the error log below, I'am using python2.7.5+django1.5.11
TypeError: integer argument expected, got float
Traceback (most recent call last):
File "/usr/local/autotest/frontend/afe/json_rpc/serviceHandler.py", line 100, in dispatchRequest
results['result'] = self.invokeServiceEndpoint(meth, args)
File "/usr/local/autotest/frontend/afe/json_rpc/serviceHandler.py", line 135, in invokeServiceEndpoint
def invokeServiceEndpoint(self, meth, args):
File "/usr/local/autotest/frontend/afe/rpc_handler.py", line 114, in new_fn
return f(_args, *_keyword_args)
File "/usr/local/autotest/frontend/tko/rpc_interface.py", line 255, in create_metrics_plot
queries, plot, invert, normalize, drilldown_callback=drilldown_callback)
File "/usr/local/autotest/frontend/tko/graphing_utils.py", line 646, in create_metrics_plot
File "/usr/local/autotest/frontend/tko/graphing_utils.py", line 474, in _create_image_html
File "/usr/local/autotest/frontend/tko/graphing_utils.py", line 448, in _create_png
image_background = PIL.Image.new(image.mode, image.size,
File "/usr/lib64/python2.7/site-packages/PIL/Image.py", line 1844, in fromstring
return frombytes(_args, *_kw)
File "/usr/lib64/python2.7/site-packages/PIL/Image.py", line 1833, in frombytes
im = new(mode, size)
File "/usr/lib64/python2.7/site-packages/PIL/Image.py", line 1800, in new
return Image()._new(core.fill(mode, size, color))
TypeError: integer argument expected, got float
The text was updated successfully, but these errors were encountered: