Skip to content

pydantic >2.9 causes failures with launch file #352

@anfederman

Description

@anfederman

ros2 launch usb_cam camera.launch.py
[INFO] [launch]: All log files can be found below /home/ubiqlap/.ros/log/2024-11-16-08-31-53-762719-ubiqlap-X540LA-5691
[INFO] [launch]: Default logging verbosity is set to INFO
[ERROR] [launch]: Caught exception in launch (see debug for traceback): Caught multiple exceptions when trying to load file of format [py]:

  • PydanticUserError: If you use @root_validator with pre=False (the default) you MUST specify skip_on_failure=True. Note that @root_validator is deprecated and should be replaced with @model_validator.

For further information visit https://errors.pydantic.dev/2.9/u/root-validator-pre-skip

  • InvalidFrontendLaunchFileError: The launch file may have a syntax error, or its format is unknown

Metadata

Metadata

Assignees

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