Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Missing DriverId and TeamId when accessing sprint shootout results #509

Open
borolepratik opened this issue Jan 23, 2024 · 2 comments
Labels
blocked:ergast external The problem is not caused by FastF1
Milestone

Comments

@borolepratik
Copy link

Describe the issue:

Missing DriverId and TeamId when accessing sprint shootout results. Tested against Belgian Grand Prix 2023 sprint shootout.
image

Reproduce the code example:

import fastf1

event_schedule_2023 = fastf1.get_event_schedule(2023)
event_bahraingp = event_schedule_2023.get_event_by_name("Belgian Grand Prix")

sprint_shootout_event = event_bahraingp.get_sprint_shootout()
sprint_shootout_event.load(
    laps=True,
    telemetry=False,
    weather=False,
    messages=False,
)
sprint_shootout_event.results

Error message:

No error message, but instead missing data.
@borolepratik
Copy link
Author

Also HeadshotUrl for Daniel Ricciardo is None

@theOehrly
Copy link
Owner

theOehrly commented Jan 23, 2024

Missing DriverId and TeamId when accessing sprint shootout results. Tested against Belgian Grand Prix 2023 sprint shootout.

These two are the ergast driver and team id. Ergast doesn't support Sprint Shootout, therefore, no data is available for that session and the data is missing here. For the same reason, no results are available.

(see also #364)

Also HeadshotUrl for Daniel Ricciardo is None

This data is taken from the F1 API and, somehow, the data does not contain a headshot URL for RIC in that session. So it's a bug in their data. That's not something I can reasonably fix.

@theOehrly theOehrly added the external The problem is not caused by FastF1 label Jan 23, 2024
@theOehrly theOehrly added this to the future milestone Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked:ergast external The problem is not caused by FastF1
Projects
None yet
Development

No branches or pull requests

2 participants