-
Notifications
You must be signed in to change notification settings - Fork 71
scenario_simulator_v2 is not compatible xmlschema>=4.0.0 #1573
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
scenario_simulator_v2 occurs an error with xmlschema>=4.0.0
To Reproduce
Steps to reproduce the behavior:
- ensure
xmlschemaversion is greater than or equal to 4.0.0 - run any scenario
- see error like below.
[scenario_test_runner.py-1] Error: failed validating '1' with XsdPatternFacets(['[$][{][ A-Za-z0-9_\\+\\-\\*/%$\\(\\)\\.,]*[\\}]']):
[scenario_test_runner.py-1]
[scenario_test_runner.py-1] Reason: value doesn't match any pattern of ['[$][{][ A-Za-z0-9_\\+\\-\\*/%$\\(\\)\\.,]*[\\}]']
[scenario_test_runner.py-1]
[scenario_test_runner.py-1] Schema component:
[scenario_test_runner.py-1]
[scenario_test_runner.py-1] <xsd:pattern xmlns:xsd="http://www.w3.org/2001/XMLSchema" value="[$][{][ A-Za-z0-9_\+\-\*/%$\(\)\.,]*[\}]" />
[scenario_test_runner.py-1]
[scenario_test_runner.py-1] Instance type: <class 'xml.etree.ElementTree.Element'>
[scenario_test_runner.py-1]
[scenario_test_runner.py-1] Instance:
[scenario_test_runner.py-1]
[scenario_test_runner.py-1] <FileHeader description="Scenario where test collision conditions by type" author="abco20" date="2024-10-17T05:57:14.376Z" revMajor="1" revMinor="0" />
[scenario_test_runner.py-1]
[scenario_test_runner.py-1] Path: /OpenSCENARIO/FileHeader
[scenario_test_runner.py-1] Expected behavior
No errors occur on start-up of scenario execution.
Desktop (please complete the following information):
- Ubuntu Version
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.5 LTS
Release: 22.04
Codename: jammy- ROS 2 version
- DDS
$ env | grep "ROS\|RMW"
ROS_VERSION=2
ROS_PYTHON_VERSION=3
ROS_LOCALHOST_ONLY=1
ROS_DISTRO=humble
RMW_IMPLEMENTATION=rmw_cyclonedds_cppHow to fix this issue for temporary
Install xmlschema whose version is less than 4.0.0.
For example,
pip3 install xmlschema==3.4.5Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working