Author

Topic: Failed to parse text (Read 82 times)

legendary
Activity: 2394
Merit: 5531
Self-proclaimed Genius
November 25, 2022, 12:19:00 AM
#8
-snip-
Kidding, the address was okay. I paid bitcointalk forum evil fee for two unknown users, one of them was able to write post. That means, the address was a correct one.
I mean the specific error that you had in the OP, since there's no answer "how" yet.
It wouldn't return with that error if the address on your clipboard from the image-to-text tool result was correct.

Those are the only two possible reasons in that case.
legendary
Activity: 1960
Merit: 1908
Marketing Campaign Manager |Telegram ID- @LT_Mouse
November 24, 2022, 11:08:52 PM
#7
My guess is the image-to-text tool that you've used has faulty character recognition and mistook some of the address' character(s).
...or you've included the dot.
What should I say? You are making me confused whether I have sent BTC in the right address or not because I can't check the address one by one character.
Kidding, the address was okay. I paid bitcointalk forum evil fee for two unknown users, one of them was able to write post. That means, the address was a correct one.
legendary
Activity: 2394
Merit: 5531
Self-proclaimed Genius
November 24, 2022, 04:31:08 AM
#6
I had the exact address on the clipboard if I'm correct as later I had checked them manually.
It works at my end.
I just tried it: Downloaded the image, used image-to-text tool, copied the address, then pasted it to android Electrum's send tab.
It immediately recognized "3PDB6kt29Kmiu8j7g24PCcoC1P5XHUZ6yB" and even the address in the other image.

My guess is the image-to-text tool that you've used has faulty character recognition and mistook some of the address' character(s).
...or you've included the dot.
legendary
Activity: 1932
Merit: 1273
November 24, 2022, 02:33:02 AM
#5
Make sure you are either inputting the address fully as uppercase or lowercase.
Is an address case sensitive?

I forgot it only applied on bech32, don't know for sure about the other one though.

But according to https://bitcoin.stackexchange.com/questions/98498/are-bitcoin-addresses-case-sensitive:
   base58 encoded addresses (1... and 3...) are case sensitive - however, getting the casing wrong will result in a checksum error, and a well designed wallet will not let you send a transaction to an incorrectly entered address
    bech32 addresses like the one involved here are case insensitive but, as pointed out by Murch, must be entirely uppercase or lowercase - a compliant wallet should reject a mixed case bech32 address.
legendary
Activity: 1960
Merit: 1908
Marketing Campaign Manager |Telegram ID- @LT_Mouse
November 24, 2022, 12:38:30 AM
#4
Make sure you are either inputting the address fully as uppercase or lowercase.
Is an address case sensitive? I think I'm missing something here. For example, look at this address- 3AvG5ZHsgHkdeFadmKqkWoym87nkvRWWHY
The bold character is in small letter in the original address which I wanted to send fund. When I tried with capital letter, it returned me the above error. While changing this into small letter was okay and I was able to send. I don't know if I have sent in the wrong address or not. Lol. Check the addresses here- https://bitcointalksearch.org/topic/m.61339464

Have you checked the same address in a block explorer to see if it is valid?
I just checked. When I tried with capital W, it said the address doesn't exist while when I tried with small letter w, it was the same address where I sent fund.
legendary
Activity: 3444
Merit: 10537
November 23, 2022, 11:53:43 PM
#3
But it says "Failed to parse text". What does that exactly mean and why this happens?
This happens when the application can not decode the given string which in your case is a bitcoin address[1]. So the possible scenarios is that when it calls is_b58_address method[2] it returns false. The reasons could be invalid checksum, invalid base58 characters, invalid data length, etc.

Have you checked the same address in a block explorer to see if it is valid?

[1] https://github.com/spesmilo/electrum/blob/e5f21fb7b59a9206f903b4daa1054afc2f05a3b2/electrum/gui/kivy/uix/screens.py#L200-L203
[2] https://github.com/spesmilo/electrum/blob/e5f21fb7b59a9206f903b4daa1054afc2f05a3b2/electrum/bitcoin.py#L740
legendary
Activity: 1932
Merit: 1273
November 23, 2022, 10:50:30 PM
#2
I had the exact address on the clipboard if I'm correct as later I had checked them manually

Make sure you are either inputting the address fully as uppercase or lowercase.
legendary
Activity: 1960
Merit: 1908
Marketing Campaign Manager |Telegram ID- @LT_Mouse
November 23, 2022, 09:57:49 PM
#1
I was trying to extract two address from an image which I did through the help of an online tool. After that, I copied the address from the text file and paste in the electrum recipient section for sending BTC. But it says "Failed to parse text". What does that exactly mean and why this happens? I had the exact address on the clipboard if I'm correct as later I had checked them manually.

Jump to: