maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [M5] [Announce] Advanced Geocaching Tool (https://talk.maemo.org/showthread.php?t=48036)

webhamster 2010-03-22 18:53

[Announce] Advanced Geocaching Tool
 
The Advanced Geocaching Tool for Linux is now available for testing in extras-devel.

AGTL makes geocaching paperless! It downloads cache locations in the area visible on the map including their description, hints, difficulty levels and images. Searching for caches in your local db is a matter of seconds.

The wiki page contains detailed instructions for installation: http://wiki.maemo.org/Geocaching#Geocaching_with_AGTL.

There's also a quick start guide which contains information for your first steps.

See more screenshots at http://danielfett.de/internet-und-op...-on-maemo-n900 .

Please report bugs at http://github.com/webhamster/advancedcaching

http://danielfett.de/images/agtlm/screenshot-map.png
http://danielfett.de/images/agtlm/screenshot-gps.png
http://danielfett.de/images/agtlm/sc...oordinates.png
http://danielfett.de/images/agtlm/sc...etails-4-3.png
http://danielfett.de/images/agtlm/sc...-details-1.png

hawaii 2010-03-22 19:34

Re: [Announce] Advanced Geocaching Tool
 
Sweet! Gonna test it out later tonight!

Antti 2010-03-22 19:39

Re: [Announce] Advanced Geocaching Tool
 
I just registered here to say thanks!

I'll be testing this out too, hopefully very soon.

mrlanrat 2010-03-22 19:44

Re: [Announce] Advanced Geocaching Tool
 
Could this be compiled for the N810 too?
It looks great!

fnordianslip 2010-03-22 19:46

Re: [Announce] Advanced Geocaching Tool
 
Cool. Sorry to moan, but there's a typo in "Accurancy" :)

raily 2010-03-22 20:07

Re: [Announce] Advanced Geocaching Tool
 
Can I use the geocaching.com functions in AGTL without a premium account?

webhamster 2010-03-22 20:40

Re: [Announce] Advanced Geocaching Tool
 
Quote:

Originally Posted by raily (Post 577738)
Can I use the geocaching.com functions in AGTL without a premium account?

Depends on the features. The best is to try it for yourself.

webhamster 2010-03-22 20:42

Re: [Announce] Advanced Geocaching Tool
 
Quote:

Originally Posted by fnordianslip (Post 577709)
Cool. Sorry to moan, but there's a typo in "Accurancy" :)

Thanks! Fixed for the next release.

hawaii 2010-03-22 23:08

Re: [Announce] Advanced Geocaching Tool
 
Quote:

Originally Posted by raily (Post 577738)
Can I use the geocaching.com functions in AGTL without a premium account?

Yes you can. Works fine. I've had an account for years, and haven't bothered to go premium.

raily 2010-03-22 23:33

Re: [Announce] Advanced Geocaching Tool
 
Quote:

Originally Posted by hawaii (Post 577967)
Yes you can. Works fine. I've had an account for years, and haven't bothered to go premium.

You cannot download the gpx file of a cach for example when you go to geocaching.com without premium acc. So I was curious if it works with AGTL

Jaco2k 2010-03-22 23:43

Re: [Announce] Advanced Geocaching Tool
 
sort by proximity to current location?
option to goto current location on map? for me it started by default on luxembourg and had to manually go to my location...

microe 2010-03-22 23:44

Re: [Announce] Advanced Geocaching Tool
 
Man another reason to replace my N810. FWIW, gpxview works pretty well on diablo.

hawaii 2010-03-22 23:54

Re: [Announce] Advanced Geocaching Tool
 
GPXView + GeoToad works great on the N900. I love using it to pre-load stuff.

webhamster 2010-03-23 07:05

Re: [Announce] Advanced Geocaching Tool
 
Quote:

Originally Posted by Jaco2k (Post 578003)
sort by proximity to current location?
option to goto current location on map? for me it started by default on luxembourg and had to manually go to my location...

Sorting by proximity should be easy. Looking into it for the next release.

By default it shows the last location at startup. Just check the "track" checkbox to see where you are.

webhamster 2010-03-23 07:07

Re: [Announce] Advanced Geocaching Tool
 
Quote:

Originally Posted by raily (Post 577998)
You cannot download the gpx file of a cach for example when you go to geocaching.com without premium acc. So I was curious if it works with AGTL

you can already do this from the command line of agtl. It should be a matter of minutes to integrate this feature with the GUI. I'll do it for the next release.

webhamster 2010-03-23 08:58

Re: [Announce] Advanced Geocaching Tool
 
Quote:

Originally Posted by mrlanrat (Post 577705)
Could this be compiled for the N810 too?
It looks great!

As it is written in Python, it may run out of the box if all dependencies are met. The dependencies are listed here.

debrezdiener 2010-03-23 09:29

Re: [Announce] Advanced Geocaching Tool
 
Wow,

I installed AGTL and will definetly do my next caches with it. It is very comfortable to choose and access all caches directly from the map.

And the calculate feature seems to be very nice.

Cache Access works fine with my premium membership.
Does the application use the gpx-files ?

Regards debrez

baergaj 2010-04-04 01:51

Re: [Announce] Advanced Geocaching Tool
 
Many thanks for this!

The only problem I am having is that the program locks up whenever I try to download cache details. Anyone else having the same problem? Do I need a premium membership?

baergaj 2010-04-04 04:22

Re: [Announce] Advanced Geocaching Tool
 
Quote:

Originally Posted by baergaj (Post 594467)
Many thanks for this!

The only problem I am having is that the program locks up whenever I try to download cache details. Anyone else having the same problem? Do I need a premium membership?

This problem could be related to the recent changes to geocaching.com. Geotoad has already dealt with it...

http://code.google.com/p/geotoad/issues/detail?id=95

gregc2009 2010-04-06 16:26

Re: [Announce] Advanced Geocaching Tool
 
I have never been able to get cache details (NW USA). I get:
'NoneType' object has no attribute 'group'

Other than that, it is a pretty nice program! (Though having imperial units of measure would be nice)

raily 2010-04-08 06:09

Re: [Announce] Advanced Geocaching Tool
 
It was possible to get cache details. Maybe geocaching.com changed their website ase baergaj already said.

webhamster 2010-04-10 07:45

Re: [Announce] Advanced Geocaching Tool
 
Quote:

Originally Posted by gregc2009 (Post 597920)
I have never been able to get cache details (NW USA). I get:
'NoneType' object has no attribute 'group'

Other than that, it is a pretty nice program! (Though having imperial units of measure would be nice)

Hi!
I just published an update for the application (see here). If you had filed this bug at the bugtracker, as mentioned in my first post, I would have been able to help you faster :-)
But no problem, however you discovered a bug affecting all users in the southern or western hemisphere (negative latitude/longitude).

