Code Monkey home page Code Monkey logo

geotoad's People

Contributors

steve8x8 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

geotoad's Issues

Non-Printable control characters in GPX output

What steps will reproduce the problem?
1. Retrieving a cache that has control characters in the body - examples
include GC1G1ZV, GCGGCT, GC13C13
2.
3.

What is the expected output? What do you see instead?
Attempting to process the resulting gpx file with gpsbabel gives errors.
Examining the output with vi reveals control characters included in the
text such as  ^B ^C ^D. Manual editing to remove the control characters
will then allow gpsbabel to process the gpx file correctly.


What version of the product are you using? On what operating system?
3.9.7.1 - Tested on Linux (ubuntu) & Windows

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 9 Dec 2008 at 11:21

Truncated Cache Logs

What steps will reproduce the problem?
1. Look for a cache with some logs with new lines (paragraph) in it (html
tag "< p >" instead of "< br / >").
2. Process this cache with geotoad.
3. Check the logs section in the result file. The log with the paragraph
tag is truncated.

What is the expected output? What do you see instead?
The complete log instead of a truncated one.

What version of the product are you using? On what operating system?
Geotoad 3.9.7.1 source, on Ubuntu 8.10.

Please provide any additional information below.
The solution is to replace the tag "< p >" with spaces before the
processing of the log. Attached is my solution.
Example cache with paragraphs in the logs:
http://www.geocaching.com/seek/cache_details.aspx?guid=50316e4b-da71-477d-9cee-d
25b7fe613c1

Thanks for this great utility.


Original issue reported on code.google.com by [email protected] on 21 Mar 2009 at 7:10

Attachments:

Geotoad doesn't cope with bad settings (such as "5." at terrain)

What steps will reproduce the problem?
1. If you enter "5." instead "5.0" the program can no longer run. Restart
is impossible

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

What version of the product are you using? On what operating system?
Geotoad 3.9.7.1 for Windows / Windows Vista Business x64

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 17 Oct 2008 at 3:09

Invalid characters

What steps will reproduce the problem?
1. Try to make a GPX format file where a cache has a & in it's name

What is the expected output? What do you see instead?
I expect to see a correctly formated GPX file, but instead it gives errors
because the & is not converted to &amp;

What version of the product are you using? On what operating system?
3.9.6.  Linux.





Original issue reported on code.google.com by [email protected] on 15 Jul 2008 at 11:41

Filtering by travel bug does not work

 the --travelBug filter does not work. search.rb doesn't appear to be
picking up on the latest UI changes.

Original issue reported on code.google.com by helixblue on 2 Sep 2008 at 12:10

Use of Proxy-Server

GeoToad can not be used behind a proxy server. The rest of the mashine is 
set up and works fine with the proxy.

This was observed with GeoToad 3.9.7.1 (i386-mswin32-1.8.6) on WinXP

The output of GeoToad states:

E:/cygwin/home/jg4/eee/eee.compile.exe.3/lib/net/http.rb:564:in 
`initialize': No connection could be made because the target machine 
actively refused it. - connect(2) (Errno::ECONNREFUSED)
        from E:/cygwin/home/jg4/eee/eee.compile.exe.3/lib/net/
http.rb:564:in `open'
        from E:/cygwin/home/jg4/eee/eee.compile.exe.3/lib/net/
http.rb:564:in `connect'
        from E:/cygwin/home/jg4/eee/eee.compile.exe.3/lib/timeout.rb:48:in 
`timeout'
        from E:/cygwin/home/jg4/eee/eee.compile.exe.3/lib/timeout.rb:76:in 
`timeout'
        from E:/cygwin/home/jg4/eee/eee.compile.exe.3/lib/net/
http.rb:564:in `connect'
        from E:/cygwin/home/jg4/eee/eee.compile.exe.3/lib/net/
http.rb:557:in `do_start'
        from E:/cygwin/home/jg4/eee/eee.compile.exe.3/lib/net/
http.rb:546:in `start'
        from E:/cygwin/home/jg4/eee/eee.compile.exe.3/lib/net/
http.rb:1044:in `request'
         ... 12 levels...
        from E:\cygwin\home\jg4\eee\eee.compile.exe.3\app
\compile.rb:559:in `newlocation'
        from E:\cygwin\home\jg4\eee\eee.compile.exe.3\app\compile.rb:603
        from E:\cygwin\home\jg4\eee\eee.compile.exe.3\bootstrap.rb:77:in 
