-
Notifications
You must be signed in to change notification settings - Fork 298
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
Running ros2 bag info with --verbose on a standalone MCAP file fails, while the same file works without --verbose.
Verbose mode attempts to reopen per-file storage entries and incorrectly resolves the path as sample.mcap/sample.mcap when the bag input is already a file path.
Expected Behavior
ros2 bag info sample.mcap -v should succeed and print verbose bag information for the same MCAP file that works in non-verbose mode.
Actual Behavior
Verbose mode fails with storage open errors.
Example command:
ros2 bag info sample.mcap -vExample logs:
[ERROR ...] [rosbag2_storage]: Could not open 'sample.mcap/sample.mcap' with 'mcap'. Error: Not a directory
[ERROR ...] [rosbag2_storage]: Could not load/open plugin with storage id: 'mcap'
[INFO ...] [rosbag2_storage]: Available storage plugins: 'sqlite3', 'mcap', ...
No plugin detected that could open file sample.mcap/sample.mcap
To Reproduce
- Obtain or record a standalone MCAP file named
sample.mcap. - Run:
ros2 bag info sample.mcap
- Verify non-verbose command succeeds.
- Run:
ros2 bag info sample.mcap -v
- Observe path resolution error with
sample.mcap/sample.mcap.
System (please complete the following information)
- OS: Ubuntu 24.04.2 LTS
- ROS 2 Distro: Kilted
- Install Method: source
- Version: kilted
I believe the issue is also present on rolling
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working