Comment 2 for bug 659652

Revision history for this message
Raul (heroca66) wrote :

anybody do the following:
- Add a new account without movement.
- I left the program.

trying to re-enter the program no longer starts

I welcome your comments.

thanks.

Loading /home/raul/.local/share/wxbanker/bank.db
{u'MintEnabled': u'0', u'VERSION': 9, u'LastAccountId': u'3'}
Making backup to /home/raul/.local/share/wxbanker/bank.db.backup-v9-2010-10-15
Upgrading db from 9
Traceback (most recent call last):
  File "/usr/bin/wxbanker", line 3, in <module>
    main()
  File "/usr/lib/python2.6/dist-packages/wxbanker/main.py", line 248, in main
    app = init()
  File "/usr/lib/python2.6/dist-packages/wxbanker/main.py", line 223, in init
    bankController = Controller(path)
  File "/usr/lib/python2.6/dist-packages/wxbanker/controller.py", line 162, in __init__
    self.LoadPath(path, use=True)
  File "/usr/lib/python2.6/dist-packages/wxbanker/controller.py", line 255, in LoadPath
    store = PersistentStore(path)
  File "/usr/lib/python2.6/dist-packages/wxbanker/persistentstore.py", line 87, in __init__
    self.upgradeDb(self.Meta['VERSION'], backup=existed)
  File "/usr/lib/python2.6/dist-packages/wxbanker/persistentstore.py", line 282, in upgradeDb
    cursor.execute('ALTER TABLE accounts ADD mintId INTEGER')
sqlite3.OperationalError: duplicate column name: mintId