BitShares Forum
Main => Technical Support => Topic started by: abilger on August 28, 2014, 11:00:32 am
-
I get this issue repeatedly, using BitShares-X 0.4.8a, on Windows 7 64-bit.
The symptoms:
1) When pressing 'create wallet' after entering two matching passwords, a box very briefly pops up over the password and button area with 1 to 3 dots it in, then disappears.
2) The UI remains at the 'create wallet' screen, and does the same thing repeatedly if 'create wallet' is pressed again.
3) If I File/Exit BitShares-X and restart it, it will instead ask me for a password instead of to create a wallet. It will always say 'wrong password' to the password used above.
4) It is necessary to delete files under \users\<myname>\appdata\roaming\bitshares x\wallets in order to get out of the bad state in #3. This returns to bad state #1.
The 'create wallet' *does* create files in \users\<myname>\appdata\roaming\bitshares x\wallets that were not there before. But it is not a valid wallet, as evidenced in behavior in #3.
Running as admin and/or in Windows XP SP3 compatibility mode does not affect the behavior. Rebooting, uninstalling/reinstalling does not affect the behavior. I've retried step #1 with different passwords of different complexity, which also does not affect behavior.
This issue has been reported before, e.g.:
https://bitsharestalk.org/index.php?topic=7494.0
That sounds like the identical issue, and that the same situation just randomly started working but the issue was never researched or resolved. It's still failing consistently for me in the same way over multiple days.
There are some suspicious errors in the log, but it's not clear what they mean. I've copied below the cleanest default.log possible (after clean reinstall, with \users\<myname>\appdata\roaming\bitshares x not yet existing, just attempt to create wallet once then exit). Pressing the button more times would result in more logs that are straightforward errors that wallet_create already things the wallet exists.
Please help resolve this. Let me know if there's any more info that would be helpful. Thanks.
Aaron
--- logs\default\default.log contents ---
20140827T163359.655273 bitshares open ] error opening database chain_database.cpp:1102
20140827T163402.606445 th_a log_message ] Message from GUI: rpc error: In method 'wallet_list_accounts': The wallet must be opened before executing this command (0)
The wallet must be open before executing this command
(500) Utilities.cpp:28
20140827T163402.620117 th_a log_message ] Message from GUI: rpc error: In method 'get_info': Assert Exception (10)
is_open(): Database is not open!
error fetching key 6
(500) Utilities.cpp:28
20140827T163402.634765 th_a log_message ] Message from GUI: rpc error: In method 'blockchain_list_assets': Assert Exception (10)
is_open(): Database is not open!
error finding
(500) Utilities.cpp:28
20140827T163402.691406 th_a log_message ] Message from GUI: rpc error: In method 'blockchain_list_assets': Assert Exception (10)
is_open(): Database is not open!
error finding
(500) Utilities.cpp:28
20140827T163402.797851 th_a log_message ] Message from GUI: rpc error: In method 'wallet_open': wallet does not exist (20004)
No such wallet exists!
(500) Utilities.cpp:28
20140827T163402.898437 th_a log_message ] Message from GUI: rpc error: In method 'wallet_open': wallet does not exist (20004)
No such wallet exists!
(500) Utilities.cpp:28
20140827T163402.905273 th_a log_message ] Message from GUI: rpc error: In method 'wallet_open': wallet does not exist (20004)
No such wallet exists!
(500) Utilities.cpp:28
20140827T163402.908203 th_a log_message ] Message from GUI: js erorr: null is not an object (evaluating 'a.id')
populate_asset_record@http://127.0.0.1:18828/js/app.js:28:47131
? http://127.0.0.1:18828/js/app.js:28:47632
? j@http://127.0.0.1:18828/js/app.js:6:41826
? http://127.0.0.1:18828/js/app.js:6:28594
? $eval@http://127.0.0.1:18828/js/app.js:6:50482
? $digest@http://127.0.0.1:18828/js/app.js:6:49191
? $apply@http://127.0.0.1:18828/js/app.js:6:50808
? f@http://127.0.0.1:18828/js/app.js:6:694
? r@http://127.0.0.1:18828/js/app.js:6:6937
? onreadystatechange@http://127.0.0.1:18828/js/app.js:6:7476 Utilities.cpp:28
20140827T163403.125000 th_a log_message ] Message from GUI: rpc error: In method 'get_info': Assert Exception (10)
is_open(): Database is not open!
error fetching key 6
(500) Utilities.cpp:28
20140827T163403.126953 th_a log_message ] Message from GUI: rpc error: In method 'blockchain_list_assets': Assert Exception (10)
is_open(): Database is not open!
error finding
(500) Utilities.cpp:28
20140827T163403.128906 th_a log_message ] Message from GUI: rpc error: In method 'wallet_list_accounts': The wallet must be opened before executing this command (0)
The wallet must be open before executing this command
(500) Utilities.cpp:28
20140827T163403.129882 th_a log_message ] Message from GUI: rpc error: In method 'blockchain_list_assets': Assert Exception (10)
is_open(): Database is not open!
error finding
(500) Utilities.cpp:28
20140827T163403.148437 th_a processCustomUrl ] Got URL of unknown scheme: MainWindow.cpp:111
20140827T163403.187500 th_a log_message ] Message from GUI: js erorr: null is not an object (evaluating 'a.id')
populate_asset_record@http://127.0.0.1:18828/js/app.js:28:47131
? http://127.0.0.1:18828/js/app.js:28:47632
? j@http://127.0.0.1:18828/js/app.js:6:41826
? http://127.0.0.1:18828/js/app.js:6:28594
? $eval@http://127.0.0.1:18828/js/app.js:6:50482
? $digest@http://127.0.0.1:18828/js/app.js:6:49191
? $apply@http://127.0.0.1:18828/js/app.js:6:50808
? f@http://127.0.0.1:18828/js/app.js:6:694
? r@http://127.0.0.1:18828/js/app.js:6:6937
? onreadystatechange@http://127.0.0.1:18828/js/app.js:6:7476 Utilities.cpp:28
20140827T163404.778320 th_a log_message ] Message from GUI: rpc error: In method 'get_info': Assert Exception (10)
is_open(): Database is not open!
error fetching key 6
(500) Utilities.cpp:28
20140827T163405.709960 upnp operator () ] No valid UPnP IGDs found upnp.cpp:157
20140827T163407.327148 th_a log_message ] Message from GUI: rpc error: In method 'get_info': Assert Exception (10)
is_open(): Database is not open!
error fetching key 6
(500) Utilities.cpp:28
20140827T163409.791992 th_a log_message ] Message from GUI: rpc error: In method 'get_info': Assert Exception (10)
is_open(): Database is not open!
error fetching key 6
(500) Utilities.cpp:28
20140827T163412.289062 th_a log_message ] Message from GUI: rpc error: In method 'get_info': Assert Exception (10)
is_open(): Database is not open!
error fetching key 6
(500) Utilities.cpp:28
20140827T163412.665039 bitshares rebroadcast_pending_ ] rebroadcasting... client.cpp:1032
20140827T163414.777343 th_a log_message ] Message from GUI: rpc error: In method 'get_info': Assert Exception (10)
is_open(): Database is not open!
error fetching key 6
(500) Utilities.cpp:28
20140827T163417.307617 th_a log_message ] Message from GUI: rpc error: In method 'get_info': Assert Exception (10)
is_open(): Database is not open!
error fetching key 6
(500) Utilities.cpp:28
20140827T163417.648437 bitshares create_file ] generating random wallet.cpp:1670
20140827T163417.667968 bitshares scan_chain ] WALLET SCANNING CHAIN! wallet.cpp:2319
20140827T163417.697265 th_a log_message ] Message from GUI: rpc error: In method 'wallet_create': Assert Exception (10)
is_open(): Database is not open!
error finding 0
Unable to create wallet 'default'
(500) Utilities.cpp:28
20140827T163419.793945 th_a log_message ] Message from GUI: rpc error: In method 'get_info': Assert Exception (10)
is_open(): Database is not open!
error fetching key 6
(500) Utilities.cpp:28
20140827T163422.312500 th_a log_message ] Message from GUI: rpc error: In method 'get_info': Assert Exception (10)
is_open(): Database is not open!
error fetching key 6
(500) Utilities.cpp:28
20140827T163424.818359 th_a log_message ] Message from GUI: rpc error: In method 'get_info': Assert Exception (10)
is_open(): Database is not open!
error fetching key 6
(500) Utilities.cpp:28
20140827T163425.671875 bitshares rebroadcast_pending_ ] rebroadcasting... client.cpp:1032
20140827T163427.325195 th_a log_message ] Message from GUI: rpc error: In method 'get_info': Assert Exception (10)
is_open(): Database is not open!
error fetching key 6
(500) Utilities.cpp:28
20140827T163429.821289 th_a log_message ] Message from GUI: rpc error: In method 'get_info': Assert Exception (10)
is_open(): Database is not open!
error fetching key 6
(500) Utilities.cpp:28
20140827T163432.342773 th_a log_message ] Message from GUI: rpc error: In method 'get_info': Assert Exception (10)
is_open(): Database is not open!
error fetching key 6
(500) Utilities.cpp:28
20140827T163434.839843 th_a log_message ] Message from GUI: rpc error: In method 'get_info': Assert Exception (10)
is_open(): Database is not open!
error fetching key 6
(500) Utilities.cpp:28
20140827T163437.338867 th_a log_message ] Message from GUI: rpc error: In method 'get_info': Assert Exception (10)
is_open(): Database is not open!
error fetching key 6
(500) Utilities.cpp:28
20140827T163438.673828 bitshares rebroadcast_pending_ ] rebroadcasting... client.cpp:1032
20140827T163439.835937 th_a log_message ] Message from GUI: rpc error: In method 'get_info': Assert Exception (10)
is_open(): Database is not open!
error fetching key 6
(500) Utilities.cpp:28
20140827T163442.348632 th_a log_message ] Message from GUI: rpc error: In method 'get_info': Assert Exception (10)
is_open(): Database is not open!
error fetching key 6
(500) Utilities.cpp:28
-
Your LevelDB databases seem to be failing to open. We have seen this occasionally but unable to reliably reproduce and not sure what the exact cause is. I've made an issue here: https://github.com/BitShares/bitshares_toolkit/issues/713
In your config.json (should be created on first run), there is a section called "loggers". Can you change the log level for all of them so it says:
"level": "debug",
Then let me know if you see any more relevant detailed information in the log files after attempting to open. In particular, any messages like "Unable to open database" or "Database in use".
-
Thanks. I:
1) edited config.json to set all debug logging
2) deleted default.log
3) deleted wallets
4) started BitShares-X
5) did 'create wallet' with new matching passwords, getting the same failure mode as always
6) File/Quit
Here's the resulting default.log with extra debug.
20140828T200512.398437 ntp request_now ] resolving... ["pool.ntp.org",123] ntp.cpp:50
20140828T200512.418945 bitshares open_database ] old database version, upgrade and re-sync chain_database.cpp:242
20140828T200512.448242 ntp request_now ] sending request to 108.61.73.244:123 ntp.cpp:54
20140828T200514.253906 bitshares open ] error opening database chain_database.cpp:1102
20140828T200514.330078 th_a operator () ] Client initialized; loading web interface from http://:@127.0.0.1:34031 BitSharesApp.cpp:435
20140828T200517.750000 th_a log_message ] Message from GUI: rpc error: In method 'wallet_list_accounts': The wallet must be opened before executing this command (0)
The wallet must be open before executing this command
(500) Utilities.cpp:28
20140828T200517.762695 th_a log_message ] Message from GUI: rpc error: In method 'get_info': Assert Exception (10)
is_open(): Database is not open!
error fetching key 6
(500) Utilities.cpp:28
20140828T200517.783203 th_a log_message ] Message from GUI: rpc error: In method 'blockchain_list_assets': Assert Exception (10)
is_open(): Database is not open!
error finding
(500) Utilities.cpp:28
20140828T200517.797851 th_a log_message ] Message from GUI: rpc error: In method 'blockchain_list_assets': Assert Exception (10)
is_open(): Database is not open!
error finding
(500) Utilities.cpp:28
20140828T200517.816406 th_a log_message ] Message from GUI: rpc error: In method 'wallet_open': wallet does not exist (20004)
No such wallet exists!
(500) Utilities.cpp:28
20140828T200517.950195 th_a log_message ] Message from GUI: rpc error: In method 'wallet_open': wallet does not exist (20004)
No such wallet exists!
(500) Utilities.cpp:28
20140828T200517.954101 th_a log_message ] Message from GUI: js erorr: null is not an object (evaluating 'a.id')
populate_asset_record@http://127.0.0.1:34031/js/app.js:28:47131
○ http://127.0.0.1:34031/js/app.js:28:47632
○ j@http://127.0.0.1:34031/js/app.js:6:41826
○ http://127.0.0.1:34031/js/app.js:6:28594
○ $eval@http://127.0.0.1:34031/js/app.js:6:50482
○ $digest@http://127.0.0.1:34031/js/app.js:6:49191
○ $apply@http://127.0.0.1:34031/js/app.js:6:50808
○ f@http://127.0.0.1:34031/js/app.js:6:694
○ r@http://127.0.0.1:34031/js/app.js:6:6937
○ onreadystatechange@http://127.0.0.1:34031/js/app.js:6:7476 Utilities.cpp:28
20140828T200517.958007 th_a log_message ] Message from GUI: rpc error: In method 'wallet_open': wallet does not exist (20004)
No such wallet exists!
(500) Utilities.cpp:28
20140828T200518.014648 th_a operator () ] Webview loaded: true BitSharesApp.cpp:446
20140828T200518.124023 th_a log_message ] Message from GUI: rpc error: In method 'get_info': Assert Exception (10)
is_open(): Database is not open!
error fetching key 6
(500) Utilities.cpp:28
20140828T200518.443359 th_a log_message ] Message from GUI: rpc error: In method 'wallet_list_accounts': The wallet must be opened before executing this command (0)
The wallet must be open before executing this command
(500) Utilities.cpp:28
20140828T200518.444335 th_a log_message ] Message from GUI: rpc error: In method 'blockchain_list_assets': Assert Exception (10)
is_open(): Database is not open!
error finding
(500) Utilities.cpp:28
20140828T200518.445312 th_a log_message ] Message from GUI: rpc error: In method 'blockchain_list_assets': Assert Exception (10)
is_open(): Database is not open!
error finding
(500) Utilities.cpp:28
20140828T200518.586914 th_a processCustomUrl ] Got URL of unknown scheme: MainWindow.cpp:111
20140828T200518.589843 th_a log_message ] Message from GUI: js erorr: null is not an object (evaluating 'a.id')
populate_asset_record@http://127.0.0.1:34031/js/app.js:28:47131
○ http://127.0.0.1:34031/js/app.js:28:47632
○ j@http://127.0.0.1:34031/js/app.js:6:41826
○ http://127.0.0.1:34031/js/app.js:6:28594
○ $eval@http://127.0.0.1:34031/js/app.js:6:50482
○ $digest@http://127.0.0.1:34031/js/app.js:6:49191
○ $apply@http://127.0.0.1:34031/js/app.js:6:50808
○ f@http://127.0.0.1:34031/js/app.js:6:694
○ r@http://127.0.0.1:34031/js/app.js:6:6937
○ onreadystatechange@http://127.0.0.1:34031/js/app.js:6:7476 Utilities.cpp:28
20140828T200519.535156 th_a log_message ] Message from GUI: rpc error: In method 'get_info': Assert Exception (10)
is_open(): Database is not open!
error fetching key 6
(500) Utilities.cpp:28
20140828T200520.336914 upnp operator () ] No valid UPnP IGDs found upnp.cpp:157
20140828T200522.091796 th_a log_message ] Message from GUI: rpc error: In method 'get_info': Assert Exception (10)
is_open(): Database is not open!
error fetching key 6
(500) Utilities.cpp:28
20140828T200524.589843 th_a log_message ] Message from GUI: rpc error: In method 'get_info': Assert Exception (10)
is_open(): Database is not open!
error fetching key 6
(500) Utilities.cpp:28
20140828T200527.095703 th_a log_message ] Message from GUI: rpc error: In method 'get_info': Assert Exception (10)
is_open(): Database is not open!
error fetching key 6
(500) Utilities.cpp:28
20140828T200527.259765 bitshares rebroadcast_pending_ ] rebroadcasting... client.cpp:1032
20140828T200529.605468 th_a log_message ] Message from GUI: rpc error: In method 'get_info': Assert Exception (10)
is_open(): Database is not open!
error fetching key 6
(500) Utilities.cpp:28
20140828T200532.130859 th_a log_message ] Message from GUI: rpc error: In method 'get_info': Assert Exception (10)
is_open(): Database is not open!
error fetching key 6
(500) Utilities.cpp:28
20140828T200534.592773 th_a log_message ] Message from GUI: rpc error: In method 'get_info': Assert Exception (10)
is_open(): Database is not open!
error fetching key 6
(500) Utilities.cpp:28
20140828T200535.101562 bitshares close ] Canceling wallet scan_chain_task... wallet.cpp:1744
20140828T200535.101562 bitshares close ] Wallet scan_chain_task canceled... wallet.cpp:1746
20140828T200535.103515 bitshares lock ] Wallet locked at time: 20140828T200529 wallet.cpp:1937
20140828T200535.103515 bitshares close ] Canceling wallet relocker task... wallet.cpp:1761
20140828T200535.103515 bitshares close ] Wallet relocker task canceled wallet.cpp:1763
20140828T200535.137695 bitshares create_file ] generating random wallet.cpp:1670
20140828T200535.166992 bitshares unlock ] Wallet unlocked at time: 20140828T200535 wallet.cpp:1899
20140828T200535.168945 bitshares unlock ] Wallet unlocked until time: 20140828T210535 wallet.cpp:1902
20140828T200535.169921 bitshares scan_chain ] WALLET SCANNING CHAIN! wallet.cpp:2319
20140828T200535.169921 bitshares scan_state ] WALLET: Scanning blockchain state wallet.cpp:5110
20140828T200535.175781 bitshares lock ] Wallet locked at time: 20140828T200529 wallet.cpp:1937
20140828T200535.176757 bitshares close ] Canceling wallet scan_chain_task... wallet.cpp:1744
20140828T200535.176757 bitshares close ] Wallet scan_chain_task canceled... wallet.cpp:1746
20140828T200535.176757 bitshares lock ] Wallet locked at time: 20140828T200529 wallet.cpp:1937
20140828T200535.176757 bitshares close ] Canceling wallet relocker task... wallet.cpp:1761
20140828T200535.176757 bitshares close ] Wallet relocker task canceled wallet.cpp:1763
20140828T200535.222656 th_a log_message ] Message from GUI: rpc error: In method 'wallet_create': Assert Exception (10)
is_open(): Database is not open!
error finding 0
Unable to create wallet 'default'
(500) Utilities.cpp:28
20140828T200537.114257 th_a log_message ] Message from GUI: rpc error: In method 'get_info': Assert Exception (10)
is_open(): Database is not open!
error fetching key 6
(500) Utilities.cpp:28
20140828T200539.619140 th_a log_message ] Message from GUI: rpc error: In method 'get_info': Assert Exception (10)
is_open(): Database is not open!
error fetching key 6
(500) Utilities.cpp:28
20140828T200539.973632 bitshares close ] Canceling wallet scan_chain_task... wallet.cpp:1744
20140828T200539.973632 bitshares close ] Wallet scan_chain_task canceled... wallet.cpp:1746
20140828T200539.973632 bitshares lock ] Wallet locked at time: 20140828T200534 wallet.cpp:1937
20140828T200539.973632 bitshares close ] Canceling wallet relocker task... wallet.cpp:1761
20140828T200539.974609 bitshares close ] Wallet relocker task canceled wallet.cpp:1763