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] AttributeError: 'EntryPoints' object has no attribute 'get #1302

Open
2 tasks
dong-hub-png opened this issue Nov 15, 2024 · 0 comments
Open
2 tasks

[bug] AttributeError: 'EntryPoints' object has no attribute 'get #1302

dong-hub-png opened this issue Nov 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dong-hub-png
Copy link

(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",
   
    }

        ]
}
@dong-hub-png dong-hub-png added the bug Something isn't working label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant