Open bravindr opened 1 week ago
It seems like the issue is related to the incompatibility between the bokeh and numpy versions. We have been reverting to an older version of bokeh, bokeh==2.4.3, to get the plots scaled properly. The new version of the plots shrinks the plots and this was a work around.
Here are a few suggestons:
How to reproduce: Start with a new workspace and following instructions on running example workload(baseline) https://github.com/intel-innersource/applications.benchmarking.memory-usage-analyzer/blob/master/tests/example/README.md#simple-workload---baseline
Expected Results: No errors and the plot will be generated in the profile directory
Actual results: **** Closing profile/baseline/stats.csv.gz profile/baseline Traceback (most recent call last): File "/home/bravindr/virtualenv/bin/plot.py", line 7, in
exec(compile(f.read(), file, 'exec'))
File "/home/bravindr/memory-usage-analyzer/src/analyzer/plot.py", line 10, in
from bokeh.io import save
File "/home/bravindr/virtualenv/lib64/python3.9/site-packages/bokeh/io/init.py", line 24, in
from .doc import curdoc
File "/home/bravindr/virtualenv/lib64/python3.9/site-packages/bokeh/io/doc.py", line 29, in
from .state import curstate
File "/home/bravindr/virtualenv/lib64/python3.9/site-packages/bokeh/io/state.py", line 53, in
from ..document import Document
File "/home/bravindr/virtualenv/lib64/python3.9/site-packages/bokeh/document/init.py", line 50, in
from .document import DEFAULT_TITLE ; DEFAULT_TITLE
File "/home/bravindr/virtualenv/lib64/python3.9/site-packages/bokeh/document/document.py", line 57, in
from ..core.query import find, is_single_string_selector
File "/home/bravindr/virtualenv/lib64/python3.9/site-packages/bokeh/core/query.py", line 35, in
from ..model import Model
File "/home/bravindr/virtualenv/lib64/python3.9/site-packages/bokeh/model/init.py", line 25, in
from .data_model import DataModel
File "/home/bravindr/virtualenv/lib64/python3.9/site-packages/bokeh/model/data_model.py", line 25, in
from .model import Model
File "/home/bravindr/virtualenv/lib64/python3.9/site-packages/bokeh/model/model.py", line 38, in
from ..core import properties as p
File "/home/bravindr/virtualenv/lib64/python3.9/site-packages/bokeh/core/properties.py", line 273, in
from .property.auto import Auto; Auto
File "/home/bravindr/virtualenv/lib64/python3.9/site-packages/bokeh/core/property/auto.py", line 24, in
from .enum import Enum
File "/home/bravindr/virtualenv/lib64/python3.9/site-packages/bokeh/core/property/enum.py", line 27, in
from .primitive import String
File "/home/bravindr/virtualenv/lib64/python3.9/site-packages/bokeh/core/property/primitive.py", line 37, in
bokeh_bool_types += (np.bool8,)
File "/home/bravindr/virtualenv/lib64/python3.9/site-packages/numpy/init.py", line 410, in getattr
raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'bool8'
Loading stats from profile/baseline/stats.csv.gz
Loading stats from profile/baseline/stats.csv.gz