Skip to content

Bug: openml.runs.list_runs causes server error for large offsets #1528

@TheRazorace

Description

@TheRazorace

Hi!

I've been trying to update a database I have consisting of OpenML runs with the latest runs in the platforms. For that reason, I have been trying to use openml.runs.list_runs with large offsets (e.g., 10,000,000). However, for these large offsets, the function produces the following exception:

`Unexpected server error when calling https://www.openml.org/api/v1/xml/run/list/limit/10000/offset/10037963. Please contact the developers!
Status code: 504

<title>504 Gateway Time-out</title>

504 Gateway Time-out


nginx `

Do you advise on checking all ids after my offset one by one to fetch runs individually instead of using list_runs?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions