Skip to content

Exception when fetching a dataset #255

@PatWalters

Description

@PatWalters

Polaris version

0.11.4

Python Version

3.11

Operating System

Linux

Installation

uv pip install polaris-lib

Description

import polaris as po

benchmark = po.load_benchmark("polaris/hello-world-benchmark")
⠸ Fetching dataset.....
2025-01-25 15:09:11.549 | INFO     | polaris._artifact:_validate_version:90 - The version of Polaris that was used to create the artifact (0.0.0) is different from the currently installed version of Polaris (0.11.4).
2025-01-25 15:09:11.550 | INFO     | polaris.mixins._checksum:verify_checksum:65 - To verify the checksum, we need to recompute it. This can be slow for large datasets.
✔ SUCCESS: Fetched dataset.
2025-01-25 15:09:11.622 | INFO     | polaris._artifact:_validate_version:90 - The version of Polaris that was used to create the artifact (0.0.0) is different from the currently installed version of Polaris (0.11.4).
2025-01-25 15:09:11.624 | WARNING  | polaris.mixins._checksum:verify_checksum:58 - No checksum to verify against. Specify either the md5sum parameter or store the checksum in the dataset.md5sum attribute.
✔ SUCCESS: Fetched benchmark.
Error in callback <function Halo.__init__.<locals>.clean_up at 0x7b9d474dfd80> (for post_run_cell), with arguments args (<ExecutionResult object at 7b9dd6b2bf10, execution_count=2 error_before_exec=None error_in_exec=None info=<ExecutionInfo object at 7b9d4a182150, raw_cell="benchmark = po.load_benchmark("polaris/hello-world.." store_history=True silent=False shell_futures=True cell_id=52c65924-b9fc-46a8-af17-11ec3772e016> result=None>,),kwargs {}:
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
TypeError: Halo.__init__.<locals>.clean_up() takes 0 positional arguments but 1 was given
Error in callback <function Halo.__init__.<locals>.clean_up at 0x7b9d473e7ec0> (for post_run_cell), with arguments args (<ExecutionResult object at 7b9dd6b2bf10, execution_count=2 error_before_exec=None error_in_exec=None info=<ExecutionInfo object at 7b9d4a182150, raw_cell="benchmark = po.load_benchmark("polaris/hello-world.." store_history=True silent=False shell_futures=True cell_id=52c65924-b9fc-46a8-af17-11ec3772e016> result=None>,),kwargs {}:
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
TypeError: Halo.__init__.<locals>.clean_up() takes 0 positional arguments but 1 was given

Steps to reproduce

uv pip install polaris-lib

Run the code above

Additional output

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions