danielfett/advancedcaching

N900: ./core.py sql should show manual, now it is crashing

Closed this issue · 0 comments

aapo commented

Maemo5: agtl-0.9.1.2
To get more information, run "./core.py sql".

./core.py sql:

Table structure for geocaches:
Traceback (most recent call last):
  File "./core.py", line 1115, in <module>
    start()
  File "./core.py", line 1065, in start
    Core(gui, gps, extensions)
  File "./core.py", line 243, in __init__
    self.gui.show()
  File "/opt/agtl-maemo/cli.py", line 191, in show
    self.parse_input()
  File "/opt/agtl-maemo/cli.py", line 224, in parse_input
    self.parse_sql()
  File "/opt/agtl-maemo/cli.py", line 298, in parse_sql
    print "\t".join([str(x) for x in row])
TypeError: 'sqlite3.Row' object is not iterable

Is this for newer python than we have in Maemo5 (Python 2.5.4)?