`load'
        from E:\cygwin\home\jg4\eee\eee.compile.exe.3\bootstrap.rb:77


Original issue reported on code.google.com by [email protected] on 14 Apr 2009 at 6:32

Log comments from previous years are not parsed

What steps will reproduce the problem?
1. Try to grab a cache that has less than 5 logs on this year;

What is the expected output? What do you see instead?
I like to have all the 5 last logs, but
the logs on previous year are not saved on the gpx file.

I'm *not* a regex specialist, but at least I fixed the problem replacing
 line 262 on source file detail.rb with this:

line.scan(/icon_(\w+)\.gif.*?&nbsp;([\w ]+),?[ ]?\d* by \<a 
name=\"(\d+)".*?\>\<a href.*?\>(.*?)\<\/a.*?\<br \/\>(.*?)\</) { |icon, 
date, id, name, comment|



Original issue reported on code.google.com by [email protected] on 6 Feb 2009 at 3:24

GPX output should include full HTML output (encoded)

Hi,

this is not actually an bug but a feature proposal, which I already
included in the source code for myself.

Upon using geotoad to save the list of geocaches to a GPX file and
importing this file into both GSAK (Geocaching Swiss Army Knife) and
CacheMate (PPC Version), I noticed the inconvinient behaviour that the
long-description tags get stripped of any HTML codes (as well as new lines,
etc.).

At least with the above mentioned programs, this is not necessary and
reduces readability, as they both support HTML tags inside the description
tags (when properly masked, i.e. '>' ==> '&lt;' etc.)

To fix this, I modified the following files:

* lib/details.rb 
  - line 346: cleanHTML(longdesc) ==> longdesc

* lib/output.rb
  - line 268:

    # fix CGI.escapeHTML stupidity
    if text =~ /\&amp\;([\#\w]+\;)/
      text.gsub!(/\&amp\;([\#\w]+\;)/, "&#{$1}")
      debug "Post-ampersand fix: #{text}"
    end

    ==>

    # fix CGI.escapeHTML stupidity
    #if text =~ /\&amp\;([\#\w]+\;)/
    #  text.gsub!(/\&amp\;([\#\w]+\;)/, "&#{$1}")
    #  debug "Post-ampersand fix: #{text}"
    #end

The last fix is necessary, because &nbsp; must indeed be substituted with
&amp;nbsp; otherwise GSAK and other programs will complain about non XML
conformity.

Another thing, which I not explicitly listed here, is the "\r\n"
problematic. The thing is, that in Microsoft OS's, ruby seems to translate
this to two newlines "\n", which is not intended and leads to GPX files
where every second is line empty.

Maybe you find the time to address this,

Cheers, Sethur


Original issue reported on code.google.com by [email protected] on 31 Mar 2009 at 9:02

KML export gives false error message if you run two different sets in a session

What steps will reproduce the problem?
1. Create a filter (terrain 1.0-4.0)
2. Export a KML
3. Create a filter (terrain 0.0-3.0)
4. Export a KML

It exports the file properly, but it says it can't export the file. There
seems to be a filename mismatch somewhere.


Original issue reported on code.google.com by helixblue on 1 Sep 2008 at 1:22

Some new fields (type, size, state and country)

Hello

I've made some changes to the code on details.rb and templates.rb

I've included on details.rb the size, state, coutry and type:
      # <span id="Location">In State, Country</span></p>
      if line =~ /\<span id=\"Location\"\>In (.*?)\, (.*?)\<\/span\>/
        @waypointHash[wid]['state']=$1
        debug "state: #{$1}"
        @waypointHash[wid]['country']=$2
        debug "coutry: #{$2}"
      # <span id="Location">In Country</span></p>
      elsif line =~ /\<span id=\"Location\"\>In (.*?)\<\/span\>/
          @waypointHash[wid]['state']=''
          debug "state: #{''}"
          @waypointHash[wid]['country']=$1
          debug "coutry: #{$1}"
      end


      # <a href="../about/cache_types.aspx" target="_blank"><img 
src="../images/WptTypes/3.gif" ALT="Multi-cache" border=0 width=32 height=32 
align=absmiddle></A>
      if line =~ /cache_types(.*?) ALT=\"(.*?)\" border/
        @waypointHash[wid]['type']=$2
        debug "type: #{$2}"
      end

      # <img src="../images/icons/container/small.gif" alt="Size: Small" title="Size: Small" 
border=0 align=absmiddle>&nbsp<small>(Small)</small>
      if line =~ /\" alt=\"Size: (.*?)\" title=\"Size: /
        @waypointHash[wid]['size']=$1
        debug "size: #{$1}"
      end

I've changed short decription and long description to HTML, in my case it's 
better like this to 
import also images to gsak database (gsak can do that automaticaly)

Sorry for my bad english, if you don't undestand something please told me

Thanks for this project, keep going this good work :)




Original issue reported on code.google.com by [email protected] on 29 Dec 2008 at 12:11

Attachments:

Unencoded ampersand in log comment

What steps will reproduce the problem?
1. Download a cache with an & in a log comment.
2. Export the cache to GPX.
3. Attempt to validate GPX file (xmllint).

What is the expected output? What do you see instead?
Expected: no errors. Instead: Unencoded ampersand error.

What version of the product are you using? On what operating system?
SVN head on Gentoo Linux

Please provide any additional information below.
Specific example had the text "Took a troop off for some well deserved R&R;
left a patch." Apparently it attempted to interpret &R; as an encoded
entity. Manually changing the text to "deserved R&amp;R; left a patch."
fixed the broken file.

Original issue reported on code.google.com by [email protected] on 29 Jun 2009 at 9:20

error importing gpx created files by geotad qiery - error parsing xml...

What steps will reproduce the problem?
1. creating a country query, cahes with TB inside, exporting in gpx format
2. all configuration done using the text interface
3. easy name wp = 0
p.s: any kind of query in gpx export I get an error of xml parsing, when
importing on GSAK,etc.
4. non-premium account.

What is the expected output? What do you see instead?
can't inform.  I only get error by beelinegps, gsak, etc saying that there
is an error parsing the xml in line x and x and so on.

What version of the product are you using? On what operating system?
the latest 3.9.7.1 windows xp

Please provide any additional information below.
contact: [email protected]

Thank you very much for your attention into this matter, as I am unable to
produce a valid gpx file.

Original issue reported on code.google.com by [email protected] on 18 Jun 2009 at 7:59

Attachments:

undefined method 'makedirs'

i ran geotoad and got this errors:
Ruby version: 1.9.2dev

$ ./geotoad
GeoToad 3.9.7.1 (i686-linux-1.9.2)
- Report bugs or suggestions at http://code.google.com/p/geotoad/issues/
- Please include verbose output (-v) without passwords in the bug report.
/home/tp/Desktop/geotoad-3.9.7.1/lib/shadowget.rb:170:in `fetch': undefined
method `makedirs' for File:Class (NoMethodError)
    from ./geotoad:162:in `versionCheck'
    from ./geotoad:622:in `<main>'


Original issue reported on code.google.com by [email protected] on 13 Mar 2009 at 10:08

Error in parseDate

Bug in geotoad 3.9.7.1

What steps will reproduce the problem?
1. run query with caches placed earlier than 2000

gc.com seems to report some caches placed in strange years, eg. 1966.
timeParse dies with an runtime error.

I've temporarily fixed it in common.rb, parseDate, as follows:
    when /^(\d+[ \/]\w+[ \/])(\d+)/
      if $2.to_i <= 20 && $2.to_i >= 0
        timestamp = Time.parse(date)
      else
        timestamp = Time.parse("01 Jan 00");
        puts "UXOVSKADEBUG: setting invaild date to [01 Jan 00]"
      end

Original issue reported on code.google.com by [email protected] on 17 Jan 2009 at 5:17

"5." at terrain will destroy the program

What steps will reproduce the problem?
1. If you enter "5." instead "5.0" the program can no longer run. Restart
is impossible

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

What version of the product are you using? On what operating system?
Geotoad 3.9.7.1 for Windows / Windows Vista Business x64

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 17 Oct 2008 at 3:10

Country lookup fails when State/Province select exists

What steps will reproduce the problem?
1. Set "search type" to country
2. Select a country which has State/Province (eg. Italy)
3. Start download

What is the expected output? What do you see instead?
The first page download fails.

What version of the product are you using? On what operating system?
3.6.9 on Linux

Please provide any additional information below.
I wrote a little patch to parse the State/Province select. See the attached
file.

Original issue reported on code.google.com by [email protected] on 25 Jun 2008 at 6:13

Attachments:

S60 Software for FAQ

SmartGPX (free) http://www.smartcaching.de/smartgpx.html
There are versions for

    * S60 2nd edition (Nokia 6680, N70 etc.)
    * 3rd edition (N73, N80, E61, N95 etc.) and 5th edition (Nokia 5800, N97)
    * Series 80 (Nokia Communicator 9500, 9300/9300i)
    * UIQ3 (Sony Ericsson P990i, M600i, W960i, Motorola MOTORIZR Z8)

Original issue reported on code.google.com by [email protected] on 27 Jun 2009 at 10:31

gc.com sends incorrect sharp s

What steps will reproduce the problem?
1. run geotoad on german caches with "sharp s"
2. import geotoad-generated gpx into GSAK
3. GSAK will not import, since sharp s is encoded as &szlog;

To fix it, add this line to method cleanHTML() in details.rb:
text.gsub!(/\&szl.g\;/, "&szlig;")          # gc.com might send incorrect
sharp s (GER)

I was using version 3.9.7.1

Original issue reported on code.google.com by [email protected] on 26 Jan 2009 at 7:53

Cache-type filters

What steps will reproduce the problem?
1. <9> Cache type
2. multi OR traditional|multi
3.

What is the expected output? What do you see instead?
The cache-type filter MULTI doesn't work (no results) as well as a
combination of multiple cache-type filters

What version of the product are you using? On what operating system?
3.9.7.1 (Windows)

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 24 May 2009 at 10:58

Backtick (`) in finder/hider name produce corrupted output

What steps will reproduce the problem?
1. Any search that yields caches with a hider or finder with names with
certain characters - an example cache is GC183RZ hidden by "J!/\/\/\/\`/

What is the expected output? What do you see instead?
The resulting output in a GPX has the <wpt> tag, then as soon as it has the
users name, it repeats, starting with the <wpt> tag again. This pattern
repeats thousands of times through the file.

Where the user is a finder, it similarly repeats part of the found tag
several times.


What version of the product are you using? On what operating system?
3.9.7.1 on both Windows & Linux.


Please provide any additional information below.

An example of the output:
<wpt lat="-35.20405" lon="149.097033333333">
  <time>2008-12-09T10:05:13.0000000-00:00</time>
  <name>GC183RZ</name>
  <desc>Under the Christmas Tree by J!/\/\/\/<wpt lat="-35.20405"
lon="149.097033333333">
  <time>2008-12-09T10:05:13.0000000-00:00</time>
  <name>GC183RZ</name>
  <desc>Under the Christmas Tree by /, traditional (2.0/2.5)</desc>
  <url>http://www.geocaching.com/seek/cache_details.aspx?wp=GC183RZ</url>
  <urlname>Under the Christmas Tree by J!/\/\/\/<wpt lat="-35.20405"
lon="149.097033333333">
  <time>2008-12-09T10:05:13.0000000-00:00</time>
  <name>GC183RZ</name>
  <desc>Under the Christmas Tree by J!/\/\/\/<wpt lat="-35.20405"
lon="149.097033333333">
  <time>2008-12-09T10:05:13.0000000-00:00</time>
  <name>GC183RZ</name>
  <desc>Under the Christmas Tree by J!/\/\/\/<wpt lat="-35.20405"
lon="149.097033333333">
  <time>2008-12-09T10:05:13.0000000-00:00</time>
  <name>GC183RZ</name>
  <desc>Under the Christmas Tree by /, traditional (2.0/2.5)</desc>
  <url>http://www.geocaching.com/seek/cache_details.aspx?wp=GC183RZ</url>
  <urlname>Under the Christmas Tree by J!/\/\/\/<wpt lat="-35.20405"
lon="149.097033333333">
  <time>2008-12-09T10:05:13.0000000-00:00</time>
  <name>GC183RZ</name>

Original issue reported on code.google.com by [email protected] on 15 Dec 2008 at 9:10

"-E" not working properly

What steps will reproduce the problem?
1. Run geotoad like this:
geotoad.exe -u login -p passwd -o "toad.out.E.gpx" -x gpx -q coord "N50
25.535, E015 21.264" -y 2 -E medved2

What is the expected output? What do you see instead?
expected: GPX with only one not-found-yet cache (GC1GM4T)
but i see: GPX containing two caches: GC1GM4T plus GCJVVC (I found this one
on May 14, 2008)

What version of the product are you using? On what operating system?
GeoToad 3.9.7.1, Windows Vista SP1

Please provide any additional information below.
My geocaching name is medved2. On May 14 I found two caches (GC1AM6P and
GCJVVC) so I checked whether there is a difference in the logs. I didn't
find any. Both logs are looong time ago (not listed directly on the cache
page, one has to click "view all logs"), there are no pictures attached,...

