currently when fetching the origin/master HEAD and trying to use python run.py on ubuntu it will not run due to some import issues:
sergej@L530:~/GitHub/flamescope$ python run.py
Traceback (most recent call last):
File "run.py", line 6, in
from app import APP
File "/home/sergej/GitHub/flamescope/app/init.py", line 34, in
from app.views.flame_graph import MOD_FLAME_GRAPH
File "/home/sergej/GitHub/flamescope/app/views/flame_graph.py", line 21, in
from app.controllers.flame_graph import generate_flame_graph
File "/home/sergej/GitHub/flamescope/app/controllers/flame_graph.py", line 21, in
from app.common.fileutil import get_profile_type
File "/home/sergej/GitHub/flamescope/app/common/fileutil.py", line 25, in
from json import JSONDecodeError
ImportError: cannot import name JSONDecodeError
It looks like this issue is caused by recent restructuring. When I revert to some later commit everything workds just fine.
Hi there,
currently when fetching the origin/master HEAD and trying to use python run.py on ubuntu it will not run due to some import issues:
sergej@L530:~/GitHub/flamescope$ python run.py Traceback (most recent call last): File "run.py", line 6, in
from app import APP
File "/home/sergej/GitHub/flamescope/app/init.py", line 34, in
from app.views.flame_graph import MOD_FLAME_GRAPH
File "/home/sergej/GitHub/flamescope/app/views/flame_graph.py", line 21, in
from app.controllers.flame_graph import generate_flame_graph
File "/home/sergej/GitHub/flamescope/app/controllers/flame_graph.py", line 21, in
from app.common.fileutil import get_profile_type
File "/home/sergej/GitHub/flamescope/app/common/fileutil.py", line 25, in
from json import JSONDecodeError
ImportError: cannot import name JSONDecodeError
It looks like this issue is caused by recent restructuring. When I revert to some later commit everything workds just fine.