ros-catkin-plugin: ros distro issue
Metadata
Current evaluation
ros-catkin-plugin roscore wrapper FileNotFoundError: the bundled example snapcraft.yaml pointed at ROS jade while indigo was installed. Fixed by editing the example path to indigo; issue closed 2015-10-30.
Resolution: closed not a bug
Reason: No snapcraft code change was needed — the user's local examples/ros/snapcraft.yaml referenced the jade ROS distro path while only indigo was present, so meta.py could not write opt/ros/jade/bin/roscore.wrapper. Maintainer ted-gould closed it with "This was fixed by changing the path in the example to indigo."
Evaluated by: mr-cal-bot
No scores available.
Issue body
Snapping roscore
Traceback (most recent call last):
File "../../bin/snapcraft", line 33, in <module>
snapcraft.main.main()
File "/home/victor/ros-catkin-plugin/snapcraft/main.py", line 80, in main
args.func(args)
File "/home/victor/ros-catkin-plugin/snapcraft/cmds.py", line 99, in assemble
snap(args)
File "/home/victor/ros-catkin-plugin/snapcraft/cmds.py", line 92, in snap
meta.create(config.data, arches)
File "/home/victor/ros-catkin-plugin/snapcraft/meta.py", line 57, in create
_write_package_yaml(meta_dir, config_data, arches)
File "/home/victor/ros-catkin-plugin/snapcraft/meta.py", line 68, in _write_package_yaml
package_yaml = _compose_package_yaml(meta_dir, config_data, arches)
File "/home/victor/ros-catkin-plugin/snapcraft/meta.py", line 139, in _compose_package_yaml
services = _wrap_services(services)
File "/home/victor/ros-catkin-plugin/snapcraft/meta.py", line 225, in _wrap_services
startwrap = _wrap_exe(startparts[0])
File "/home/victor/ros-catkin-plugin/snapcraft/meta.py", line 206, in _wrap_exe
_write_wrap_exe(wrapexec, wrappath)
File "/home/victor/ros-catkin-plugin/snapcraft/meta.py", line 173, in _write_wrap_exe
with open(wrappath, 'w+') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/victor/ros-catkin-plugin/examples/ros/snap/opt/ros/jade/bin/roscore.wrapper'
victor@ubuntu:~/ros-catkin-plugin/examples/ros$ ls snap/opt/ros/indigo/^C
victor@ubuntu:~/ros-catkin-plugin/examples/ros$ vi snapcraft.yaml
victor@ubuntu:~/ros-catkin-plugin/examples/ros$ ../../bin/snapcraft
Launchpad Details: [#LP1500922](https://bugs.launchpad.net/bugs/1500922) Victor Mayoral - 2015-09-29 12:20:29 -0300
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed not a bug | ros-catkin-plugin roscore wrapper FileNotFoundError: the bundled example snapcraft.yaml pointed at ROS jade while indigo was installed. Fixed by editing the example path to indigo; issue closed 2015-10-30. | |
| stealth/space-bunny-alpha | — | closed not a bug | ROS example snap failed with FileNotFoundError for opt/ros/jade/bin/roscore.wrapper due to a jade/indigo distro mismatch; closed after the example config was corrected to indigo. | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed the ROS example configuration by using indigo instead of jade; a closing maintainer comment confirmed the roscore.wrapper error was resolved. | |
| qwen/qwen3.6-35b-a3b | — | — | Fixed by updating the example snapcraft.yaml path from jade to indigo, resolving the FileNotFoundError when generating the roscore wrapper. | |
| qwen/qwen3.6-35b-a3b | — | — | Fixed by updating the example ROS distro path from jade to indigo, resolving the FileNotFoundError during snap assembly. Issue closed. | |
| qwen/qwen3.6-35b-a3b | — | — | Fixed by updating the example configuration to use the correct ROS distribution. The FileNotFoundError during snap assembly was resolved by changing the distro path from jade to indigo. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Fixed by updating the example path to indigo, resolving the FileNotFoundError caused by a mismatched ROS distro reference during snap assembly. |
Update history
No update history recorded yet.
Related work
-
Duplicate Of:
snapcraft (launchpad)#1500922
(confidence 80%)
Launchpad bug LP1500922 is the same report, forwarded from the ros-catkin-plugin snapcraft run (2015-09-29) and linked in the issue body.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1500922 ros-catkin-plugin: ros distro issue | snapcraft (launchpad) | closed | Moved to canonical/snapcraft#43; the ROS Jade path mismatch was traced to example configuration and resolved by changing it to Indigo. | |
| #1830784 Catkin plugin: stop using EOL indigo as default rosdistro | snapcraft (launchpad) | closed | Catkin’s legacy ROS distribution default was removed in snapcore/snapcraft#2576, requiring users to specify a distro instead of defaulting to EOL Indigo. |