Thread: [Fremantle Maemo5] [Announce] Advanced Geocaching Tool
View Single Post
Posts: 5 | Thanked: 5 times | Joined on Jan 2010 @ Athens, Greece / Edinburgh, Scotland
#49
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.
 

The Following User Says Thank You to alexios For This Useful Post: