Pi and More

11.03.12

A quick fix for AGTL on the N900

A few weeks ago, geocaching.com once again changed their website. The new site features a new map. Unfortunately, the new map doesn't fit well into AGTL. I fixed the bug, however, was not able to finish the N900 version yet, because I don't own an N900 since mine broke last year. I'm currently searching for a defect N900 to buy it for development, you can also speed things up with donations for a used N900.

Update: Rob Kouwenberg ( @cow_n_berg) will send me his spare N900, so the quest for a new old N900 has found a quick end. Geocaching user juleodop send me 60 euro via PayPal, thanks for that!

However, in the meantime you can try this dirty fix. It doesn't affect the installed version of AGTL. Run the following commands in the terminal. # First, install git and python-lxml (as root)
apt-get install git-core python-lxml
# Now, check out the latest version of AGTL (***NOT*** as root!)
git clone git://github.com/webhamster/advancedcaching.git
# Now, run it (also ***NOT*** as root!)
cd advancedcaching/files/advancedcaching
python core.py --hildon


This is untested, so please provide feedback if everything works.

Please be warned, that the new downloading algorithm always fetches the whole descriptions, thus it is much slower than before!

And if you have a partially defect N900 at home, please mail me!
Tags
agtlmaemo
Kommentare (neuste zuerst)
  • protheseus schreibt am 15.08.12 um 09:28 Uhr: AGTL is a very nice tool, I love it!!! But there is a problem with OSM since 01. August 2012, please check http://tinyurl.com/osmtile1 quotation: "openStreetMap Devs, After the 30th June 2012 a number of non-standard tile.openstreetmap.org URLs will no longer function. The only valid URL format is: http://tile.openstreetmap.org/{z}/{x}/{y}.png Valid host aliases are: a.tile.openstreetmap.org, b.tile.openstreetmap.org, c.tile.openstreetmap.org, tile.osm.org, a.tile.osm.org, b.tile.osm.org and c.tile.osm.org...."
  • CacheSquid schreibt am 05.06.12 um 16:33 Uhr: 0.9.1 seems to produce list index out of range error for all caches after losing internet connection once. Only solution is to reboot whole N900.
  • pterozaurus schreibt am 13.04.12 um 17:29 Uhr: leider bekomme ich AGTL nicht auf die aktuelle Version aktuallisiert. Mein N900 bricht immer mit der Fehlermeldung ab: fehlende Programpakete python-lxml. Beim Versuch python-lxml zu installieren wird mit: " depends: libxslt1.1 but it is not installable " abgebrochen. Ich finde die libxslt1.1 auch nicht zum installieren. Irgendwelche problemlösungen? Grüße und schonmal Danke
  • MrEPN aus Finnland schreibt am 19.03.12 um 09:39 Uhr: Thanks for the fix. After quick testing it seems that overview downloasing is now working. I think that earlier when I pressed download overview, it only did download the caches to the map without details, which could be then downloaded separately. Now instead, it seems that the details are downloaded simultaneously.
  • Ragesoft schreibt am 17.03.12 um 13:31 Uhr: fieldnotes upload ging irgendwie nicht. Es hat zwar geschrieben das sie hochgeladen sind, aber online waren sie net verfügbar :(
  • cambet schreibt am 12.03.12 um 23:37 Uhr: Danke für die schnelle Hilfe. Bis jetzt funktioniert alles wieder.
  • berndmagkeinecookies schreibt am 11.03.12 um 20:07 Uhr: 113882 ERROR cachedownloader Could find title! // cachedownloader.py:280 113891 ERROR cachedownloader list index out of range // cachedownloader.py:118 113900 ERROR root list index out of range // core.py:708 Traceback (most recent call last): File "/home/user/advancedcaching/files/advancedcaching/cachedownloader.py", line 116, in get_geocaches points = self._get_overview(location) File "/home/user/advancedcaching/files/advancedcaching/cachedownloader.py", line 192, in _get_overview result = self._parse_cache_page(response, coordinate, num_logs = 20, download_images = False) File "/home/user/advancedcaching/files/advancedcaching/cachedownloader.py", line 281, in _parse_cache_page raise e IndexError: list index out of range Problem is a premium only cache. Your spam-thingy works only with cookies enabled, bad.
Kommentar schreiben
  • Bugs in AGTL bitte hier melden.
    Please report any bugs in AGTL here.
  • Wer eine Antwort erwartet, sollte eine echte E-Mail-Adresse angeben.
    If you expect a reply from me, please provide a working e-mail address.
  • Ich kann keine individuelle Problemlösung zu Websicherheit oder regulären Ausdrücken geben!
Name:
Website: http:// optional
E-Mail: wird nicht veröffentlich
Spam-Check: 10 weniger 7 ergibt