Bitcoin Forum

Bitcoin => Electrum => Topic started by: chanit on October 17, 2021, 05:17:27 PM



Title: What does this mean and how do I solve it?
Post by: chanit on October 17, 2021, 05:17:27 PM
Upgraded to Electrum 4.1.5. Wanted to open my wallet and then got this message:

'This version of Electrum is too old to open this wallet.\n(highest supported storage version: 33, version of this file: 41)')


Title: Re: What does this mean and how do I solve it?
Post by: o_e_l_e_o on October 17, 2021, 07:43:32 PM
You should not receive this error when using 4.1.5, since it is the latest version and cannot be too old to open any valid wallet file. Other possibilities include:

Your Electrum install is corrupted or damaged (Redownload, verify, and reinstall from scratch)
Your wallet file is corrupted or damaged (Can you open other wallet files or do you get the same error with all of them?)
You are not actually running version 4.1.5 (Do you have more than one version installed? Have you also downloaded the portable or standalone version?)
You are trying to open a wallet file from an Electrum altcoin fork.


Title: Re: What does this mean and how do I solve it?
Post by: nc50lc on October 18, 2021, 03:40:04 AM
-snip-
'This version of Electrum is too old to open this wallet.\n(highest supported storage version: 33, version of this file: 41)')
My guess is you've successfully installed 4.1.5, launched it at least once because the wallet file is upgraded to 'version 41'.
But you still have the previous version installed and used it in that instance where you got the "Electrum too old" error.


Title: Re: What does this mean and how do I solve it?
Post by: pooya87 on October 18, 2021, 03:48:27 AM
Upgraded to Electrum 4.1.5. Wanted to open my wallet and then got this message:

'This version of Electrum is too old to open this wallet.\n(highest supported storage version: 33, version of this file: 41)')
This error message makes no sense if you are really running the real Electrum software version 4.1.5 since according to the source code the highest storage version should be 41 not 33.
Here is the source code where you can see the constant FINAL_SEED_VERSION is 41 and this is where the check is made: https://github.com/spesmilo/electrum/blob/4.1.5/electrum/wallet_db.py#L875-L878

You are either NOT running version 4.1.5 or worse not running a legitimate Electrum software (you are running a fake one).


Title: Re: What does this mean and how do I solve it?
Post by: Abdussamad on October 18, 2021, 11:30:36 AM
run it with this command:

Code:
~/.local/bin/electrum


Title: Re: What does this mean and how do I solve it?
Post by: BitMaxz on October 18, 2021, 11:54:09 PM
It seems it's just a wallet file and the Electrum couldn't read it.

I search a bit and I think you are using Linux or maybe tails. According to this (https://www.reddit.com/r/Electrum/comments/b4a469/electrum_issues_cannot_load_wallet/) tails or your Linux distribution still running too old electrum that is why you get this error, even you upgraded it to the latest version.

For alternative solution they suggested for this issue is by using AppImage you could read the links below how to do it

- https://github.com/spesmilo/electrum-docs/blob/master/faq.rst#electrum-requires-recent-python-my-linux-distribution-does-not-yet-have-it-what-now
- https://github.com/spesmilo/electrum-docs/blob/master/tails.rst#using-the-most-current-electrum-on-tails

I got the solution from an old reddit post from here Electrum Issues - Cannot Load Wallet (https://www.reddit.com/r/Electrum/comments/b4a469/electrum_issues_cannot_load_wallet/)

So the command you going to use from that link should be replaced with the latest version link.


Title: Re: What does this mean and how do I solve it?
Post by: nc50lc on October 19, 2021, 01:39:21 AM
I search a bit and I think you are using Linux or maybe tails. -snip-
According to his other thread, he's using "Parrot OS 4.11"; link to the other thread: Problems installing the upate (https://bitcointalk.org/index.php?topic=5366162.msg58203459#msg58203459)

He's having problem installing the update yet based from the link above, yet, he's upgraded the wallet file to v41.
It seems like he got both old and new Electrum versions installed.


Title: Re: What does this mean and how do I solve it?
Post by: NotATether on October 19, 2021, 04:27:35 AM
Here is the source code where you can see the constant FINAL_SEED_VERSION is 41 and this is where the check is made: https://github.com/spesmilo/electrum/blob/4.1.5/electrum/wallet_db.py#L875-L878

As Electrum binaries are wrappers around a python package, shouldn't it be possible for OP to find this file in his operating system under something like /usr/lib64/python-3.<something>/site-packages/electrum/electrum/wallet_db.py and report the final seed version listed there, just for clarity?


Title: Re: What does this mean and how do I solve it?
Post by: pooya87 on October 19, 2021, 04:33:07 AM
As Electrum binaries are wrappers around a python package, shouldn't it be possible for OP to find this file in his operating system under something like /usr/lib64/python-3.<something>/site-packages/electrum/electrum/wallet_db.py and report the final seed version listed there, just for clarity?
I don't think so because all these files are compiled into the binary but I'm not sure since I'm mostly a Windows user :P and on Windows there are only dll files.
In any case when opening Electrum the UI shows the version in title bar and also in the About window accessible from Help menu.


Title: Re: What does this mean and how do I solve it?
Post by: NotATether on October 19, 2021, 04:37:31 AM
I don't think so because all these files are compiled into the binary but I'm not sure since I'm mostly a Windows user :P and on Windows there are only dll files.
In any case when opening Electrum the UI shows the version in title bar and also in the About window accessible from Help menu.

Then perhaps there's a way from the Electrum console to import the same modules that Electrum itself is using and query the FINAL_SEED_VERSION constant from there.

But I know for sure Electrum installed from Linux package manager just puts bare python files inside the filesystem.