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-07-02 11:46

Re: [Announce] Advanced Geocaching Tool
 
Please try the following if you can't get a fix:

Edit the file /opt/advancedcaching/simplegui.py (for example on the device using vi and root). Change the line 513 from:
sun_angle = astral.get_sun_azimuth_from_fix(self.gps_data)
to
sun_angle = None
(please double check that the number of spaces in front of the text doesn't change)

The sun indicator should now be missing, but the rest should work. If not, please report any further problems as described above.

If the application doesn't start, there went something wrong while changing the file.

Fecn 2010-07-02 14:22

Re: [Announce] Advanced Geocaching Tool
 
Hi webhamster. Thanks for your continuing support for AGTL - It is great.

I just took the latest version (0.6.1.4-4) out for a spin in my local area, introducing my mum to the world of Geocaching. We struggled a bit as it seems that there's a problem with setting the target GPS co-ordinates now. Neither 'set as target' or 'set as main coordinate' seem to do anything. Clicking on the targets from within the 'charge target' GPS dialog also fails, though typing them in manually is still OK (so we managed to find the caches we were looking for) :)

jwernerny 2010-07-02 19:10

Re: [Announce] Advanced Geocaching Tool
 
This sounds like a great program, I wish there was a Diablo / n810 build of it.

tskagemo 2010-07-02 20:39

Re: [Announce] Advanced Geocaching Tool
 
Quote:

Originally Posted by webhamster (Post 738470)
Please try the following if you can't get a fix:
Edit the file /opt/advancedcaching/simplegui.py (for example on the device using vi and root). Change the line 513 from:
sun_angle = astral.get_sun_azimuth_from_fix(self.gps_data)
to
sun_angle = None
(please double check that the number of spaces in front of the text doesn't change)

Did the change. Editing files on a phone in vi is .... special :)
Now it works ! Thanks for great support.
Have green arrow and distance to geocache.
-Tommy

webhamster 2010-07-03 08:45

Re: [Announce] Advanced Geocaching Tool
 
Quote:

Originally Posted by tskagemo (Post 738994)
Did the change. Editing files on a phone in vi is .... special :)
Now it works ! Thanks for great support.
Have green arrow and distance to geocache.
-Tommy

Great, I'll make a build with this bug fix soon.

webhamster 2010-07-03 08:47

Re: [Announce] Advanced Geocaching Tool
 
Quote:

Originally Posted by jwernerny (Post 738909)
This sounds like a great program, I wish there was a Diablo / n810 build of it.

As the application is written in pure python, you can try installing the .deb-file directly. You can download it from here.

However, I don't think that Diablo meets all necessary dependencies.

webhamster 2010-07-03 09:09

Re: [Announce] Advanced Geocaching Tool
 
Quote:

Originally Posted by Fecn (Post 738634)
Hi webhamster. Thanks for your continuing support for AGTL - It is great.

I just took the latest version (0.6.1.4-4) out for a spin in my local area, introducing my mum to the world of Geocaching. We struggled a bit as it seems that there's a problem with setting the target GPS co-ordinates now. Neither 'set as target' or 'set as main coordinate' seem to do anything. Clicking on the targets from within the 'charge target' GPS dialog also fails, though typing them in manually is still OK (so we managed to find the caches we were looking for) :)

I'd like to fix this bug. Can you please follow this instructions to give me a log file?
- Open xterm (press ctrl+shift+x)
- Type python2.5 /opt/advancedcaching/core.py --hildon > MyDocs/debug.log 2>&1
- The application starts. Use it and try to reproduce the error.
- Close the application.

This should create a file "debug.log" which will probably contain useful information for me. So please send it to me, either by posting it here or via e-mail.

Thanks!

Fecn 2010-07-03 13:39

Re: [Announce] Advanced Geocaching Tool
 
Hi Webhamster... Debug log as requested. I started the app, selected a cache, then tried to set the target a few times in a few different ways, and then quit.

Code:

~ $ cat MyDocs/debug.log
/opt/advancedcaching/simplegui.py:544: DeprecationWarning: integer argument expected, got float
  self.pixmap_arrow.draw_arc(self.xgc_arrow, False, center_x - ecc, center_y - ecc, ecc * 2, ecc * 2, err_start, err_delta)
/opt/advancedcaching/simplegui.py:675: DeprecationWarning: integer argument expected, got float
  self.pixmap, -self.draw_at_x + self.drag_offset_x - self.draw_root_x, -self.draw_at_y + self.drag_offset_y - self.draw_root_y, 0, 0, width, height)
Please install glade if you're NOT on the maemo platform.
+ Using liblocation GPS device
Traceback (most recent call last):
  File "/opt/advancedcaching/hildongui.py", line 958, in set_alternative_position
    widget_coords.get_selected(0, iter)
TypeError: HildonTouchSelector.get_selected() takes exactly 1 argument (2 given)
Traceback (most recent call last):
  File "/opt/advancedcaching/hildongui.py", line 958, in set_alternative_position
    widget_coords.get_selected(0, iter)
TypeError: HildonTouchSelector.get_selected() takes exactly 1 argument (2 given)
Traceback (most recent call last):
  File "/opt/advancedcaching/hildongui.py", line 947, in set_coord_as_target
    widget_coords.get_selected(0, iter)
TypeError: HildonTouchSelector.get_selected() takes exactly 1 argument (2 given)
Traceback (most recent call last):
  File "/opt/advancedcaching/hildongui.py", line 958, in set_alternative_position
    widget_coords.get_selected(0, iter)
TypeError: HildonTouchSelector.get_selected() takes exactly 1 argument (2 given)
Traceback (most recent call last):
  File "/opt/advancedcaching/hildongui.py", line 958, in set_alternative_position
    widget_coords.get_selected(0, iter)
TypeError: HildonTouchSelector.get_selected() takes exactly 1 argument (2 given)
Traceback (most recent call last):
  File "/opt/advancedcaching/hildongui.py", line 947, in set_coord_as_target
    widget_coords.get_selected(0, iter)
TypeError: HildonTouchSelector.get_selected() takes exactly 1 argument (2 given)
Traceback (most recent call last):
  File "/opt/advancedcaching/hildongui.py", line 947, in set_coord_as_target
    widget_coords.get_selected(0, iter)
TypeError: HildonTouchSelector.get_selected() takes exactly 1 argument (2 given)
Traceback (most recent call last):
  File "/opt/advancedcaching/hildongui.py", line 701, in sel_coord
    widget.get_selected(0, iter)
TypeError: HildonTouchSelector.get_selected() takes exactly 1 argument (2 given)
Traceback (most recent call last):
  File "/opt/advancedcaching/hildongui.py", line 701, in sel_coord
    widget.get_selected(0, iter)
TypeError: HildonTouchSelector.get_selected() takes exactly 1 argument (2 given)
~ $


tobru 2010-07-03 14:25

Re: [Announce] Advanced Geocaching Tool
 
Hi,

Just to say: I have the same problem as Fecn and others. It's not possible anymore to select a target.

I just downloaded a development snapshot from Github to have a short look at the next version and I have to say it looks very interesting. It's under heavy development as I can see. So many things do not work at this time (f.e. no caches are shown on the map). I'm looking forward for this new release, I hope it's ready soon =)

Thanks a lot for your development, it makes Geocaching much easier with such a great tool!

Regards,
Tobias

webhamster 2010-07-04 17:38

Re: [Announce] Advanced Geocaching Tool
 
Version 0.6.1.5 is in extras-devel, ready for you to check it out!
Fixing:
- fieldnotes uploading
- sun indicator/no fix problem
- coordinate selection problem.


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

vBulletin® Version 3.8.8