mrJean1 / PyGeodesy

Pure Python geodesy tools
https://mrjean1.github.io/PyGeodesy/
297 stars 58 forks source link

FAIL: test_WebMercator (test.unitTestSuite.TestSuite) #19

Closed cclauss closed 6 years ago

cclauss commented 6 years ago
mrJean1 commented 6 years ago

Which Python is this? 32- or 64-bit?

cclauss commented 6 years ago

Linux. Not Windows.

mrJean1 commented 6 years ago

Saw that. Which Python release? 32- or 64-bit? Which Linux distro?

mrJean1 commented 6 years ago

How/where can I run the failing test, in an attempt to duplicate the problem?

cclauss commented 6 years ago

This was all found via #18 so you would have to go to https://www.travis-ci.com/mrJean1 (login via GitHub credentials) and flip the repo switch on and then merge #18

cclauss commented 6 years ago

Ubuntu 16.04.4 LTS (Xenial Xerus) 64bit http://releases.ubuntu.com/16.04/

$ python -c "import platform ; print(platform.architecture(), platform.platform(), platform.uname())"

('64bit', 'ELF') Linux-4.13.0-1017-gcp-x86_64-with-debian-stretch-sid uname_result(system='Linux', node='travis-job-da13418d-37d8-4d32-b6e1-eef5a535b322', release='4.13.0-1017-gcp', version='#21-Ubuntu SMP Thu May 17 14:45:07 UTC 2018', machine='x86_64', processor='x86_64')

cclauss commented 6 years ago

Ubuntu 14.04.5 LTS (Trusty Tahr) 64bit http://releases.ubuntu.com/14.04/ delivers the same result.

mrJean1 commented 6 years ago

Thank you.

On Jul 2, 2018, at 2:38 PM, cclauss notifications@github.com wrote:

This was all found via #18 so you would have to go to https://www.travis-ci.com/mrJean1 (login via GitHub credentials) and flit in the repo switch and then merge #18

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

mrJean1 commented 6 years ago

I am unable to duplicate the testWebMercator failure (with recent 64-bit Python 2 and 3 versions) and can not log into Travis-CI.com. Will keep this issue open for the time being.

cclauss commented 6 years ago

Does https://www.travis-ci.org/mrJean1 (org, not com) work any better?

mrJean1 commented 6 years ago

Doesn't work either. Please let me know (1) when all this works, (2) repeats the testWebMercator error and (3) shows how/where that error can be duplicated. Errors which can not be duplicated and investigated are not fixable.

cclauss commented 6 years ago

The CI already works and this error happens every time — it is 100% reproducible.

test 29 Wm8.toLatLon: 51.40859605378412°N, 000.30433927078479°W FAILED, expected 51.4085960537841°N, 000.30433927078479°W test/run.py ~/virtualenv/pyt...3.6.3/bin/python 1 FAILED (PyGeodesy 18.6.27 Python 3.6.3 64bit numpy 1.13.3 uname Linux) 14.966 sec

I have never had anyone tell me that they can’t figure out how to log into Travis CI.

  1. https://travis-ci.com/signin
  2. Click “Sign-in with GitHub”

Do you know how to log into Circle CI or AppVeyor??

mrJean1 commented 6 years ago

Sir, I appreciate all your effort and the details you finally show. With respect to Travis, Circle, AppVeyor, CI in general, there hasn’t been any need for that so far and I am not planning to go down that path, yet.

cclauss commented 6 years ago

OK... in Docker on your local machine.

  1. Open Kitematic in the Docker menu (Whale on the top of my screen)
  2. Click the + New button
  3. Type Python in the search box
  4. Under Official Python click the Create button
  5. Click the Exec button
  6. In the new terminal that appears, type
mrJean1 commented 6 years ago

Fixed in PyGeodesy 18.7.3.