Bitcoin Forum
May 11, 2024, 12:23:10 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [Error] Invalid Distance Code  (Read 140 times)
blue Snow (OP)
Legendary
*
Offline Offline

Activity: 1498
Merit: 1026


#SWGT CERTIK Audited


View Profile WWW
August 13, 2021, 02:39:26 AM
Merited by The Sceptical Chymist (3), ABCbits (1), hosseinimr93 (1), Husna QA (1), dkbit98 (1)
 #1

I received an error when opened electrum wallet from my flash disk



I copied electrum from my old PC into Flashdisk, and when opened in my new PC, I received that error, I'm not copied to my new device, just running it from flash disk.

- Electrum standalone 4.1.5

what can I do?, should I copy it to a new pc or download new software from electrum.org?

but I'm very confident when running it on a flash disk.

1715430190
Hero Member
*
Offline Offline

Posts: 1715430190

View Profile Personal Message (Offline)

Ignore
1715430190
Reply with quote  #2

1715430190
Report to moderator
1715430190
Hero Member
*
Offline Offline

Posts: 1715430190

View Profile Personal Message (Offline)

Ignore
1715430190
Reply with quote  #2

1715430190
Report to moderator
"With e-currency based on cryptographic proof, without the need to trust a third party middleman, money can be secure and transactions effortless." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715430190
Hero Member
*
Offline Offline

Posts: 1715430190

View Profile Personal Message (Offline)

Ignore
1715430190
Reply with quote  #2

1715430190
Report to moderator
1715430190
Hero Member
*
Offline Offline

Posts: 1715430190

View Profile Personal Message (Offline)

Ignore
1715430190
Reply with quote  #2

1715430190
Report to moderator
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5595


Self-proclaimed Genius


View Profile
August 13, 2021, 03:13:55 AM
Merited by pooya87 (2), hosseinimr93 (1), blue Snow (1)
 #2

- Electrum standalone 4.1.5

what can I do?, should I copy it to a new pc or download new software from electrum.org?

but I'm very confident when running it on a flash disk.
You should use the portable version or run it as portable (-P) because the stand-alone will use the default data directory.
The portable will use the flash drive as the data directory: "electrum_data" folder where the executable is.

I have no idea about the error, but it's not exclusive to electrum and it may have been corrupted during the transfer.

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

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

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

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

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

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











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











▄▄▄▄█
dkbit98
Legendary
*
Offline Offline

Activity: 2226
Merit: 7147



View Profile WWW
August 13, 2021, 09:33:56 AM
 #3

what can I do?, should I copy it to a new pc or download new software from electrum.org?
Data for standalone Electrum wallet is still on your hard drive with your operating system (Windows in your case) in ...AppData\Roaming\Electrum folder, and it is not meant to be portable.
You should copy data inside that folder and if you want to use Electrum with flash drive then use portable version only, but make sure you only download it from official website and verify GPG signatures.

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

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

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

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

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

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











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











▄▄▄▄█
NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6735


bitcoincleanup.com / bitmixlist.org


View Profile WWW
August 13, 2021, 10:35:59 PM
Merited by o_e_l_e_o (4), pooya87 (3), ABCbits (2), hosseinimr93 (1), Husna QA (1)
 #4

This is not an Electrum software error. It's an error with the way Electrum was packaged in the ZIP executable.

"invalid distance code" means the binary can't be decompressed. It is common to put programs in a SFX (self-extracting executable) format where you wrap the program in a ZIP or RAR archive and then embed a program that decompresses this stream of bytes. Nearly all installer programs are like this BTW.

Since 4.1.5 was released just 25 days ago, maybe it's a bug in their packaging (they use custom packaging code written in  Python in their build pipelines) so you should file a Github issue about this.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
BitMaxz
Legendary
*
Offline Offline

Activity: 3248
Merit: 2971


Block halving is coming.


View Profile WWW
August 14, 2021, 06:23:11 PM
 #5

Are you talking about copying files from program files(from old pc) and you are trying to open it into your new PC?
Or this is an installer that you downloaded from an old PC and you are trying to install it to your new PC?

If this is an Electrum installer standalone that you downloaded from an old PC before then maybe the installer is corrupted.

So your option here is to redownload the file directly from electrum.org if the error still exist then try to download the portable and test if you still have this error.



█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
blue Snow (OP)
Legendary
*
Offline Offline

Activity: 1498
Merit: 1026


#SWGT CERTIK Audited


View Profile WWW
August 15, 2021, 01:15:39 AM
Merited by The Sceptical Chymist (4)
 #6

You should use the portable version or run it as portable (-P) because the stand-alone will use the default data directory.
Thank you all fixed when I changed the standard alone to portable version.

You may also place on that flash drive your old wallet files so that portable version could control your funds.
You should copy data inside that folder and if you want to use Electrum with flash drive then use portable version only, but make sure you only download it from official website and verify GPG signatures.

I copied all folder from C:\Users\AppData\Roaming\Electrum into FD (Flash Disk) and was downloaded portable version, I don't have problem right now. I just see 2 folder electrum on my FD.

This is not an Electrum software error. It's an error with the way Electrum was packaged in the ZIP executable.
I just succefull copied .exe and folder to FD.
but the program running well before, I don't get it after running it from FD in my new pc.

Are you talking about copying files from program files(from old pc) and you are trying to open it into your new PC?
Or this is an installer that you downloaded from an old PC and you are trying to install it to your new PC?
I trying open from fd into my new pc and i don't instaling in a new pc.

nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5595


Self-proclaimed Genius


View Profile
August 15, 2021, 02:26:59 AM
 #7

You should use the portable version or run it as portable (-P) because the stand-alone will use the default data directory.
Thank you all fixed when I changed the standard alone to portable version.
-snip-
I copied all folder from C:\Users\AppData\Roaming\Electrum into FD (Flash Disk) and was downloaded portable version, I don't have problem right now. I just see 2 folder electrum on my FD.
I think what actually fixed the main issue is when you re-download a new exe file.
The other problem that was addressed by the portable version is the stand-alone is actually using the electrum data directory in the PC where it is connected,
browsing to the wallet's directory (in your case, the copied files in the flash drive) will work but isn't "clean" since it will leave settings and other data in the PC where it's connected.

Anyways now that it works, you just have to organize the Flash Drive because having two electrum-related folders is disorganized.
The Portable version is actually using the folder "electrum_data" as the data directory.

You should copy the contents from the 'other folder' and paste-overwrite it to electrum_data folder (if the wallets doesn't have a backup, make one before doing so).
After that, if Electrum didn't find your wallet (due to wallet previously opened from the other folder), just browse to the correct folder.
Once it's good, you can now delete the other folder, your Flash Drive should only have "electrum_data" folder and "Electrum-portable.exe" file.
Now it should work to any PC plug&play as long as it can run Electrum (only use your PCs for security reasons).

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

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

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

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

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

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











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











▄▄▄▄█
Pmalek
Legendary
*
Offline Offline

Activity: 2758
Merit: 7137



View Profile
August 15, 2021, 04:57:05 PM
 #8

Or this is an installer that you downloaded from an old PC and you are trying to install it to your new PC?
If this is an Electrum installer standalone that you downloaded from an old PC before then maybe the installer is corrupted.
Electrum offers three different versions for their apps:

  • A portable app
  • An installer for Windows
  • A standalone app

The portable is self-explanatory. The Windows installer has to be installed on the computer before it can be used. The standalone file doesn't require any installation. You just double-click on it and it runs. But it's still gonna look for wallet files in the standard Electrum location. That's probably what caused OPs  errors.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
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!