Title. For some reason, I can run:
asv profile quad_hexagon.QuadHexagon.time_open_dataset
or
asv profile quad_hexagon.QuadHexagon.time_open_dataset --gui=snakeviz --python=same
but
asv profile quad_hexagon.QuadHexagon.time_open_dataset --gui=snakeviz
errors out with the following message:
Traceback (most recent call last):
File "/Users/cdupuis/miniconda3/envs/newenv/bin/asv", line 8, in <module>
sys.exit(main())
~~~~^^
File "/Users/cdupuis/miniconda3/envs/newenv/lib/python3.14/site-packages/asv/main.py", line 29, in main
result = args.func(args)
File "/Users/cdupuis/miniconda3/envs/newenv/lib/python3.14/site-packages/asv/commands/__init__.py", line 49, in run_from_args
return cls.run_from_conf_args(conf, args)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/Users/cdupuis/miniconda3/envs/newenv/lib/python3.14/site-packages/asv/commands/asv_profiling.py", line 95, in run_from_conf_args
return cls.run(
~~~~~~~^
conf=conf,
^^^^^^^^^^
...<7 lines>...
**kwargs,
^^^^^^^^^
)
^
File "/Users/cdupuis/miniconda3/envs/newenv/lib/python3.14/site-packages/asv/commands/asv_profiling.py", line 194, in run
env = next(
env
...<2 lines>...
or isinstance(env, ExistingEnvironment)
)
StopIteration
It's pretty cryptic to me, but adding the --python=same flag solves it well enough to at least get snakeviz working.
Title. For some reason, I can run:
asv profile quad_hexagon.QuadHexagon.time_open_datasetor
asv profile quad_hexagon.QuadHexagon.time_open_dataset --gui=snakeviz --python=samebut
asv profile quad_hexagon.QuadHexagon.time_open_dataset --gui=snakevizerrors out with the following message:
It's pretty cryptic to me, but adding the
--python=sameflag solves it well enough to at least get snakeviz working.