geotoad icon indicating copy to clipboard operation
geotoad copied to clipboard

Location query fails

Open VsQ90 opened this issue 7 months ago • 6 comments

Whether using TUI or straight command, location search fails with Unknown response error. I've checked that location works and it should be found. Coordinate search works fine.

Command used: geotoad.rb -L 1 -O -v "times square"

Verbose output:

(===) GeoToad 3.34.1 (Ruby 3.1.5p252/2024-04-23 on x86_64-linux)
( - ) See   https://github.com/steve8x8/geotoad.git   for latest changes and bug reports!
( - ) Using TLSv1_2 and SSL verification.
( o ) Using command line settings:
( - ) geotoad.rb --limitSearchPages=1 'times square'
I: geotoad.rb --limitSearchPages=1 'times square'
( - ) Setting debug level to 1
D0: Debug level set to 1
D1: Internally using distance 10 miles.
D1: Limiting search to 1 pages
( - ) Thank you for using a released or patched version of GeoToad.
( - ) Report bugs or suggestions at https://github.com/steve8x8/geotoad/
( - ) Please include verbose output (-v) without passwords in the bug report.
-------------------------------------------------------------------------------
( o ) Templates: /home/vesku/Lataukset/geotoad-3.34.1/lib/../templates
( - )     62 templates total
( o ) Dictionary: /home/vesku/.config/GeoToad/mapping.yaml
( - )     94 WID->GUID mappings total
-------------------------------------------------------------------------------
( - ) Cache directory: /home/vesku/.config/GeoToad/cache
( o ) Logging in as -VsQ-
D1: login called for user=-VsQ- pass=*********
D1: Fetching URL [https://www.geocaching.com/account/signin]
D1: Fetching URL [https://www.geocaching.com/account/signin]
D1: REDIRECT: [/play/search]
D1: Fetching URL [https://www.geocaching.com:443/play/search]
D1: Cookie __RequestVerificationToken=X9MwK[82]pipM1; gspkauth=hzLXY[162]Vd4Y1 looks good, rock on.
D1: Login returned cookie "__RequestVerificationToken=X9MwK[82]pipM1; gspkauth=hzLXY[162]Vd4Y1"
( o ) Login successful
( o ) Querying user preferences
D1: local cache is only 3268 (<= 43200) sec old, using local file.
D1: setting selected option SelectedCultureCode=en-US (English)
D1: setting selected option SelectedTimeZone=29 ((UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius)
D1: setting selected option SelectedDateFormat=dd/MM/yyyy (30/06/2024)
D1: setting selected option SelectedGPXVersion=1.0.1 (1.0.1)
D1: location nil nil from unknown source
( - ) Using date format "dd/MM/yyyy", language "en-US"
 ***  There may be problems for some date format settings.
 ***  Using ISO date format (yyyy-MM-dd) is strongly recommended.
( - ) Using home location (nil, nil) from unknown source
-------------------------------------------------------------------------------
( o ) "location" search for "times square", constraining to 10 miles
D1: geocode looking up address "times square"
D1: no local cache file found for /home/vesku/.config/GeoToad/cache/nominatim.openstreetmap.org/search_q_times_square
D1: sleeping 5 seconds before remote fetch
D1: Fetching URL [https://nominatim.openstreetmap.org/search?q=times%20square&format=json&limit=1&addressdetails=0&polygon_svg=0]
 ***  Unknown response "#<Net::HTTPForbidden 403 Forbidden readbody=true>" [https://nominatim.openstreetmap.org/search?q=times%20square&format=json&limit=1&addressdetails=0&polygon_svg=0]
D1: 1 download errors so far, will try until 5
D1: Fetching URL [https://nominatim.openstreetmap.org/search?q=times%20square&format=json&limit=1&addressdetails=0&polygon_svg=0]
 ***  Unknown response "#<Net::HTTPForbidden 403 Forbidden readbody=true>" [https://nominatim.openstreetmap.org/search?q=times%20square&format=json&limit=1&addressdetails=0&polygon_svg=0]
D1: 2 download errors so far, will try until 5
D1: Fetching URL [https://nominatim.openstreetmap.org/search?q=times%20square&format=json&limit=1&addressdetails=0&polygon_svg=0]
 ***  Unknown response "#<Net::HTTPForbidden 403 Forbidden readbody=true>" [https://nominatim.openstreetmap.org/search?q=times%20square&format=json&limit=1&addressdetails=0&polygon_svg=0]
D1: 3 download errors so far, will try until 5
D1: Fetching URL [https://nominatim.openstreetmap.org/search?q=times%20square&format=json&limit=1&addressdetails=0&polygon_svg=0]
 ***  Unknown response "#<Net::HTTPForbidden 403 Forbidden readbody=true>" [https://nominatim.openstreetmap.org/search?q=times%20square&format=json&limit=1&addressdetails=0&polygon_svg=0]
D1: 4 download errors so far, will try until 5
D1: Fetching URL [https://nominatim.openstreetmap.org/search?q=times%20square&format=json&limit=1&addressdetails=0&polygon_svg=0]
 ***  Unknown response "#<Net::HTTPForbidden 403 Forbidden readbody=true>" [https://nominatim.openstreetmap.org/search?q=times%20square&format=json&limit=1&addressdetails=0&polygon_svg=0]
D1: 5 download errors so far, maximum reached
D1: Fetching URL [https://nominatim.openstreetmap.org/search?q=times%20square&format=json&limit=1&addressdetails=0&polygon_svg=0]
 ***  Unknown response "#<Net::HTTPForbidden 403 Forbidden readbody=true>" [https://nominatim.openstreetmap.org/search?q=times%20square&format=json&limit=1&addressdetails=0&polygon_svg=0]
( - ) Offline mode: not fetching https://nominatim.openstreetmap.org/search?q=times%20square&format=json&limit=1&addressdetails=0&polygon_svg=0
 ***  File pattern "boundingbox": not found in data (0b)
( o ) OpenStreetMap Nominatim search for times square returned
 ***   no results.
D1: returning: [nil, nil, nil, "", 0]
D1: geocoder returned: a:nil x: y:
 ***  GeoCoder failed to determine the location of times square
 ***  Search "location" for "times square" unknown.
 ***  Check for special characters or try a "coord" search instead.
D1: waypoints extracted: 0, combined: 0
 ***  No valid query or no caches found in search, exiting early.

VsQ90 avatar Jun 30 '24 17:06 VsQ90