ros-infrastructure / catkin_pkg

Standalone Python library for the catkin build system.
https://github.com/ros/catkin
Other
46 stars 89 forks source link

Error when running catkin_prepare_release with non catkin build type #338

Closed Levi-Armstrong closed 2 years ago

Levi-Armstrong commented 2 years ago
Traceback (most recent call last):
  File "/usr/bin/catkin_prepare_release", line 33, in <module>
    sys.exit(load_entry_point('catkin-pkg==0.5.0', 'console_scripts', 'catkin_prepare_release')())
  File "/usr/lib/python3/dist-packages/catkin_pkg/cli/prepare_release.py", line 217, in main
    _main()
  File "/usr/lib/python3/dist-packages/catkin_pkg/cli/prepare_release.py", line 280, in _main
    "@{yf}Warning: the following package are not of build_type %s and may require manual steps to release': %s" %
TypeError: not enough arguments for format string
cottsay commented 2 years ago

This looks like another regression from #331. Thanks for reporting.

Levi-Armstrong commented 2 years ago

I was able to comment out the print statement at line 280 to get things working for now.