View Single Post
shazosbourne's Avatar
Posts: 257 | Thanked: 205 times | Joined on Jan 2010 @ Sydney, Australia
#316
Whenever I try to sync with my calendar I get:
A programming error has been detected during the execution of the program.
Then I have to quit.
The error in the "details" is below.
Am I doing something wrong?
Thanks for your work on this btw.

Code:
Traceback (most recent call last):
  File "/usr/bin/erminig", line 146, sync_all_profiles(widget=<gtk.ToolButton object at 0x40811698 (GtkToolButton at 0x4aa1d8)>, data=<hildon.StackableWindow object at 0x40811cb0 (HildonStackableWindow at 0x43f060)>)
        id = i[0]
        do_profile_sync(id, data)
  variables: {'data': ('local', <hildon.StackableWindow object at 0x40811cb0 (HildonStackableWindow at 0x43f060)>), 'id': ('local', 1), 'do_profile_sync': ('global', <function do_profile_sync at 0x40bb3070>)}
  File "/usr/bin/erminig", line 97, do_profile_sync(id=1, data=<hildon.StackableWindow object at 0x40811cb0 (HildonStackableWindow at 0x43f060)>)
      google_api.switch_account(
          google_accounts.get_account_by_id(profile['remoteAccountId']))
  variables: {'profile': ('local', {'lastUpdate': 0, 'direction': 0, 'lastLocalUpdate': 0, 'remoteSourceTitle': None, 'remoteAccountId': None, 'enabled': 1, 'localSource': u'0', 'remoteSource': u'0', 'localSourceTitle': None, 'id': 1}), 'google_accounts.get_account_by_id': ('global', <function get_account_by_id at 0x4076ce70>)}
  File "/usr/share/erminig/google_accounts.py", line 64, get_account_by_id(id=None)
          "WHERE id = ?", (id,))
      row = dblayer.getRows(cur)[0]
      return (row['username'], row['password'], id)
  variables: {'dblayer.getRows': ('global', <function getRows at 0x4076ccf0>), 'cur': ('local', <sqlite3.Cursor object at 0x40773080>), 'row': (None, None)}
IndexError: list index out of range