-
Notifications
You must be signed in to change notification settings - Fork 100
[bug] AttributeError: 'EntryPoints' object has no attribute 'get #1302
Description
(Please add appropriate labels)
- Windows: (Version)
- [√ ] Linux: (ubuntu/20.04)
- ROS 1: Dist
- [ √] ROS 2: galactic
<Version of the plugin>
<Copy the Version information from the Help | About menu>
what is the bug
<debug autoware_launch(autoware_master.launch.xml) >
Command failed:/usr/bin/env python3 /home/z/.vscode/extensions/ms-iot.vscode-ros-0.9.6/assets/scripts/-ros2 launch dumper.py"/home/zpmc/Projects/autowaremasterinstall/autoware launch/share/autoware launch/launch/-autoware master.launch.xml.Traceback (most recent call last):File "/home/z/.vscode/extensions/ms-iot.vscode-ros-0.9.6/assets/scripts/ros2 launch dumper.py", line 19, in <module>from ros2launch,apiimport get share file path from packageFile "/opt/ros/galactic/lib/python3.8/site-packages/ros2launch/api/init .py", line 20, in <module>from .apiimport get share file path from packageFile "/opt/ros/galactic/lib/python3.8/site-packages/ros2launch/api/-api.py", line 85, in <module>'launch."+ extension for extension in Parser.get available extensions()File "/opt/ros/galactic/lib/python3.8/site-packages/launch/frontend/-parser.py", line 117, in get available extensionscls.load parser implementations()File "/opt/ros/galactic/lib/python3.8/site-packages/launch/frontend/parser.py",line 81,inload parser implementationsfor entry point in importlib metadata.entry _points().get()AttributeError: 'EntryPoints' object has no attribute 'get'
Repro steps
<how to reproduce the bug. Please attach sample files or github repo if appropriate.>
1.
2.
3.
expected behavior
<what you would expect to happen>
additional context
<launch.json>
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "autoware_launch",
"request": "launch",
"target": "${workspaceFolder}/install/autoware_launch/share/autoware_launch/launch/autoware_master.launch.xml",
"type": "ros",
// "pythonPath": "/bin/python3.8",
}
]
}