Original issue reported on code.google.com by [email protected] on 8 Oct 2008 at 8:49

Attachments:

Wrong output filename when using max difficulty

In file geotoad.rb

line 296 is:

@defaultOutputFile = @defaultOutputFile + "-D" + @option
['difficultyMin'].to_s

should be:

@defaultOutputFile = @defaultOutputFile + "-D" + @option
['difficultyMax'].to_s

Original issue reported on code.google.com by [email protected] on 29 Jun 2009 at 7:29

Crash on wid queries

Geotoad SVN 412 (on Ubuntu 7.10) seems to crach on all wid queries.


./lib/output.rb:441:in `filterInternal': undefined method `strftime' for
nil:NilClass (NoMethodError)
        from ./lib/output.rb:426:in `each'
        from ./lib/output.rb:426:in `filterInternal'
        from ./lib/output.rb:200:in `prepare'
        from ./CLI/geotoad.rb:593:in `saveFile'
        from ./CLI/geotoad.rb:629



Here is a good query:

./CLI/geotoad.rb -u foo -p bar --verbose -k SCC 98177

Here is a bad query (which should produce a near identical gpx):

./CLI/geotoad.rb -u foo -p bar --verbose -q wid GCHDMP


On the wid query the @wpHash returned by search.rb is missing the ctime as
well as other attributes (distance, direction, difficulty). Adding a check
to only call strftime if !@wpHash[@currentWid]['ctime'].nil? avoids the
crash but the resulting gpx is missing values for placed_by, owner, type,
difficulty, and other important fields.


Comparing the logs from two runs above it appears that the first is parsing
the ctime and other attributes from the search page, while the wid query
goes straight to the cache detail page? Is this correct?


Attached is the verbose output from each of the above runs. The line
numbers are slightly different because I added some additional debugging to
dump the contents of @wpHash[@currentWid].

Original issue reported on code.google.com by [email protected] on 27 Nov 2007 at 8:45

Attachments:

Geotoad should let you filter by cache type

See http://www.geocaching.com/about/cache_types.aspx

* Traditional
* Multi
* Mystery
* Letterbox
* Event
* Virtual <obsolete>
* Webcam <obsolete>


Original issue reported on code.google.com by helixblue on 1 Sep 2008 at 11:58

Geocache Search Logic error

What version of the product are you using? On what operating system?
-- latest dmg install [GeoToad 3.9.6 (powerpc-darwin8.7.0-1.8.4)]

Please provide any additional information below.

The first run of Geotoad worked great!  After running it twice (once for
gpx, once for html) I left the window open in the background, and it had a
buffer overrun in the timeout method.  Unfortunately I lost the memory dump
when I closed the window.

Now, when I restart Geotoad, it takes a long (few seconds) time between
starting and putting up the TUI, and then the run ends in an error.  I'm
guessing it's an issue with information in the cache.  I'll try to debug it
later, but it might be easier if I could clear the cache to replicate the
original problem.  Is there a simple way to do this?  If not, it might be a
nice addition.

Attached is the log.

mC

Original issue reported on code.google.com by [email protected] on 21 Nov 2007 at 2:10

Attachments:

Add Geocache GCXXXX code in HTML output

Please add the Geocache GCXXX code in HTML output. I use the HTML code on 
a PDA for paperless caching. The caches from a GPX file are stored in the 
GPSr based on the GCXXX name. Referencing to a cache description in the 
HTML output is difficult, because in this output the GCXXX code is not 
mentioned.


Original issue reported on code.google.com by [email protected] on 23 Nov 2008 at 3:26

Subscriber-only caches are not cached locally

What steps will reproduce the problem?
1. Search for 30075
2. Watch it error out about subscriber-only caches
3. Re-run the query and watch it again



Original issue reported on code.google.com by helixblue on 1 Sep 2008 at 1:51

Geocache Search Logic error

What version of the product are you using? On what operating system?
-- latest dmg install [GeoToad 3.9.6 (powerpc-darwin8.7.0-1.8.4)]

Please provide any additional information below.

The first run of Geotoad worked great!  After running it twice (once for
gpx, once for html) I left the window open in the background, and it had a
buffer overrun in the timeout method.  Unfortunately I lost the memory dump
when I closed the window.

Now, when I restart Geotoad, it takes a long (few seconds) time between
starting and putting up the TUI, and then the run ends in an error.  I'm
guessing it's an issue with information in the cache.  I'll try to debug it
later, but it might be easier if I could clear the cache to replicate the
original problem.  Is there a simple way to do this?  If not, it might be a
nice addition.

Attached is the log.

mC

Original issue reported on code.google.com by [email protected] on 21 Nov 2007 at 1:59

Attachments:

shadowget.rb:241 undefined local variable or method `limit'

What steps will reproduce the problem?
1. geotoad.rb-u $USER -p $PASS -x gpx -q state -o $OUTDIR/colorado.gpx
'Colorado'

What is the expected output? What do you see instead?
Successful parsing of the requested query to a gpx file.

What version of the product are you using? On what operating system?
GeoToad 3.9.6 (i386-freebsd7-1.8.6)

Please provide any additional information below.

/usr/local/share/geotoad/lib/shadowget.rb:241:in `fetchURL': undefined
local variable or method `limit' for #<ShadowFetch:0x29b520ec> (NameError)
        from /usr/local/share/geotoad/lib/shadowget.rb:195:in `fetchRemote'
        from /usr/local/share/geotoad/lib/shadowget.rb:149:in `fetch'
        from /usr/local/share/geotoad/lib/details.rb:92:in `fetch'
        from /usr/local/share/geotoad/geotoad:429:in `fetchGeocaches'
        from /usr/local/share/geotoad/geotoad:425:in `each_key'
        from /usr/local/share/geotoad/geotoad:425:in `fetchGeocaches'
        from /usr/local/share/geotoad/geotoad:625

I've looked at the source code, and "limit" does appear to be undefined.
Rerunning with -v option did not reproduce the problem, possibly due to a
number of pages being "cached" so it didn't have to re-download them.

Original issue reported on code.google.com by [email protected] on 28 Apr 2008 at 10:21

How to download all geocaches from Australia

What steps will reproduce the problem?
1. I want to download all geocaches from Australia
2.
3.

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

If I use search type "country" and country name Australia I only get the 
geocaches of the state "Australian Capital Territory"

If I use searsch type "state" and state name "New South Wales" I get a lot 
of errors.

What version of the product are you using? On what operating system?
3.9.7.1 on WindowsXP 32 bit

Please provide any additional information below.


===========================================================================
===
:::                // GeoToad 3.9.7.1 Text User 
Interface //               :::
===========================================================================
===
(1)  GC.com login     [xxxxxxxxxxxxx] | (2)  search type          
[state     ]
(3)  state            [New South Wal] | (4)  distance maximum            
[10 ]
                                      |
(5)  difficulty           [0.0 - 5.0] | (6)  terrain               [0.0 - 
5.0]
(7)  fun factor           [0.0 - 5.0] | (8)  cache size            [any - 
any]
(9)  cache type           [      any] |
(10) virgin caches only           [ ] | (11) travel bug caches only        
[ ]
(12) cache age (days)       [  0-any] | (13) last found (days)       [  0-
any]
                                      |
(14) title keyword       [          ] | (15) descr. keyword    
[             ]
(16) cache not found by  [          ] | (17) cache owner isn't 
[             ]
(18) cache found by      [          ] | (19) cache owner is    
[             ]
(20) EasyName WP length         [  0] | (21) include disabled caches [n]
- - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - -
 -
(22) output format       [gpx       ]   (23) filename   [New South 
Wales     ]
(24) output directory    [E:/documents and 
settings/alex/bureaublad          ]
===========================================================================
===

-- Enter menu number, (s) to start, (r) to reset, or (x) to exit -->


E:\Documents and Settings\Alex\Bureaublad\Prive\Geotoad>geotoad.exe -u 
xxxxxxxxxx -p xxxxxx -v 'New South Wales'
GeoToad 3.9.7.1 (i386-mswin32-1.8.6)
- Report bugs or suggestions at http://code.google.com/p/geotoad/issues/
- Please include verbose output (-v) without passwords in the bug report.
( - ) Your cache directory is E:/DOCUME~1/Alex/LOCALS~1/Temp/GeoToad

( o ) Performing zipcode search for New South Wales (constraining to 10 
miles)
< d > setting distance to 10
< d > URL for mode zipcode is http://www.geocaching.com/seek/nearest.aspx?
zip=Ne
w+South+Wales&submit1=Submit&dist=10
< d > setting local expiry to 72000
< d > cachefile: 
E:/DOCUME~1/Alex/LOCALS~1/Temp/GeoToad/www_geocaching_com/seek/
nearest_aspx_zip_New+South+Wales_submit1_Submit_dist_10
< d > ====+ Fetch URL: http://www.geocaching.com/seek/nearest.aspx?
zip=New+South
+Wales&submit1=Submit&dist=10
< d > ====+ Fetch File: 
E:/DOCUME~1/Alex/LOCALS~1/Temp/GeoToad/www_geocaching_co
m/seek/nearest_aspx_zip_New+South+Wales_submit1_Submit_dist_10
< d > local cache is only 141 old (72000), using local file.
< d > 24222 bytes retrieved from local cache
< d > --- parsing search page ---
< d > found hidden post variable: __EVENTTARGET
< d > found hidden post variable: __EVENTARGUMENT
< d > found hidden post variable: __LASTFOCUS
< d > found hidden post variable: __VIEWSTATE
< d > -- row --
< d > ^^^ parsing complete ^^^
 ***  No waypoints found in http://www.geocaching.com/seek/nearest.aspx?
zip=New+
South+Wales&submit1=Submit&dist=10 (server error?) - retrying
< d > cachefile: 
E:/DOCUME~1/Alex/LOCALS~1/Temp/GeoToad/www_geocaching_com/seek/
nearest_aspx_zip_New+South+Wales_submit1_Submit_dist_10
< d > invalidating cache at 
E:/DOCUME~1/Alex/LOCALS~1/Temp/GeoToad/www_geocachin
g_com/seek/nearest_aspx_zip_New+South+Wales_submit1_Submit_dist_10
< d > cachefile: 
E:/DOCUME~1/Alex/LOCALS~1/Temp/GeoToad/www_geocaching_com/seek/
nearest_aspx_zip_New+South+Wales_submit1_Submit_dist_10
< d > ====+ Fetch URL: http://www.geocaching.com/seek/nearest.aspx?
zip=New+South
+Wales&submit1=Submit&dist=10
< d > ====+ Fetch File: 
E:/DOCUME~1/Alex/LOCALS~1/Temp/GeoToad/www_geocaching_co
m/seek/nearest_aspx_zip_New+South+Wales_submit1_Submit_dist_10
< d > no local cache file found for 
E:/DOCUME~1/Alex/LOCALS~1/Temp/GeoToad/www_g
eocaching_com/seek/nearest_aspx_zip_New+South+Wales_submit1_Submit_dist_10
< d > fetching remote data from 
http://www.geocaching.com/seek/nearest.aspx?zip=
New+South+Wales&submit1=Submit&dist=10
< d > Fetching http://www.geocaching.com/seek/nearest.aspx?
zip=New+South+Wales&s
ubmit1=Submit&dist=10
< d > Only 0 download errors so far, will try until 2
< d > No cookie to add to http://www.geocaching.com/seek/nearest.aspx?
zip=New+So
uth+Wales&submit1=Submit&dist=10
< d > GET to /seek/nearest.aspx?
zip=New+South+Wales&submit1=Submit&dist=10, head
ers are User-Agent Referer Accept-Charset Accept-Language Accept
< d > http://www.geocaching.com/seek/nearest.aspx?
zip=New+South+Wales&submit1=Su
bmit&dist=10 successfully downloaded.
< d > receieved cookie: ASP.NET_SessionId=lr24jn45whkipr45jglpoc45; 
path=/; Http
Only
< d > outputting 
E:/DOCUME~1/Alex/LOCALS~1/Temp/GeoToad/www_geocaching_com/seek/
nearest_aspx_zip_New+South+Wales_submit1_Submit_dist_10
< d > Returning 24221 bytes:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 
Transitional//EN" "http://www.w3.or
g/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head><title>
        Geocaching > Search for Geocaches
</title><link rel="stylesheet" type="text/css" 
href="/js/yui/2.6.0/build/fonts/f
onts-min.css" media="screen" />
        <![if !(IE 6)]>
        <link rel="stylesheet" type="text/css" 
href="/js/yui/2.6.0/build/grids/g
rids-min.css" media="screen" />
        <![endif]>
        <!--[if l
< d > --- parsing search page ---
< d > found hidden post variable: __EVENTTARGET
< d > found hidden post variable: __EVENTARGUMENT
< d > found hidden post variable: __LASTFOCUS
< d > found hidden post variable: __VIEWSTATE
< d > -- row --
< d > ^^^ parsing complete ^^^
< d > returning totalWaypoints available from search:
 ***  No waypoints found in zip=New South Wales search. Possible error 
fetching
http://www.geocaching.com/seek/nearest.aspx?
zip=New+South+Wales&submit1=Submit&d
ist=10
< d > returning waypointHash () from search.
 *!*  ERROR: No caches found in search, exiting early.

E:\Documents and Settings\Alex\Bureaublad\Prive\Geotoad>

Original issue reported on code.google.com by [email protected] on 22 Jan 2009 at 1:09

GPX output: Add waypoint category to show if the cache has been found or not

What steps will reproduce the problem?
1. N/A

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


What version of the product are you using? On what operating system?


Please provide any additional information below.

It would be great if the gpx file that is generated had the found or not
found waypoint image that we use in mapsource.  I.e. if found it has the
little treasure box that is open, and if not yet found it has the normal
closed one.

Original issue reported on code.google.com by [email protected] on 22 Sep 2008 at 5:44

Wrong Date @ Log Date

What steps will reproduce the problem?
1. Today I download first time my founds
2. Export to a gpx file works fine, but the found date from last year have
a wrong date


What is the expected output? What do you see instead?
I expected the log date for my log, but I see a random log date from 2009.

What version of the product are you using? On what operating system?
3.9.7.1 on WinnXP SP3

Please provide any additional information below.
 I attached a piece frome the gpx and a screenshoot.

Original issue reported on code.google.com by micindd on 7 Jan 2009 at 11:48

Attachments:

geotoad does not produce the same cache ID as "send to GPS" feature

What is the expected output? What do you see instead?
- CacheId has to be integer number to be acceptable in Garmin Oregon device.
- CacheId has to match Id on geocaching.com to be able automatically update
cache log information back (from GPS device to geocaching.com database)

What version of the product are you using? On what operating system?
- geotoad-3.9.7.1_Windows

Please provide any additional information below.
- Thanks for great software, It helps very much

Radim Kolek,
Czech Republic
Garmin Oregon 300

Original issue reported on code.google.com by [email protected] on 6 May 2009 at 2:11

HTML output should show inline images

What steps will reproduce the problem?
1. any download
2.
3.

What is the expected output? What do you see instead?
If there are pictures in the cache description, geotoad just writes [img].
It would be very useful if geotoad writes the img html tag (<img src="...">)

What version of the product are you using? On what operating system?
3.9.7.1 windows

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 16 May 2009 at 1:36

BeelineGPS gpx import dates are wrong.

What steps will reproduce the problem?
1. Export to GPX from Geotoad
2. Import file into Beeline GPS
3. Check date hidden and date last found, both are incorrect.

What is the expected output? What do you see instead?
Should show hidden date of 2/25/07 but it's using 9/9/08 which is the
current date.

What version of the product are you using? On what operating system?
BeelineGPS 1.83 for Windows Mobile

Please provide any additional information below.
http://www.geocaching.com/seek/cache_details.aspx?guid=0731faf2-0112-444b-bb94-6
7e895f9d504

GPX file output
<wpt lat="37.7489666666667" lon="-97.30685">
  <time>2008-09-09T13:36:22.0000000-00:00</time>
  <name>GC11545</name>
  <desc>Geo-Joe Needs You! by Big Shade, traditional (1.0/2.5)</desc>
  <url>http://www.geocaching.com/seek/cache_details.aspx?wp=GC11545</url>
  <urlname>Geo-Joe Needs You! by Big Shade</urlname>
  <sym>Geocache</sym><type>Geocache</type>
  <groundspeak:cache id="0731faf2-0112-444b-bb94-67e895f9d504"
available="True" archived="False"
xmlns:groundspeak="http://www.groundspeak.com/cache/1/0">
  <groundspeak:date>2007-02-25T00:00:00.0000000-07:00</groundspeak:date>
  <groundspeak:name>Geo-Joe Needs You!</groundspeak:name>
  <groundspeak:full_name>Geo-Joe Needs You!</groundspeak:full_name>
  <groundspeak:placed_by>Big Shade</groundspeak:placed_by>
  <groundspeak:owner id="999">Big Shade</groundspeak:owner>
  <groundspeak:type>traditional</groundspeak:type>
  <groundspeak:container>regular</groundspeak:container>
  <groundspeak:difficulty>1.0</groundspeak:difficulty>
  <groundspeak:terrain>2.5</groundspeak:terrain>
  <groundspeak:country></groundspeak:country>
  <groundspeak:state></groundspeak:state>
  <groundspeak:short_description html="False"> *[img] **GEO-JOE NEEDS
YOU!</groundspeak:short_description>

Original issue reported on code.google.com by [email protected] on 9 Sep 2008 at 6:43

long description is falsely parsed

OS: WinXP 32
Ver: Geotoad 3.9.7.1

What steps will reproduce the problem?
1. Have a look at an arbitrary GC with an additional opening <span> tag
after <span id="LongDescription">
2. Compare the description with the GPX output of GeoToad

Problem:
Because of the too simple regexp parsing, the output is cropped when a new
<span> tag appears in the long description before the id="LongDescription"
<span> tag ends.

Solution:
Improve your parsing algorithm

Original issue reported on code.google.com by [email protected] on 1 Apr 2009 at 1:13

corrupted chars displaying in GPXsonar

What steps will reproduce the problem?
1.all commas ' are replaced by 8217; in GPXsonar (pda application)


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


What version of the product are you using? On what operating system?
geotoad-3.9.7.1_Windows

Please provide any additional information below.
if the word is supposed to display (your's) it will instead display
(your8217;s)

Original issue reported on code.google.com by [email protected] on 5 Jan 2009 at 1:52

Output error

What steps will reproduce the problem?
1. anytime
2.
3.

What is the expected output? What do you see instead?
output file expected, but receive nothing

What version of the product are you using? On what operating system?
xp sp2 and ubuntu 8.04

Please provide any additional information below.
I'm trying to generate a gpx or html, but I get the following code when I
attempt on both windows and linux

==============================================================================
:::                  // GeoToad 3.9.6 Text User Interface //               :::
==============================================================================
(1)  GC.com login     [xxxxxxxxx    ] | (2)  search type          [zipcode   ]
(3)  zipcode          [55398        ] | (4)  distance maximum            [1  ]
                                      |
(5)  difficulty           [0.0 - 5.0] | (6)  terrain               [0.0 - 5.0]
(7)  fun factor           [0.0 - 5.0] | (8) cache size             [any - any]
(9)  virgin caches only           [ ] | (10) travel bug caches only        [ ]
(11) cache age (days)       [  0-any] | (12) last found (days)       [  0-any]
                                      |
(13) title keyword       [          ] | (14) descr. keyword    [             ]
(15) cache not found by  [          ] | (16) cache owner isn't [             ]
(17) cache found by      [          ] | (18) cache owner is    [             ]
(19) EasyName WP length         [ 16] | (20) include disabled caches [ ]
- - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - -
(21) output format       [gpx       ]   (22) filename   [cachehome           ]
(23) output directory    [C:/Documents and Settings/Andy/Desktop             ]
==============================================================================

-- Enter menu number, (s) to start, (r) to reset, or (x) to exit --> s

 Your cache directory is C:/DOCUME~1/Andy/LOCALS~1/Temp/GeoToad

( o ) Performing zipcode search for 55398 (constraining to 1 miles)
( o ) 1 geocaches found in defined area.

( o ) First stage filtering complete, 1 caches left
( o ) Fetching geocache pages with 1 second rests between remote fetches
( o ) Using stored login cookie for xxxxxx
[==-] (1/1) Fetching details: [GCG4ZV] "Never Forgotten" from local
( o ) Filtering out disabled caches
( o ) Filter complete, 1 caches left

( - ) Output format selected is GPX Geocaching XML format
./lib/output.rb:441:in `filterInternal': undefined method `strftime' for
nil:Nil
Class (NoMethodError)
        from ./lib/output.rb:426:in `each'
        from ./lib/output.rb:426:in `filterInternal'
        from ./lib/output.rb:200:in `prepare'
        from C:/geotoad/geotoad.rb:592:in `saveFile'
        from C:/geotoad/geotoad.rb:628

C:\geotoad>

Original issue reported on code.google.com by [email protected] on 28 Jul 2008 at 1:30

<%wpEntity.hint%> is always decrypted

OS: WinXP 32
Ver: GeoToad 3.9.7.1

How to reproduce:
1. Export some caches to a gpx file
2. Look at the <groundspeak:encryped_hint> tag

Problem:
Whether you use <%wpEntity.hint%> or <%outEntity.hintdecrypted%>, the hint
is always already decrypted.

Solution:
lib/output.rb,l:450
-hint = @wpHash[@currentWid]['hint']
+hint = @wpHash[@currentWid]['hint'].dup







Original issue reported on code.google.com by [email protected] on 1 Apr 2009 at 1:09

./lib/shadowget.rb:77:in `cacheFile': undefined method `+' for nil:NilClass (NoMethodError)

What steps will reproduce the problem?
1. search and render caches

What is the expected output? What do you see instead?
i get the following output:

( o ) To use this query in the future, type:
( o ) geotoad.rb --distanceMax=1 --output='/home/myUser/' --password=xxxxx
--queryType=keyword --user=myUser 'myKeyword'

( - ) Your cache directory is /home/user/.geotoad/cache

( o ) Performing keyword search for myKeyword
( o ) 1 geocaches found in defined area.

( o ) First stage filtering complete, 1 caches left
( o ) Fetching geocache pages with 1 second rests between remote fetches
( o ) Logging in as myUser
./lib/shadowget.rb:77:in `cacheFile': undefined method `+' for nil:NilClass
(NoMethodError)
        from ./lib/shadowget.rb:123:in `fetch'
        from ./lib/auth.rb:82:in `getLoginCookie'
        from ./lib/auth.rb:14:in `login'
        from ./geotoad:487:in `get_login_cookie'
        from ./geotoad:431:in `fetchGeocaches'
        from ./geotoad:635



What version of the product are you using? On what operating system?
- geotoad 3.9.7.1
- kubuntu 8.04
- ruby: 1.8.6

Please provide any additional information below.
I hadn't this problem days before. Don't know why I get this message yet.
I tried to play with the search options but had no success.

thanks

Original issue reported on code.google.com by [email protected] on 26 Jun 2009 at 5:43

Mixup för swedish characters (and other weird langauages too i guess ;))

What steps will reproduce the problem?
1. Run Geotoad on the cache GCNR6Q (called Billebjär)
2. The gpx will have correct HTML encoding for the long and short text -
that are NOT HTML encoded in the original HTML page. The "groundspeak:name"
will be a "?" and that one is correctly HTML encoded in the original page... 

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

I would naturally like to have the character "ä" (swedish a with two dots
over - hex E4 in ISO 8859-1). As it is now the cache name and full name get
corrupted for all high ascii swedish characters, but the long and short
texts are fine (due to inconsistent original HTML i guess)... 

What version of the product are you using? On what operating system?

3.9.7.1 - Windows XP SP3 (Swedish).

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 29 Dec 2008 at 12:02

Wrong cache type parsing

What steps will reproduce the problem?
1. geotoad.rb --format="text" --password=psw --user=login
--output="./bug.txt" --queryType=keyword "Prague travel"

What is the expected output? What do you see instead?
The cache has type "geocoins:" instead of "traditional".

Please provide any additional information below.
The solution is to replace regular expression in lib/search.rb and
lib/details.rb from

/WptTypes.*?alt=\"(.*?)\"/

to

/WptTypes[^"]+"\s+alt=\"(.*?)\"/

Original issue reported on code.google.com by [email protected] on 22 Mar 2009 at 5:39

geotoad.sf.net makes no mention of this new website

What steps will reproduce the problem?
1. search for geotoad
2. go to sourceforge website
3. download geotoad 3.9.0, and fail

What is the expected output? What do you see instead?
the SF webpage should point here.

What version of the product are you using? On what operating system?
now that I'm using 3.9.6 it works great!

Please provide any additional information below.
Thanks for providing this awesome tool!!

J.

Original issue reported on code.google.com by [email protected] on 18 Feb 2008 at 4:36

no floatingpoint by terrain and difficulty

What steps will reproduce the problem?
1. an option for an integer instead an floatingpoint for the terrain and
difficulty

What is the expected output? What do you see instead?
I expect difficulties from 1 to 5 
I see 1.0 to 5.0

What version of the product are you using? On what operating system?
- kubuntu 8.04
- geotoad 3.9.0 and/or geotoad 3.9.7.1

Please provide any additional information below.
These settings is for my garmin - device because it is'n showing correctly
these information. I have always 5 points by terain and difficulty.


thanks for the great work
rubliexpress

Original issue reported on code.google.com by [email protected] on 14 May 2009 at 8:37

Hints no longer decrypted in gpx output

When Issue 38 was fixed the hints are no longer decrypted in the gpx 
format, was that intentional?

In template.rb I changed from

"  <groundspeak:encoded_hints><%wpEntity.hint%
></groundspeak:encoded_hints>\r\n" +

to

"  <groundspeak:encoded_hints><%outEntity.hintdecrypt%
></groundspeak:encoded_hints>\r\n" +

for it to work again.

Original issue reported on code.google.com by [email protected] on 29 Jun 2009 at 8:59

Geocache Search Logic error

What version of the product are you using? On what operating system?
-- latest dmg install [GeoToad 3.9.6 (powerpc-darwin8.7.0-1.8.4)]

Please provide any additional information below.

The first run of Geotoad worked great!  After running it twice (once for
gpx, once for html) I left the window open in the background, and it had a
buffer overrun in the timeout method.  Unfortunately I lost the memory dump
when I closed the window.

Now, when I restart Geotoad, it takes a long (few seconds) time between
starting and putting up the TUI, and then the run ends in an error.  I'm
guessing it's an issue with information in the cache.  I'll try to debug it
later, but it might be easier if I could clear the cache to replicate the
original problem.  Is there a simple way to do this?  If not, it might be a
nice addition.

Attached is the log.

mC

Original issue reported on code.google.com by [email protected] on 21 Nov 2007 at 2:28

Attachments:

Add support for international province searches

What steps will reproduce the problem?
1. run a query on a South African Province
2.
3.

What is the expected output? What do you see instead?
Cache results for the province

What version of the product are you using? On what operating system?
v 3.9.7.1

Please provide any additional information below.

Query:

( o ) To use this query in the future, type:
( o ) geotoad.rb --distanceMax=0 --output='c://' --ownerInclude=''
--password=***** --queryType=state --user=****** --userInclude='' 'gauteng'

output:

( o ) Performing state search for Gauteng
 ***  No waypoints found in
http://www.geocaching.com/seek/nearest.aspx?state_id
= (server error?) - retrying
 ***  No waypoints found in state_id= search. Possible error fetching
http://www
.geocaching.com/seek/nearest.aspx?state_id=
 *!*  ERROR: No caches found in search, exiting early.


Original issue reported on code.google.com by [email protected] on 20 Sep 2008 at 1:39

Support DOS-style backslashes in path-names with -o

First of all, GeoToad is a great program that makes geocaching much easier.
 I am scripting GeoToad to provide me with geocache information on my
mobile phone via email, but ran into a snag with the output file not saving
in the path provided via Windows command line parameter.

I noticed in the FAQ file that GeoToad has a problem with saving to
relative paths.  I am supplying the full path via the -o parameter and it
still saves the output file in the working directory.

What steps will reproduce the problem?
1. Fix the -o parameter for the Windows command line so that the output
file is saved at the specified path.

What is the expected output? What do you see instead?
In the attached bat file, you can see where I passed "-o
c:\email-georequest-1-12-2009-7-58-08_PM.html" parameter for the output
file.  However, on the last line of the log file, you can see that it
actually saved the file at
"C:/GeoToad/GT_Output/email-georequest-1-12-2009-7-58-08_PM.html".

What version of the product are you using? On what operating system?
GeoToad ver 3.9.7.1 on Windows Vista Business


Please provide any additional information below.
See attached bat and log files.

Original issue reported on code.google.com by [email protected] on 13 Jan 2009 at 2:41

Attachments:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.