bjknight 2010-04-10 07:57

Re: [Announce] Advanced Geocaching Tool
 
This used to work well for me but now it will not load the map tiles. It was after the last FW update. I presume a package is missing. What are the dependencies for the mapping side of it?

webhamster 2010-04-10 08:09

Re: [Announce] Advanced Geocaching Tool
 
I have no idea what could be missing. But you can help me debugging if you open a terminal and type

python2.5 /opt/advancedcaching/core.py --hildon > debug.log 2>&1

It should produce a file "debug.log" while you are running the application. You can then post the file here or send it via e-mail to advancedcaching (at) fragcom (dot) de.

bjknight 2010-04-10 08:20

Re: [Announce] Advanced Geocaching Tool
 
Will do. Just at the EPL Playoffs in Coventry at the moment. Will be livecasting from the N900 all weekend. Should be interesting.

I'll do the file as soon as I get a chance.

gregc2009 2010-04-11 14:14

Re: [Announce] Advanced Geocaching Tool
 
Quote:

Originally Posted by webhamster (Post 603879)
Hi!
I just published an update for the application (see here). If you had filed this bug at the bugtracker, as mentioned in my first post, I would have been able to help you faster :-)
But no problem, however you discovered a bug affecting all users in the southern or western hemisphere (negative latitude/longitude).

Thank you for the update. It works geat. Was out with caching nearly all day yesterday. Having those discriptions really help! I should have known to use the bugtracker. My apologies.

webhamster 2010-04-12 08:17

Re: [Announce] Advanced Geocaching Tool
 
Version 0.5.2 is finally in the repositories and we have new discussion thread.

bjknight 2010-04-13 22:20

Re: [Announce] Advanced Geocaching Tool
 
Ok. Was playing around some more with it. Seems the maps weren't displaying because I was somehow off the defined map area. Not quite sure how that came about but I used an existing downloaded cache and set it as target. Then I went to Show Current Target and selected it. I was then able to see map again rather than just "Cannot display map" tiles.

All appears to be well.

Thanks :-)

silvermountain 2010-04-28 14:10

Re: [Announce] Advanced Geocaching Tool
 
Quote:

Originally Posted by webhamster (Post 578333)
As it is written in Python, it may run out of the box if all dependencies are met. The dependencies are listed here.

Has anyone tried to run this on Diablo?
It looks like a pretty GPXView on steroids (which is a good thing!).

webhamster 2010-04-29 09:14

Re: [Announce] Advanced Geocaching Tool
 
Quote:

Originally Posted by bjknight (Post 609442)
Ok. Was playing around some more with it. Seems the maps weren't displaying because I was somehow off the defined map area. Not quite sure how that came about but I used an existing downloaded cache and set it as target. Then I went to Show Current Target and selected it. I was then able to see map again rather than just "Cannot display map" tiles.

