{"action":"created","issue":{"url":"https://api.github.com/repos/ros/ros_comm/issues/657","labels_url":"https://api.github.com/repos/ros/ros_comm/issues/657/labels{/name}","comments_url":"https://api.github.com/repos/ros/ros_comm/issues/657/comments","events_url":"https://api.github.com/repos/ros/ros_comm/issues/657/events","html_url":"https://github.com/ros/ros_comm/pull/657","id":103717106,"number":657,"title":"rosbag: better exception on exmpty bag","user":{"login":"galou","id":2596352,"avatar_url":"https://avatars.githubusercontent.com/u/2596352?v=3","gravatar_id":"","url":"https://api.github.com/users/galou","html_url":"https://github.com/galou","followers_url":"https://api.github.com/users/galou/followers","following_url":"https://api.github.com/users/galou/following{/other_user}","gists_url":"https://api.github.com/users/galou/gists{/gist_id}","starred_url":"https://api.github.com/users/galou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galou/subscriptions","organizations_url":"https://api.github.com/users/galou/orgs","repos_url":"https://api.github.com/users/galou/repos","events_url":"https://api.github.com/users/galou/events{/privacy}","received_events_url":"https://api.github.com/users/galou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-28T13:14:39Z","updated_at":"2015-09-09T21:22:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ros/ros_comm/pulls/657","html_url":"https://github.com/ros/ros_comm/pull/657","diff_url":"https://github.com/ros/ros_comm/pull/657.diff","patch_url":"https://github.com/ros/ros_comm/pull/657.patch"},"body":"Bag.get_start_time and Bag.get_end_time thorw a better exception\r\nif the bag contains no message.\r\n\r\nMain modifications are on line approx. 496 and 512.\r\nThe rest is whitespace deletion."},"comment":{"url":"https://api.github.com/repos/ros/ros_comm/issues/comments/139049653","html_url":"https://github.com/ros/ros_comm/pull/657#issuecomment-139049653","issue_url":"https://api.github.com/repos/ros/ros_comm/issues/657","id":139049653,"user":{"login":"wjwwood","id":100427,"avatar_url":"https://avatars.githubusercontent.com/u/100427?v=3","gravatar_id":"","url":"https://api.github.com/users/wjwwood","html_url":"https://github.com/wjwwood","followers_url":"https://api.github.com/users/wjwwood/followers","following_url":"https://api.github.com/users/wjwwood/following{/other_user}","gists_url":"https://api.github.com/users/wjwwood/gists{/gist_id}","starred_url":"https://api.github.com/users/wjwwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wjwwood/subscriptions","organizations_url":"https://api.github.com/users/wjwwood/orgs","repos_url":"https://api.github.com/users/wjwwood/repos","events_url":"https://api.github.com/users/wjwwood/events{/privacy}","received_events_url":"https://api.github.com/users/wjwwood/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T21:22:11Z","updated_at":"2015-09-09T21:22:11Z","body":"@galou can you post a snippet of the current behavior? In your OP you say that this is a \"better\" error message, which seems to indicate there is one already which is not so good.\r\n\r\nIt would also be good to have a test for this, but that may be more than you have time for. If you're interested in adding one, they're located here:\r\n\r\nhttps://github.com/ros/ros_comm/tree/indigo-devel/test/test_rosbag/test"}}