![]() |
Re: [Announce] Advanced Geocaching Tool
1 Attachment(s)
Hey webhamster,
just tried your latest git code. Thanks. And got some errors at first run. You fin the output attached as txt file. Is this helpful for you to do so? Or may we be more helpful any other way? @rob_kouw also a big thanks to you for being so generous and trusting @webhmaster started second time and its very slow, some caches are not shown anymore (some are), sometimes the map is not updated/displayed anymore. Starting the old version again returns to old state (so at least database alterations seems to be not harmful for old version). Or did you create a new version? Where? But I do not think so. Downloading overview and details seems to work, but I do not see them updated on map (see above). Is this the right place to give feedback? Cheers |
Re: [Announce] Advanced Geocaching Tool
Quote:
I've also created a bug report on github, which is the best way to report bugs (it's easy to miss or forget about bugs posted on the forum): https://github.com/webhamster/advancedcaching/issues Please note that the new downloader will be considerably slower than the old one (and there's no way around that), but it'll download the complete cache descriptions (except for the logs and images) now. |
Re: [Announce] Advanced Geocaching Tool
And if anybody wants to join, I'll be at this geocaching event: http://coord.info/GC3BJ3A
|
Re: [Announce] Advanced Geocaching Tool
1 Attachment(s)
Quote:
About database you seem to be right. A removal and fresh start looks better. But now all my caches/notes/history are gone. Have to investigate and find a solution somehow ... Nevertheless I had a crash: downloaded some overview (about 8 caches), then downloaded detail for one cache and switched tabs from logs to description or vice versa and suddenly UI hanged and short time later UI disappeared. Process python was still running. Next time I will use the github for reporting :) |
Re: [Announce] Advanced Geocaching Tool
A new AGTL version for the N900 and for the N9 is available at http://www.danielfett.de/privat,blog...aching-n9-n900 and in extras-testing. Please test it and report any bugs!
|
Re: [Announce] Advanced Geocaching Tool
Looks very great, thank you very much!
|
Re: [Announce] Advanced Geocaching Tool
Quote:
But I did not want to loose my caches history, so I investigated a bit and a bit more of time. And Heureka. This behaviour of not refreshing the screen and not showing the caches only appeared on a specific part of the map. For the rest of the map everything was fine and smooth. So I moved/zoomed the map around until I could guess, which was the bad guy(s). Somehow I downloaded a few new caches (do not ask me how, maybe mixing with git version and the temporary cache.db column structuring). And exactly those few caches, which I found, marked and field noted, caused the problem. Deleted them via SQL from DB and voila. Now I can use it again. Happy caching. |
Re: [Announce] Advanced Geocaching Tool
Dear peterleinchen,
SQL! I love working with SQL on a database. What is the way to go? Copied it to a pc? On the N900 itself? Which SQL program? (I only I knew before how to... I could have added new caches by hand, and just download the details one by one. And I could have deleted those archived caches.) Thanks, Rob (Edit: I found SQLite Database Browser for Mac, managed to delete irritating caches, but even after compacting AGTL will not finish any download. I think there is something wrong with the format. Reading seems to be fine though. But anyhow I reinstalled the old database.) |
Re: [Announce] Advanced Geocaching Tool
Quote:
simply grab sqlite3 package apt-get install sqlite3 and you can go with the N900 only (as I almost always do: takes a bit more time, but more fun ...): sqlite3 /home/user/.agtl/caches.db About your other problems, I dunno know, but my problems derived from (just guessing here, needs to check/compare old and new caches.db, but this time on PC :)) database table structure changes. Did you use the git version and the 0.8.0.7 version at the same time or close to each other? Using the git or newly released version changes your table structure. And using the old program may screw, as it may use a fixed "hardcoded" table structure. And webhamster changed table structure from old version to one of the git versions and again to the latest layout. But again, just guessing here. For me it worked. I had made a backup of DB and played with that, until everything was fine. I would copy back your latest DB (using 0.8.0.5/7) and just start new version (agtl will convert just fine). If the problem was not already in the backup, you should at least go without errors from that status. I'm afraid, I can't help you more. |
Re: [Announce] Advanced Geocaching Tool
New AGTL seems to be working nicely, thanks!
I still needed to add in the power optimizations though (peterleinchen's method for the screen off detection works nice) to get the background cpu usage down to good levels. I also wanted to have JPEG satellite image maps support, but only PNG images are currently supported. It turned out it was quite easy to add jpeg support, I did the following to _load_tile in gtkmap.py: Code:
@staticmethod |
All times are GMT. The time now is 13:34. |
vBulletin® Version 3.8.8