ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

bloom-release: Failed to open pull request

asked 2014-02-06 02:20:55 -0500

czalidis gravatar image

updated 2016-02-11 12:21:48 -0500

130s gravatar image

When I run bloom-release command, to release a package for the first time, everything goes well, until the automatic pull request to rosdistro, where i get: Failed to open pull request: KeyError - 'release'.

This is what I get at the end of the file ~/.bloom_logs/bloom-release_current-date.log:


[debug] /tmp/tmpIUPSBY:$ git ls-tree master:tracks.yaml
[debug] /tmp/tmpIUPSBY:$ git show master:tracks.yaml
[debug] Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/bloom/commands/release.py", line 767, in perform_release
    pull_request_url = open_pull_request(track, repository, distro, ssh_pull_request)
  File "/usr/lib/pymodules/python2.7/bloom/commands/release.py", line 418, in open_pull_request
    updated_distribution_file = generate_ros_distro_diff(track, repository, distro)
  File "/usr/lib/pymodules/python2.7/bloom/commands/release.py", line 281, in generate_ros_distro_diff
    repo = distribution_dict['repositories'][repository]['release']
KeyError: 'release'

[error] Failed to open pull request: KeyError - 'release'
[error] SYS.EXIT

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-02-06 06:33:03 -0500

William gravatar image

updated 2014-02-06 10:10:06 -0500

This looks like a failure which should have been fixed with this commit:

https://github.com/ros-infrastructure...

But is still failing in the case that you have an entry (source or doc) but not a release entry yet in the distribution file.

Can you open a ticket against bloom please?

https://github.com/ros-infrastructure...

EDIT:

I have released bloom-0.4.9 which should address this problem.

edit flag offensive delete link more

Comments

Yes, in my case I have already indexed my packages for doc generation. I opened an issue on github, https://github.com/ros-infrastructure/bloom/issues/229 .

czalidis gravatar image czalidis  ( 2014-02-06 09:07:26 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-02-06 02:20:55 -0500

Seen: 312 times

Last updated: Feb 06 '14