#76 gcget does not work

closed-fixed
nobody
Interface (19)
5
2012-05-17
2011-05-02
No

The gcget does not work.
I see the content from the html page.

I don't find the bug in the source.

ClientForm is now in the mechanize project. (saw on the website)

Discussion

  • Rob Norris

    Rob Norris - 2011-05-10

    Confirmed gcget no longer works.

    Geocaching have changed their website:
    http://blog.geocaching.com/2011/05/preview-of-geocaching-com-may-4th-website-release/

    Thus the script does not handle the new layout.

    So far this diff gets html with the new 'sign in' method.

    106c107
    < b.follow_link(text="Log in")
    ---
    > #b.follow_link(text="Log in")
    109,110c110,111
    < b["ctl00$ContentBody$myUsername"] = USER
    < b["ctl00$ContentBody$myPassword"] = PASS
    ---
    > b["ctl00$tbUsername"] = USER
    > b["ctl00$tbPassword"] = PASS

    I might be able to fix it given time to understand the mechanize process and the html returned, as I don't know how to get to the individual cache pages yet.

    I never used the gcget before or geocaching much so it will be a learning experience.

    One day it might be nice to invoke the script directly from within Viking for the given view.....

     
  • Rob Norris

    Rob Norris - 2011-05-18

    Re; One day it might be nice to invoke the script directly from within Viking...

    Actually it already can be (see file datasource_gc.c) with the following provisos:
    . You build from source and use the --enable-geocaches option.
    By default this is not turned on (although the Debian distribution does)
    . You edit the preferences to put in your geocaching.com details**
    . You put the gcget script in your path.
    (Debian doesn't package it though!)
    . You have python installed - (less likely on a Windows machine)

    Thus I feel more motivated to try to fix it :)
    If I fix it, I will make it better to be packaged as part of Viking:
    . rename it to viking-gcget
    . make a minimal man page for it

    **Note the password is passed to a command line script, and so will be visible to any other users of the machine at the time of running the command. Similarly to the OSM details, they are stored on disk unencrypted - just user read only.

     
  • Rob Norris

    Rob Norris - 2011-05-25
    • status: open --> open-remind
     
  • Rob Norris

    Rob Norris - 2011-10-02
    • status: open-remind --> pending-fixed
     
  • Rob Norris

    Rob Norris - 2011-10-02

    A bit late for 1.2 release but now in the mainline.

     
  • Rob Norris

    Rob Norris - 2012-05-17
    • status: pending-fixed --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks