AttributeError: unexpected attribute 'names' to HoverTool, similar attributes are name
Closed this issue · 0 comments
sherlyn99 commented
the snakemake run got stuck after 115/152 jobs done with the following error (see below). I am not familiar with Hoover Tool but the error seems to suggest that it takes name instead of names(?) Could you help looking into this, thank you!
Activating conda environment: .snakemake/conda/19fe2a2a4b9842ba47b6f7aa7be3b1e4_
Activating conda environment: .snakemake/conda/19fe2a2a4b9842ba47b6f7aa7be3b1e4_
[Wed Nov 29 19:05:36 2023]
Finished job 19.
115 of 152 steps (76%) done
Select jobs to execute...
[Wed Nov 29 19:05:37 2023]
rule plot_rank_comparison:
input: results/my_gutb/concatenated_differentials.tsv
output: figures/my_gutb/rank_comparisons.html
log: log/my_gutb/plot_rank_comparison.log
jobid: 29
reason: Missing output files: figures/my_gutb/rank_comparisons.html; Input files updated by another job: results/my_gutb/concatenated_differentials.tsv
wildcards: dataset=my_gutb
resources: tmpdir=/var/folders/p3/2jjw49sd6jz7zxhgh3c4q3m40000gp/T
Activating conda environment: .snakemake/conda/19fe2a2a4b9842ba47b6f7aa7be3b1e4_
Activating conda environment: .snakemake/conda/19fe2a2a4b9842ba47b6f7aa7be3b1e4_
Traceback (most recent call last):
File "/Users/y1weng/Downloads/20231129_qadabra_gutb/mi04t12_qadabra_out/.snakemake/scripts/tmpmvh3_enj.plot_rank_comparison.py", line 52, in <module>
hover = HoverTool(mode="mouse", names=["points"], attachment="below")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/y1weng/Downloads/20231129_qadabra_gutb/mi04t12_qadabra_out/.snakemake/conda/19fe2a2a4b9842ba47b6f7aa7be3b1e4_/lib/python3.11/site-packages/bokeh/models/tools.py", line 1266, in __init__
super().__init__(*args, **kwargs)
File "/Users/y1weng/Downloads/20231129_qadabra_gutb/mi04t12_qadabra_out/.snakemake/conda/19fe2a2a4b9842ba47b6f7aa7be3b1e4_/lib/python3.11/site-packages/bokeh/models/tools.py", line 345, in __init__
super().__init__(*args, **kwargs)
File "/Users/y1weng/Downloads/20231129_qadabra_gutb/mi04t12_qadabra_out/.snakemake/conda/19fe2a2a4b9842ba47b6f7aa7be3b1e4_/lib/python3.11/site-packages/bokeh/models/tools.py", line 255, in __init__
super().__init__(*args, **kwargs)
File "/Users/y1weng/Downloads/20231129_qadabra_gutb/mi04t12_qadabra_out/.snakemake/conda/19fe2a2a4b9842ba47b6f7aa7be3b1e4_/lib/python3.11/site-packages/bokeh/models/tools.py", line 180, in __init__
super().__init__(*args, **kwargs)
File "/Users/y1weng/Downloads/20231129_qadabra_gutb/mi04t12_qadabra_out/.snakemake/conda/19fe2a2a4b9842ba47b6f7aa7be3b1e4_/lib/python3.11/site-packages/bokeh/model/model.py", line 110, in __init__
super().__init__(**kwargs)
File "/Users/y1weng/Downloads/20231129_qadabra_gutb/mi04t12_qadabra_out/.snakemake/conda/19fe2a2a4b9842ba47b6f7aa7be3b1e4_/lib/python3.11/site-packages/bokeh/core/has_props.py", line 302, in __init__
setattr(self, name, value)
File "/Users/y1weng/Downloads/20231129_qadabra_gutb/mi04t12_qadabra_out/.snakemake/conda/19fe2a2a4b9842ba47b6f7aa7be3b1e4_/lib/python3.11/site-packages/bokeh/core/has_props.py", line 340, in __setattr__
self._raise_attribute_error_with_matches(name, properties)
File "/Users/y1weng/Downloads/20231129_qadabra_gutb/mi04t12_qadabra_out/.snakemake/conda/19fe2a2a4b9842ba47b6f7aa7be3b1e4_/lib/python3.11/site-packages/bokeh/core/has_props.py", line 375, in _raise_attribute_error_with_matches
raise AttributeError(f"unexpected attribute {name!r} to {self.__class__.__name__}, {text} attributes are {nice_join(matches)}")
AttributeError: unexpected attribute 'names' to HoverTool, similar attributes are name
[Wed Nov 29 19:05:39 2023]
Error in rule plot_rank_comparison:
jobid: 29
input: results/my_gutb/concatenated_differentials.tsv
output: figures/my_gutb/rank_comparisons.html
log: log/my_gutb/plot_rank_comparison.log (check log file(s) for error details)
conda-env: /Users/y1weng/Downloads/20231129_qadabra_gutb/mi04t12_qadabra_out/.snakemake/conda/19fe2a2a4b9842ba47b6f7aa7be3b1e4_
RuleException:
CalledProcessError in file /Users/y1weng/miniconda3/envs/snakemake/lib/python3.11/site-packages/qadabra/workflow/rules/visualization.smk, line 149:
Command 'source /Users/y1weng/miniconda3/bin/activate '/Users/y1weng/Downloads/20231129_qadabra_gutb/mi04t12_qadabra_out/.snakemake/conda/19fe2a2a4b9842ba47b6f7aa7be3b1e4_'; set -euo pipefail; python /Users/y1weng/Downloads/20231129_qadabra_gutb/mi04t12_qadabra_out/.snakemake/scripts/tmpmvh3_enj.plot_rank_comparison.py' returned non-zero exit status 1.
File "/Users/y1weng/miniconda3/envs/snakemake/lib/python3.11/site-packages/qadabra/workflow/rules/visualization.smk", line 149, in __rule_plot_rank_comparison
File "/Users/y1weng/miniconda3/envs/snakemake/lib/python3.11/concurrent/futures/thread.py", line 58, in run
Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message
Complete log: .snakemake/log/2023-11-29T185655.958966.snakemake.log