I upgraded to OSX Lion yesterday but had to rollback my OS because too many applications were broken.
Upon finishing the rollback and attempting to launch bitcoin, I get the following errors:
- Bitcoin
EXCEPTION: 11DbException
Db::open: Invalid Argument
bitcoin in AppInit()
And
- Bitcoin
EXCEPTION: 11DbException
Db::open Invalid argument
bitcion in CMyApp::OnUnhandledException()
Those are both pop-up windows.
My ~/Library/Application Support/Bitcoin folder is as follows:
ironcross:Bitcoin sk$ ls -al
total 1210960
drwx------ 17 sk staff 578 Jul 21 09:05 .
drwx------+ 53 sk staff 1802 Jul 19 15:00 ..
-rw-------@ 1 sk staff 6148 Jul 21 08:58 .DS_Store
-rw------- 1 sk staff 0 Jun 2 09:06 .lock
-rw------- 1 sk staff 24576 Jul 21 09:05 __db.001
-rw------- 1 sk staff 598016 Jul 21 09:05 __db.002
-rw------- 1 sk staff 270336 Jul 21 09:05 __db.003
-rw------- 1 sk staff 163840 Jul 21 09:05 __db.004
-rw------- 1 sk staff 6307840 Jul 21 09:05 __db.005
-rw------- 1 sk staff 49152 Jul 21 09:05 __db.006
-rw------- 1 sk staff 16068608 Jul 20 07:27 addr.dat
-rw------- 1 sk staff 409669784 Jul 20 07:16 blk0001.dat
-rw------- 1 sk staff 183726080 Jul 20 07:16 blkindex.dat
drwx------ 14 sk staff 476 Jul 20 02:29 database
-rw------- 1 sk staff 3609 Jul 21 09:05 db.log
-rw------- 1 sk staff 2968717 Jul 21 09:06 debug.log
-rw------- 1 sk staff 147456 Jul 20 07:16 wallet.dat
Any ideas what could be wrong? I'm thinking the backup version I rolled back was created while bitcoin was running and thus saved the wallet.dat in a bad state? I use time capsule + time machine for automated backups...?