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

get_circuit_info() for pre-seaon testing is returning error #692

Open
dheerajtsv opened this issue Feb 27, 2025 · 0 comments
Open

get_circuit_info() for pre-seaon testing is returning error #692

dheerajtsv opened this issue Feb 27, 2025 · 0 comments

Comments

@dheerajtsv
Copy link

Describe the issue:

I tried it for last season also. It prompts the same error.

Reproduce the code example:

import fastf1 as f1
session = f1.get_testing_session(2025,1,1)
session.load()
session.get_circuit_info()

Error message:

data        WARNING 	Failed to load circuit info

   2510     circuit_key = 146
   2512 circuit_info = get_circuit_info(year=self.event.year,
   2513                                 circuit_key=circuit_key)
-> 2514 circuit_info.add_marker_distance(
   2515     reference_lap=self.laps.pick_fastest()
   2516 )
   2517 return circuit_info

AttributeError: 'NoneType' object has no attribute 'add_marker_distance'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant