danielfett / advancedcaching

Advanced Geocaching Tool for Linux
http://www.danielfett.de/internet-und-opensource,software,agtl
31 stars 13 forks source link

N900: 0.9.1.2, can't load logs for cache (images and hints work) #164

Closed aapo closed 11 years ago

aapo commented 11 years ago

Downloading all details gives images, hints and waypoints but no logs. One example run with ./core.py -v --hildon. Selecting one cache and pressing "Download all details"

590493       INFO cachedownloader      Downloading GC14WT5... // cachedownloader.py:87
590496      DEBUG cachedownloader      _update_coordinate, pmin = 0.000000, pmax = 1.000000. // cachedownloader.py:290
590499      DEBUG core                 Progress: 0.000000 of 1.000000 // core.py:893
590520       INFO downloader           Sending request to http://www.geocaching.com/seek/cache_details.aspx?wp=GC14WT5 // downloader.py:122
593350      DEBUG downloader           Got gzip encoded answer // downloader.py:154
593354      DEBUG cachedownloader      Start parsing, pmin = 0.000000, pmax = 1.000000. // cachedownloader.py:358
593596       INFO cachedownloader      No website link found, skipping. // cachedownloader.py:387
593828      DEBUG core                 Progress: 0.200000 of 1.000000 // core.py:893
593870       INFO downloader           Sending request to http://www.geocaching.com/seek/geocache.logbook?tkn=&idx=1&num=10&decrypt=true // downloader.py:122
594475      DEBUG downloader           Got unencoded answer // downloader.py:157
594478      DEBUG cachedownloader      Start json logs parsing // cachedownloader.py:929
594498      DEBUG cachedownloader      Read 0 log entries // cachedownloader.py:946
aapo commented 11 years ago

Found it. cachedownloader.py:

-if s.startswith('//<![CDATA[\r\nvar uvtoken'):
+if s.startswith('//<![CDATA[\r\nvar isLoggedIn'):
aapo commented 11 years ago

cachedownloader version 35 solves.