question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

test_erfa_planet fails on i386

See original GitHub issue

On 32 bit x86, TestPositionKittPeak.test_erfa_planet fails by newer returning. I could locate the loop in this loop in solar_system.py. The absolute value of delta_light_travel_time here jumps between 7.91119372419e-11 AU s / m, 7.91011123661e-11 AU s / m, and 1.08248758387e-14 AU s / m. Python version is 2.7.12, erfa 1.3.0. This didn’t happen before (with Python 2.7.12rc1, erfa 1.2.0).

Full build log here

Unfortunately, I have no tests in between, so it may be anything… I also just had another mystic regression on i386 (with the CPL library), so it is not excluded that it is caused by the C compiler (gcc-6.2.0) or so. But if anyone could have a look to the mentioned loop and could give some advise?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:22 (21 by maintainers)

github_iconTop GitHub Comments

1reaction
mhvkcommented, May 3, 2017

Indeed, it has been a bit sad that we even had to go the erfa route in the first place, instead of realising that it was good that people wanted to use the code and that that would mean bugs would be found. But in fairness, I don’t think the people who work on IAU committees get all that much credit from the community for their often thankless tasks. On a more positive note, perhaps we should specifically include feedback upstream in the astropy paper 2…

1reaction
olebolecommented, May 3, 2017

Yea, they are not really carefully acknowledging where they got the solution from 😦 The patch was done in liberfa/erfa#41 and sent to upstream later, and one would usually expect that this origin is mentioned somewhere in SOFA (Announcement, Changelog, THANKS file or whatever). But IAU is different…

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found