When creating workspace & deps, I run
rosdep install --from-paths src --ignore-src -y
PX4 is the Professional Autopilot. Developed by world-class developers from industry and academia, and supported by an active world wide community, it powers all kinds of vehicles from racing and cargo drones through to ground vehicles and...
It shows “Package version “:{version}” does not follow version conventions”
I read the similar discussion, they said the version should be replaced by bloom
However, there is no tutorial, which command can change “:{version}” into bloom
automatically
opened 02:57PM - 19 Mar 18 UTC
closed 05:01PM - 19 Mar 18 UTC
I got the following traceback while using rosdep and as requested by the warning… message I am submitting a bug report with the stack trace below:
```
edison@jubilinux:~/ros_catkin_ws$ rosdep install --from-paths src --ignore-src -y
ERROR: Rosdep experienced an error: Package version ":{version}" does not follow version conventions
Please go to the rosdep page [1] and file a bug report with the stack trace below.
[1] : http://www.ros.org/wiki/rosdep
rosdep version: 0.12.1
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/rosdep2/main.py", line 140, in rosdep_main
exit_code = _rosdep_main(args)
File "/usr/lib/python2.7/dist-packages/rosdep2/main.py", line 388, in _rosdep_main
return _package_args_handler(command, parser, options, args)
File "/usr/lib/python2.7/dist-packages/rosdep2/main.py", line 443, in _package_args_handler
pkgs = find_catkin_packages_in(path, options.verbose)
File "/usr/lib/python2.7/dist-packages/rosdep2/catkin_packages.py", line 33, in find_catkin_packages_in
packages = find_packages(path)
File "/usr/lib/python2.7/dist-packages/catkin_pkg/packages.py", line 86, in find_packages
packages = find_packages_allowing_duplicates(basepath, exclude_paths=exclude_paths, exclude_subspaces=exclude_subspaces, warnings=warnings)
File "/usr/lib/python2.7/dist-packages/catkin_pkg/packages.py", line 146, in find_packages_allowing_duplicates
xml, filename=filename, warnings=warnings)
File "/usr/lib/python2.7/dist-packages/catkin_pkg/package.py", line 664, in parse_package_string
pkg.validate(warnings=warnings)
File "/usr/lib/python2.7/dist-packages/catkin_pkg/package.py", line 305, in validate
raise InvalidPackage('\n'.join(errors))
InvalidPackage: Package version ":{version}" does not follow version conventions
```
Thanks for your help
I find the issue is due to the version of mavlink-gbp-release folder
Default is master, we need to git checkout melodic for ubuntu 18.04
Thus, I solve this issue by running
git checkout -b melodic remotes/origin/patches/release/melodic/mavlink
1 Like