Bitcoin Forum
May 05, 2024, 07:57:37 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Failed to parse text  (Read 82 times)
Little Mouse (OP)
Legendary
*
Offline Offline

Activity: 2044
Merit: 1980


Marketing Campaign Manager |Telegram ID- @LT_Mouse


View Profile WWW
November 24, 2022, 01:57:49 AM
 #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.


██████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
██████████████████████
.SHUFFLE.COM..███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
█████████████████████
████████████████████
██████████████████████
████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
██████████████████████
██████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
.
...Next Generation Crypto Casino...
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714939057
Hero Member
*
Offline Offline

Posts: 1714939057

View Profile Personal Message (Offline)

Ignore
1714939057
Reply with quote  #2

1714939057
Report to moderator
1714939057
Hero Member
*
Offline Offline

Posts: 1714939057

View Profile Personal Message (Offline)

Ignore
1714939057
Reply with quote  #2

1714939057
Report to moderator
vv181
Legendary
*
Offline Offline

Activity: 1932
Merit: 1273


View Profile
November 24, 2022, 02:50:30 AM
 #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.
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10549



View Profile
November 24, 2022, 03:53:43 AM
Merited by nc50lc (1), Charles-Tim (1)
 #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

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Little Mouse (OP)
Legendary
*
Offline Offline

Activity: 2044
Merit: 1980


Marketing Campaign Manager |Telegram ID- @LT_Mouse


View Profile WWW
November 24, 2022, 04: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://bitcointalk.org/index.php?topic=5422907.msg61339464#msg61339464

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.

██████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
██████████████████████
.SHUFFLE.COM..███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
█████████████████████
████████████████████
██████████████████████
████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
██████████████████████
██████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
.
...Next Generation Crypto Casino...
vv181
Legendary
*
Offline Offline

Activity: 1932
Merit: 1273


View Profile
November 24, 2022, 06: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.
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5588


Self-proclaimed Genius


View Profile
November 24, 2022, 08: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.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
Little Mouse (OP)
Legendary
*
Offline Offline

Activity: 2044
Merit: 1980


Marketing Campaign Manager |Telegram ID- @LT_Mouse


View Profile WWW
November 25, 2022, 03:08:52 AM
 #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.

██████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
██████████████████████
.SHUFFLE.COM..███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
█████████████████████
████████████████████
██████████████████████
████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
██████████████████████
██████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
.
...Next Generation Crypto Casino...
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5588


Self-proclaimed Genius


View Profile
November 25, 2022, 04: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.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!