steve8x8 / geotoad

Geocaching query tool written in Ruby
https://buymeacoffee.com/steve8x8
Other
28 stars 8 forks source link

'round': Nan (FloatDomainError) everytime #181

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Just launch Geotoad (tried different settings, but this seem to happen 
everytime)
2.
3.

What is the expected output? What do you see instead?
-

What version of the product are you using? On what operating system?
3.14.1. / Windows 7 - 64 bit. (Also tried with Vista 32)

Please provide any additional information below.

Original issue reported on code.google.com by enk...@gmail.com on 7 Dec 2010 at 7:42

Attachments:

GoogleCodeExporter commented 9 years ago
Please do the following:

1. If you can, run with verbose mode on ("v" in the TUI, "-v" option from 
command line).
Save the (copious!) output for later.

2. Find (in your cache directory) the cdpf.* file containing the cache 
description.
What's its time stamp?
Rename (not remove, we might need it later) it. Then re-run. Does the problem 
disappear?

I have seen this happen only under extreme circumstances - you might have hit 
one of them. (BTW, that's another argument pro issue 162...)

Original comment by Steve8x8 on 8 Dec 2010 at 8:47

GoogleCodeExporter commented 9 years ago
Ok, I took a log and renamed that cdpf.*62c44405f268. But I did'n work.

Original comment by enk...@gmail.com on 8 Dec 2010 at 11:30

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the log (which actually points to a different cache than your 
snapshot before!).
I checked the cache page, and couldn't seen anything suspicious.
Can you pick up details.rb from SVN trunk (release 786 has a possible fix), or 
alternatively apply the patch attached (patch -p0), and report back?
Thomas, do you understand why the fun factor scoring would return a NaN?

Original comment by Steve8x8 on 8 Dec 2010 at 12:24

Attachments:

GoogleCodeExporter commented 9 years ago
I've made a change to funfactor.rb in r787 - if it could't process any scores, 
it would return a bogus number. Changed to return 0.0. 

Original comment by helixblue on 8 Dec 2010 at 1:10

GoogleCodeExporter commented 9 years ago
Checked latest from repo and this seems to work! Thank You!

Original comment by enk...@gmail.com on 8 Dec 2010 at 1:40

GoogleCodeExporter commented 9 years ago

Original comment by Steve8x8 on 9 Dec 2010 at 9:08

GoogleCodeExporter commented 9 years ago
Closed with 3.14.3

Original comment by Steve8x8 on 12 Jan 2011 at 2:46