Bitcoin Forum
December 17, 2017, 09:59:12 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Error in console when trying to unlock my wallet (Bitcoin Core)  (Read 378 times)
Bitnoob12345
Newbie
*
Offline Offline

Activity: 3


View Profile
August 14, 2017, 06:30:32 AM
 #1

Hi friends,

I am trying to move BTC from Bitcoin Core to Electrum. I got the adress and know there is balance when I looked at the adress on blockchain.info. I need to unluck the wallet before I can use dumpprivkey in console. The Bitcoin Core client is not fully synced yet. I get the following error code:


Example:

Walletpassphrase fg,91iK

Error: Error parsing JSON:,91iK



Any suggestions on what to do?  Shocked
1513547952
Hero Member
*
Offline Offline

Posts: 1513547952

View Profile Personal Message (Offline)

Ignore
1513547952
Reply with quote  #2

1513547952
Report to moderator
1513547952
Hero Member
*
Offline Offline

Posts: 1513547952

View Profile Personal Message (Offline)

Ignore
1513547952
Reply with quote  #2

1513547952
Report to moderator
1513547952
Hero Member
*
Offline Offline

Posts: 1513547952

View Profile Personal Message (Offline)

Ignore
1513547952
Reply with quote  #2

1513547952
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1513547952
Hero Member
*
Offline Offline

Posts: 1513547952

View Profile Personal Message (Offline)

Ignore
1513547952
Reply with quote  #2

1513547952
Report to moderator
1513547952
Hero Member
*
Offline Offline

Posts: 1513547952

View Profile Personal Message (Offline)

Ignore
1513547952
Reply with quote  #2

1513547952
Report to moderator
1513547952
Hero Member
*
Offline Offline

Posts: 1513547952

View Profile Personal Message (Offline)

Ignore
1513547952
Reply with quote  #2

1513547952
Report to moderator
achow101
Moderator
Legendary
*
Offline Offline

Activity: 1246


17kKQppUsngUiByDsce4JXoZEjjpvX9bpR


View Profile WWW
August 14, 2017, 07:32:41 AM
 #2

Enclose your password with single quotes. The JSON parser will parse the string you enter and it is confused by the comma there.

Bitnoob12345
Newbie
*
Offline Offline

Activity: 3


View Profile
August 14, 2017, 08:50:27 AM
 #3

Enclose your password with single quotes. The JSON parser will parse the string you enter and it is confused by the comma there.

It says I have to add an amount of timeout to it, so I did that but got "Null" in return. And after a few attempts I get "Method not found" with an error code.


For example:

Walletpassphrase 'fg,91iK' 600

Null



Any ideas?
achow101
Moderator
Legendary
*
Offline Offline

Activity: 1246


17kKQppUsngUiByDsce4JXoZEjjpvX9bpR


View Profile WWW
August 14, 2017, 04:07:41 PM
 #4

It says I have to add an amount of timeout to it, so I did that but got "Null" in return. And after a few attempts I get "Method not found" with an error code.
That means that it worked. walletpassphrase will return null when it is successful. If it is not successful, you will get an error.

Bitnoob12345
Newbie
*
Offline Offline

Activity: 3


View Profile
August 16, 2017, 10:18:17 AM
 #5

It says I have to add an amount of timeout to it, so I did that but got "Null" in return. And after a few attempts I get "Method not found" with an error code.
That means that it worked. walletpassphrase will return null when it is successful. If it is not successful, you will get an error.

Thank you so much! The single quotes and misunderstanding null was the problem, at last I received my privkey.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!