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)

peacekeper 2010-05-12 14:40

Re: [Announce] Advanced Geocaching Tool
 
i can not see the app in the repo. what can i do? i am interesting on getting the app.

webhamster 2010-05-12 14:46

Re: [Announce] Advanced Geocaching Tool
 
The application is in extras-devel. Do you have that repository enabled?

peacekeper 2010-05-12 15:06

Re: [Announce] Advanced Geocaching Tool
 
yes i have the repo enable, and i am running PRI.2 but i can't see the app, any clue?

webhamster 2010-05-12 15:13

Re: [Announce] Advanced Geocaching Tool
 
Erm, I have no idea. Do you have it already installed? :-)

Version 0.6.1 is waiting to be uploaded.... see here.

peacekeper 2010-05-12 15:17

Re: [Announce] Advanced Geocaching Tool
 
well, i downloaded since i dont see the it in the repo, i downloaded through the computer and then i put on a folder inside the phone, then i tried to run it from there but nothing, first of all it says that i need the OPERA REPOSITORY enable so i dont know what to do. maybe later i can do something, thks for u help.

elinap 2010-05-12 15:29

Re: [Announce] Advanced Geocaching Tool
 
Quote:

Originally Posted by webhamster (Post 655137)
Hm... this bug is hard to debug, but did you try the following?

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

Just perhaps a note/question, because the above was not clear to me:
- to run as root need to install rootsh
- then in xterminal enter sudo gainroot

After this the shell becomes a root shell.

Is the above right?

On webhamster last posting: waiting to try the modified AGTL.
Thanks.

elinap 2010-05-12 15:48

Re: [Announce] Advanced Geocaching Tool
 
Just tried the uploaded version 0.6.1 and the same problem continues.
Uninstalled 0.6.0, then installed 0.6.1. Put a shortcut on the desktop.

When clicking on the desktop icon, it starts running then after a few seconds quits.

webhamster 2010-05-12 17:01

Re: [Announce] Advanced Geocaching Tool
 
Quote:

Originally Posted by elinap (Post 655313)
Just perhaps a note/question, because the above was not clear to me:
- to run as root need to install rootsh
- then in xterminal enter sudo gainroot

After this the shell becomes a root shell.

Is the above right?

On webhamster last posting: waiting to try the modified AGTL.
Thanks.

Yes, that is right, although to become root I only need to type "root".

alexios 2010-05-12 17:47

Re: [Announce] Advanced Geocaching Tool
 
I downloaded 0.6.1-0, and I have good news, bad news and more good news.

Good news 1: the segfault has indeed gone away. Running:

Code:

python2.5 /opt/advancedcaching/core.py
now works as it should be, issuing help messages etc. No segfault!

Bad news: the Hildon application doesn't start up: it issues this traceback (non Pythonistas, please excuse the horror that is to follow):

Code:

Traceback (most recent call last):
  File "core.py", line 696, in <module>
    start()
  File "core.py", line 693, in start
    Core(gui, determine_path())
  File "core.py", line 264, in __init__
    self.pointprovider = provider.PointProvider(self.CACHES_DB, self.downloader, geocaching.GeocacheCoordinate, 'geocaches')
  File "/home/opt/advancedcaching/provider.py", line 14, in __init__
    self.conn = connect(filename)
sqlite3.OperationalError: unable to open database file
Exception exceptions.AttributeError: "PointProvider instance has no attribute 'conn'" in <bound method PointProvider.__del__ of <provider.PointProvider instance at 0x412584e0>> ignored
Exception exceptions.AttributeError: "'Core' object has no attribute 'gui'" in <bound method Core.__del__ of <Core object at 0x41258490 (__main__+Core at 0x267950)>> ignored

Good news 2: I did this:

Code:

mkdir ~/.agtl
And then it worked fine (from the xterm as well as the menus)! Not creating the directory is an easy mistake to make, I guess. And difficult to debug on the development box.

Nathraiben 2010-05-12 19:58

Re: [Announce] Advanced Geocaching Tool
 
Thanks a lot, alexios! Creating the directory worked like a charm, I can finally start my version 0.6.1-0 now.


All times are GMT. The time now is 00:17.

vBulletin® Version 3.8.8