urdfdom_headers icon indicating copy to clipboard operation
urdfdom_headers copied to clipboard

Release for bionic doesn't include #42

Open dhood opened this issue 6 years ago • 40 comments

This PR doesn't seem to have made it into the packaged urdfdom_headers in bionic. The 1.0.0 tag on this repo doesn't seem to include this PR, and the source code zip for 1.0.0-1 listed at https://packages.ubuntu.com/bionic/amd64/liburdfdom-headers-dev doesn't include the strToDouble function, so there doesn't look to have been a new release since.

I know that this is released as an upstream ubuntu package, which brings some limitations on what/when it can be released, so there may be reasons that the version in bionic does not include that PR. But from @clalancette's comment referencing getting it in before melodic, I was expecting it to be included.

The issue it addresses is affecting a number of rviz users in a pretty severe way after upgrading to artful/bionic (see https://github.com/ros-visualization/rviz/issues/1249, https://github.com/ros-visualization/rviz/issues/1151), and is quite difficult to track down if you don't know to be looking at locales. Is it possible that it can be pushed to bionic somehow?

dhood avatar Jul 09 '18 03:07 dhood

@j-rivero @clalancette Was a new release of urdfdom_headers considered for bionic? Would it be too late now?

dhood avatar Jul 09 '18 04:07 dhood

@j-rivero @clalancette Was a new release of urdfdom_headers considered for bionic? Would it be too late now?

I'm afraid it was not, same version than in artful, upstream 1.0.0. Bionic is already released so it is too late to follow the normal course and the only option is to consider is to check if the problem falls into the Stable Release Update policy.

j-rivero avatar Jul 09 '18 11:07 j-rivero

In your experience would it be covered by that policy? Essentially for machines with different locales, urdf parsing does not work, so it is high impact in the user-facing sense, but it's not a security-related bug or anything.

If it's not possible, we need to consider alternatives. Not sure if custom packaging would be feasible, or if we have to fallback to increased visibility of the issue and workaround. Since there is a workaround, the latter might be the most appropriate if the former is time-consuming, but I imagine it will still cost some users hours of debugging before they discover the workaround, no matter how visible we try to make it.

dhood avatar Jul 09 '18 21:07 dhood

I don't know Ubuntu's update policy in particular, but in general this should be a safe change to put into a stable update. It doesn't change any external API/ABI, and has some soak time now, so it should have a low chance of regressions. I'd suggest we attempt to get an update into Ubuntu before falling back to workarounds, though I don't know the process there. Maybe @j-rivero can give us a hint.

clalancette avatar Jul 10 '18 12:07 clalancette

I don't know Ubuntu's update policy in particular, but in general this should be a safe change to put into a stable update. It doesn't change any external API/ABI, and has some soak time now, so it should have a low chance of regressions. I'd suggest we attempt to get an update into Ubuntu before falling back to workarounds, though I don't know the process there. Maybe @j-rivero can give us a hint.

Yes, the problem could be accepted as an SRU, not 100% sure but we can try it. The process of submitting is well described in the SRU page. You can get some inspiration from one of previous submissions: sdformat or urdfdom-headers for example. If you need my help to do it, I can try to allocate some time to do it next week,

j-rivero avatar Jul 10 '18 19:07 j-rivero

I know we're supposed to use Github's +1 feature for this, but going to use a comment to give it extra visiblity: it would be very much appreciated if a patch release could be done that includes #42. I'm in one of those countries where we use commas instead of dots, and although I'm not affected myself (using UTF-8), the nr of times we run into this now makes me come here and ask if something could be done, please :)

gavanderhoorn avatar Aug 07 '18 11:08 gavanderhoorn

@clalancette are you working on this or anybody else?

simonschmeisser avatar Sep 06 '18 12:09 simonschmeisser

I'm not currently working on it, no. I probably won't have time for this in the near future, so if someone else wants to take up getting the update into Ubuntu, that would be appreciated. I'm happy to provide review/support as needed.

clalancette avatar Sep 06 '18 13:09 clalancette

@clalancette could you do a new release 1.0.1 including the fix?

@j-rivero is updating to a patch release allowed as SRU? My interpretations is yes and it would be cleaner

I would then file a SRU bug report asking to update to 1.0.1

simonschmeisser avatar Sep 06 '18 14:09 simonschmeisser

@simonschmeisser I'm not the maintainer of this package, so I can't directly do the release. @scpeters would you mind doing a new release here just to make sure we have an official tag with the locale fixes?

clalancette avatar Sep 07 '18 12:09 clalancette

RViz doesn't display surfaces when LC_NUMERIC has no value. Solved executing export LC_NUMERIC="en_US.UTF-8"

Source: RViz does not show robot appearance (RViz tutorials: building from scratch) on answers.ros.org

ldayot avatar Sep 09 '18 10:09 ldayot

@scpeters ping?

simonschmeisser avatar Sep 18 '18 14:09 simonschmeisser

Here's a draft of the release notes for a 1.1.0 release:

https://github.com/ros/urdfdom_headers/releases/tag/untagged-1fc2b13e629cb2aa7873

scpeters avatar Sep 30 '18 06:09 scpeters

Thanks for getting to this so quickly after soccer ;) The link doesn't work for me

simonschmeisser avatar Sep 30 '18 06:09 simonschmeisser

sorry I didn't realize that was a secret link

screen shot 2018-09-30 at 10 27 55 am

scpeters avatar Sep 30 '18 12:09 scpeters

I just made it as a patch release instead of minor:

  • https://github.com/ros/urdfdom_headers/releases/tag/1.0.1

I'll ask @j-rivero to cherry-pick e7e0972a4617b8a5df7a274ea3ba3b92e3895a35 into debian and Ubuntu

scpeters avatar Sep 30 '18 16:09 scpeters

@j-rivero any progress?

simonschmeisser avatar Oct 23 '18 08:10 simonschmeisser

@j-rivero any progress?

Yes. I've updated the debian-sid repository with the latest version: https://packages.debian.org/source/sid/urdfdom-headers. With this step the gate to submit the SRU is open.

j-rivero avatar Oct 23 '18 10:10 j-rivero

@j-rivero Thanks a lot, that is good news! Just to be certain, will you submit the SRU or should I (who has never done that) do that?

simonschmeisser avatar Oct 23 '18 10:10 simonschmeisser

Just to be certain, will you submit the SRU or should I (who has never done that) do that?

I can do it but for it we would need an small example (test code) that demonstrate the problem with the current version and how it is fixed with the patch.

j-rivero avatar Oct 23 '18 10:10 j-rivero

looking at https://github.com/ros/urdfdom_headers/commit/9d2b421f3fcbc2a32af40b99ebd9c2cb2d088fb9 there is another issue with float parsing (see #46 )

I will open a PR and then be can start the whole game anew, sorry for not looking closer in the first place

simonschmeisser avatar Oct 24 '18 09:10 simonschmeisser

I will open a PR and then be can start the whole game anew, sorry for not looking closer in the first place

No problem. We can make a new patch release as soon as the PR is merged and import it to debian.

j-rivero avatar Oct 24 '18 13:10 j-rivero

Just realised: #42 is the answer to everything.

gavanderhoorn avatar Nov 07 '18 12:11 gavanderhoorn

I filed an Ubuntu bug report asking for an update, you can vote there by clicking "this bug affects me":

https://bugs.launchpad.net/ubuntu/+source/urdfdom-headers/+bug/1817595

simonschmeisser avatar Feb 26 '19 13:02 simonschmeisser

I saw on ROS Discourse that @kyrofa from Canonical is hiring roboticists, perhaps he has some suggestion on how to proceed on the bug/SRU.

traversaro avatar Feb 28 '19 20:02 traversaro

If the time it takes to release the fixed package to bionic is expected to be longer, it might be handy to add a temporary env_hook to the dependent ROS packages. Or a build-time warning issued by urdfdom-headers (which would although not help people who just install everything via apt and run rviz).

In my packages, I'm adding the env hook that sets LC_NUMERIC=C.

peci1 avatar Mar 01 '19 12:03 peci1

Today, the updated urdfdom_headers package has been released to bionic. It includes the fix for #42.

peci1 avatar Nov 08 '19 15:11 peci1

@j-rivero Do you think it'd be possible to at least increase patch version number for the released Ubuntu package? This way it's pretty difficult to tell if the user has the fixed version or not (e.g. from CMake).

peci1 avatar Nov 08 '19 15:11 peci1

Today, the updated urdfdom_headers package has been released to bionic. It includes the fix for #42.

How did you determine this @peci1 ?

gavanderhoorn avatar Nov 08 '19 16:11 gavanderhoorn

@gavanderhoorn probably from the SRU bug. We released the fix into bionic-updates on the 7th thanks to @j-rivero's hard work.

kyrofa avatar Nov 08 '19 16:11 kyrofa