All appears to be well.

Thanks :-)

This will be fixed for the next version.

webhamster 2010-05-10 10:06

Re: [Announce] Advanced Geocaching Tool
 
I started a blog series about upcoming features in AGTL and Python/PyGTL development on Maemo: http://www.danielfett.de/privat,blog,tag?tag=maemo

webhamster 2010-05-11 13:39

Re: [Announce] Advanced Geocaching Tool
 
Version 0.6.0 hast just been uploaded to extras-devel. See the full changelog here.

New features include:
* Sun Indicator. Because the N900 doesn't have a built in magnet compass, the display for the direction to the geocache is not always accurate, especially when one is not moving. Therefore, there's a small sun icon in the compass view. If you align the "real" sun with the icon, the direction to the geocache is correct, even when standing still.
* Better Coordinate Input. I played around with various coordinate input alternatives and found that the best one is the one from the legacy AGTL.
* Variable map size. As requested by a lot of users, you can now have the map displayed in double size to increase readability. It looks ugly, though.

And many more.

elinap 2010-05-12 09:36

Re: [Announce] Advanced Geocaching Tool
 
I installed on N900, created an account, created a shortcut on desktop.

When I click on the icon, the applications starts "loading", then quits. Even after a few times, and after switching off and restarting the N900.

Any suggestions on how to deal with this?

Thanks.

Fecn 2010-05-12 09:51

Re: [Announce] Advanced Geocaching Tool
 
Thanks for the update webhamster. I just installed it.... but...

Seems that I have the same problems as elinap.

I tried running it on the command line (python core.py --hildon) to see what it was doing, but all it says is

'Segmentation Fault'

Tried restarting the phone.. turned off overclocking etc... no change.

Fecn 2010-05-12 11:29

Re: [Announce] Advanced Geocaching Tool
 
Sixth time lucky.... I didn't change anything, but AGTL just started up OK for me. No segfault this time. How odd.

Icons for zoom in and zoom out seem to be corrupted/missing now.. but the buttons still work ok.

webhamster 2010-05-12 12:55

Re: [Announce] Advanced Geocaching Tool
 
Hm... this bug is hard to debug, but did you try the following?

Open xterm
root
rm /opt/advancedcaching/*.pyo

Fecn 2010-05-12 13:15

Re: [Announce] Advanced Geocaching Tool
 
Just tried removing all the .pyo files.... Now I'm back to segfault instead of working app.

I tried starting 10 times in a row... segfault every time. ... didn't seem to be compiling new .pyo files...

rebooted

Tried starting from console 10 times in a row... segfault every time, but noticed that it now seemed to be creating new pyo files.

Deleted all .pyo files (again)

Tried running from console... This time it gave me an error about sqlite3 unable to open database file.

Tried starting it from the desktop again.... Hey presto.. it worked (zoom button images still broken though).

Very very odd behaviour... I don't undertsand what's going on here.

webhamster 2010-05-12 13:33

Re: [Announce] Advanced Geocaching Tool
 
Very odd, indeed. Had the same problem here and now I'm trying to figure out what goes wrong.

alexios 2010-05-12 13:52

Re: [Announce] Advanced Geocaching Tool
 
Just to add some information so it's in-band (original conversation on Twitter, as @vincula):

I've had the same issue, but in my case, the segmentation faults are 100% deterministic.

I tried from the console, running with:

Code:

python2.5 /opt/advancedcaching/core.py --hildon
This coincides with how the .desktop file (/usr/share/applications/hildon/advancedcaching.desktop) executes the program.

I removed the .pyo files, with no change. I tried (half-heartedly) to cause a core dump with no luck, and also realised there's no strace/ltrace package. Around that time I gave up as it had been a very long day already.

I'm available if you want to have me try any experiments. I'm not a Python virgin, and, intuitively, this seems like a Python (or related bindings/library) issue, not a AGTL issue. You shouldn't be able to cause a segmentation fault of the Python interpreter, no matter how bad the code.

webhamster 2010-05-12 14:29

Re: [Announce] Advanced Geocaching Tool
 
Quote:

Originally Posted by alexios (Post 655206)
I'm available if you want to have me try any experiments. I'm not a Python virgin, and, intuitively, this seems like a Python (or related bindings/library) issue, not a AGTL issue. You shouldn't be able to cause a segmentation fault of the Python interpreter, no matter how bad the code.

You are absolutely right. I think I found the bug, but did not analyze what was the real issue. I used a mixin at some point in the code and this caused the segmentation fault. To get rid of the bug, I switched to a static class now.

Preparing a 0.6.1 release, will upload it any moment now.


All times are GMT. The time now is 07:33.

vBulletin® Version 3.8.8