Pages:
Author

Topic: Can't run Electrum (different versions) (Read 452 times)

legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
December 21, 2020, 07:40:45 AM
#35
And, nore important, the Linux still user-hostile -- their programs not ever bother to put shortcuts on the main screen. (And the common practice when you need to manually edit config files with a little idea where all that stuff is hidden, and a need to type a multi-linear command to start a program -- and with mistyping type it again... Bgg.)

I don't know what version and linux distro you used, but usually you don't need to edit config files or start program from terminal these days if you user-friendly linux distro.

Can you try installing and booting Linux as a LiveOS from a USB drive... and test Electrum on that. Alternatively, you'll need to find a different wallet application.
I tried it on Win 8.1 64 bit and it crashes too. But because it crashes on exit I don't bother.

It's only minor problem, but you already found solution for your problem. Your either could install Windows 8.1 or switch to OS based on Linux (recommended if you're willing to learn).

What hardware are you attempting to run Windows 7 and Electrum on? Huh Shocked
1-core Celeron at 2 GHz with 3 Gb RAM (some of RAM is used by onboard video card).

Ubuntu and Windows 10 definitely won't run smoothly on your device.
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
December 21, 2020, 05:56:46 AM
#32
1-core Celeron at 2 GHz with 3 Gb RAM (some of RAM is used by onboard video card).
OUCH!!?! Shocked Shocked Shocked Shocked

I'm honestly surprised that Windows 7 runs on that hardware... hopefully with the increase in value of BTC you could upgrade your system Wink

Hehe, back in the day, I used to run Windows Vista 32 on an AMD Sempron and 1GB memory stick. Innocent times...

Windows doesn't need too high a clock speed to run on its own, the issue is when you multitask by running different programs on it. That will really hurt performance.
HCP
legendary
Activity: 2086
Merit: 4361
December 21, 2020, 02:00:10 AM
#31
I tried it on Win 8.1 64 bit and it crashes too. But because it crashes on exit I don't bother.
So, you've found a "workaround" by using Win 8.1? Huh It installs and runs "OK", but then crashes when you attempt to exit the application? If so, I guess that's better than nothing



1-core Celeron at 2 GHz with 3 Gb RAM (some of RAM is used by onboard video card).
OUCH!!?! Shocked Shocked Shocked Shocked

I'm honestly surprised that Windows 7 runs on that hardware... hopefully with the increase in value of BTC you could upgrade your system Wink
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
December 20, 2020, 03:30:37 PM
#30
Finally, I have installed python 3.6.1. And overhelmed all non-obvious obstacles to try to start Electrum (which requires installation of different additional packages and copy-renaming files).

As a result I got the same error (BEX) as before with only difference that now it flags python itself.

I can't figure out what line(s) of script(s) causes that error 'cause I'm not familiar with programming. All I can say that without pgqt5 package the Electrum's daemon has started but then quit with an error something about that package is not installed and after I have installed it the BEX occurs.

I think I found the root cause of your problems. It has something to do with the 32-bit Qt5 installation that Electrum (and PyQt5 module) use. They both build their programs with using MinGW libraries instead of as a native Windows program (see Qt installer fails on Windows 7, exception Code: c0000005 and Qt4 and Qt5 Segmentation faults).

It is caused by the way the Qt libraries are packaged and there's nothing you can do to change that unfortunately.

As a corollary, this means all programs that use Qt and were compiled with MinGW will similarly crash like this too.
newbie
Activity: 21
Merit: 1
December 20, 2020, 03:25:43 PM
#29
In that case, it seems that no amount of fiddling is going to get the newer versions of Electrum running on your current OS.
Yeah, it seems so. Shit happens...
Can you try installing and booting Linux as a LiveOS from a USB drive... and test Electrum on that. Alternatively, you'll need to find a different wallet application.
I tried it on Win 8.1 64 bit and it crashes too. But because it crashes on exit I don't bother.
What hardware are you attempting to run Windows 7 and Electrum on? Huh Shocked
1-core Celeron at 2 GHz with 3 Gb RAM (some of RAM is used by onboard video card).
HCP
legendary
Activity: 2086
Merit: 4361
December 20, 2020, 02:10:06 PM
#28
In that case, it seems that no amount of fiddling is going to get the newer versions of Electrum running on your current OS. Undecided

Can you try installing and booting Linux as a LiveOS from a USB drive... and test Electrum on that. Alternatively, you'll need to find a different wallet application.


Hm, I can'st say that 2-core proc with 4 Gb RAM is light hardware requirements.
What hardware are you attempting to run Windows 7 and Electrum on? Huh Shocked
newbie
Activity: 21
Merit: 1
December 20, 2020, 12:04:59 PM
#27
Finally, I have installed python 3.6.1. And overhelmed all non-obvious obstacles to try to start Electrum (which requires installation of different additional packages and copy-renaming files).

As a result I got the same error (BEX) as before with only difference that now it flags python itself.

I can't figure out what line(s) of script(s) causes that error 'cause I'm not familiar with programming. All I can say that without pgqt5 package the Electrum's daemon has started but then quit with an error something about that package is not installed and after I have installed it the BEX occurs.
legendary
Activity: 1624
Merit: 2481
December 20, 2020, 09:17:14 AM
#26
My hardware is too weak to  migrate to 10. (And, by the way, why to do it if my current system is working quit well, except this little one trouble.)

Your system is not working well.
It is completely broken and unsecure. Any script kiddie with 5 minutes of spare time could compromise your system and steal all of your data.



Hm, I can'st say that 2-core proc with 4 Gb RAM is light hardware requirements.

Linux runs with as little as 300MB RAM.
Depending on the desktop environment this obviously gets a lot more.



And, nore important, the Linux still user-hostile -- their programs not ever bother to put shortcuts on the main screen.

Do you really need so much clicky-pointy that you can't even put the shortcunts on the screen yourself?

Btw, there are dekstop environments which allow you to make a tick to have the shortcut on your screen...
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
December 20, 2020, 08:53:35 AM
#25
@aarge, did you manage to install and run a Python interpreter successfully?
newbie
Activity: 21
Merit: 1
December 20, 2020, 07:49:45 AM
#24
Keeping that machine connected to the internet... and using it for cryptocurrency tasks is asking for trouble.
Alternatively, you'll probably find that Linux runs quite nicely on any machine that runs Windows 7 as the hardware requirements for Linux are generally a lot lower (for instance, I can run Linux quite happily in a virtual machine that only has 2 cores and like 4 Gigs of RAM).
[/quote]
Hm, I can'st say that 2-core proc with 4 Gb RAM is light hardware requirements. And, nore important, the Linux still user-hostile -- their programs not ever bother to put shortcuts on the main screen. (And the common practice when you need to manually edit config files with a little idea where all that stuff is hidden, and a need to type a multi-linear command to start a program -- and with mistyping type it again... Bgg.)
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
December 20, 2020, 06:57:43 AM
#23
Ubuntu also made blog about it, Why you should upgrade Windows 7 to Ubuntu
Additionally, Ubuntu have lighter version such as Kubuntu and Lubuntu

Few people also made tools to make Windows 10 slightly lighter (such as https://github.com/Sycnex/Windows10Debloater and https://github.com/W4RH4WK/Debloat-Windows-10), but there are risks it could break Windows 10 itself.

It is not the so-called "bloat" that makes Windows 10 heavier than 7, it's the fact that Microsoft completely redesigned the kernel and OS services in Windows 8 & 10 such that the base system has twice as much memory usage as Windows 7. Transitioning from 32 bits to 64 bits further increases the memory usage.

Where Windows 7 x64 requires 512 MB to boot successfully, Windows 10 x64 requires 1GB for the same, because the kernel now uses more memory.

I'm going to guess that OP's system has 2GB of RAM in it since the Windows 7 home basic OS was likely preinstalled by the manufacturer and considering that Windows 7 x64 was actually popular among manufacturers at launch, the fact that OP's system has 32-bit Windows 7 on it hints that the vendor was dumping their inventory of old outdated hardware components on low-spec systems like this.

Kubuntu has about the same memory requirements as Windows 10.

I'd argue not to use Windows at all period. Anyone with Visual Studio can write a program that monitors the clipboard and replaces addresses with their own, without any vulnerabilities required. They can bundle it with some popular adwares up for download at CNET.com to get victims easily.
HCP
legendary
Activity: 2086
Merit: 4361
December 19, 2020, 05:47:09 PM
#22
My hardware is too weak to  migrate to 10. (And, by the way, why to do it if my current system is working quit well, except this little one trouble.)
Generally, the adage "if it ain't broke, don't fix it" is fairly apt... however Windows 7 is "broke" Tongue

Honestly, it's purely from a security standpoint... Windows 7 has a number of unpatched security vulnerabilities that will never be patched because Microsoft stopped official support for it on January 14th 2020.

Keeping that machine connected to the internet... and using it for cryptocurrency tasks is asking for trouble. The sooner you can get yourself some updated hardware and update to the latest version of Windows the better.

Alternatively, you'll probably find that Linux runs quite nicely on any machine that runs Windows 7 as the hardware requirements for Linux are generally a lot lower (for instance, I can run Linux quite happily in a virtual machine that only has 2 cores and like 4 Gigs of RAM). Something like Ubuntu 18.04 would be sufficient and would run Electrum fine.


Anyway, do try running from the python source and see if it works... in any case, be sure to update this thread with your results, as it might assist someone else who has a similar issue and finds this thread Wink
newbie
Activity: 21
Merit: 1
December 19, 2020, 03:19:45 PM
#21
You were already given the solution.

Stop using an incredibly insecure outdated operating system which has reached its end of life already and even before that date was the least secure operating system.

The upgrade to windows 10 is still free. There is literally not a single good reason to stay with windows 7 instead of windows 10.

You could have simply used the time you already wasted on trying to get electrum running on your outdated os, to upgrade windows.
My hardware is too weak to  migrate to 10. (And, by the way, why to do it if my current system is working quit well, except this little one trouble.)
newbie
Activity: 21
Merit: 1
December 19, 2020, 03:16:37 PM
#20
"Failed to execute script run_electrum" is a common error and it's resolution is to install KB2999226. Check that you have it installed.
Yes, I have.
But you don't get a BEX error in Safe Mode so that means one of your drivers or start-up programs is buggy and is messing with other programs' memory.
No, it is not. As I mentioned above, in normal mode I see a flashing command line screen and in safe mode there's no that screen. The command line screen means that some scrypt (I think the run_electrum) is started -- and this means that it is started only in normal mode, not in safe mode.
You can also download the portable .tar.gz distribution from the Electrum download page, and install a supported version of python and just run "run_electrum" by hand. I'm 99% sure your problem is caused by pyinstaller, used for generating Electrum executables.
I think that's the clue. As I see there're different sets for 32- and 64-bit systems. And sinse there's only one executable for Windows I'm pretty sure it's 64-bit.

Will try to install 32-bit python...
legendary
Activity: 1624
Merit: 2481
December 19, 2020, 10:50:42 AM
#19
You were already given the solution.

Stop using an incredibly insecure outdated operating system which has reached its end of life already and even before that date was the least secure operating system.

The upgrade to windows 10 is still free. There is literally not a single good reason to stay with windows 7 instead of windows 10.

You could have simply used the time you already wasted on trying to get electrum running on your outdated os, to upgrade windows.
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
December 19, 2020, 10:49:08 AM
#18
Can you try booting Windows 7 into Safe Mode (press F8 once you see the BIOS hardware/manufacturer screen while booting and you should see the option), and checking if newer versions of Electrum run in there?

Ih safe mode I got a popup window with an error "failed to execute script run_electrum". I think the crash point is somewhere further because in normal mode I noticed a cmd's window (terminal-like) flashes for a glance before BEX error.

"Failed to execute script run_electrum" is a common error and it's resolution is to install KB2999226. Check that you have it installed.

But you don't get a BEX error in Safe Mode so that means one of your drivers or start-up programs is buggy and is messing with other programs' memory (or the specific update that I mentioned is not installed).

You can also download the portable .tar.gz distribution from the Electrum download page, and install a supported version of python and just run "run_electrum" by hand. I'm 99% sure your problem is caused by pyinstaller, used for generating Electrum executables.
newbie
Activity: 21
Merit: 1
December 19, 2020, 08:57:07 AM
#17
Can you try booting Windows 7 into Safe Mode (press F8 once you see the BIOS hardware/manufacturer screen while booting and you should see the option), and checking if newer versions of Electrum run in there?

Ih safe mode I got a popup window with an error "failed to execute script run_electrum". I think the crash point is somewhere further because in normal mode I noticed a cmd's window (terminal-like) flashes for a glance before BEX error.
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
December 17, 2020, 12:17:27 PM
#16
Windows have not let me to turn DEP off for Electrum arguing that Electrum must be run with DEP being on.

I have uninstalled antivirus for experiments but it hadn't helped, the same error as on printscreen.

Electrum 3.0.3 runs fine with DEP and protection system (except that it not synchronizing with network, seems the protocol is changed).

Can you try booting Windows 7 into Safe Mode (press F8 once you see the BIOS hardware/manufacturer screen while booting and you should see the option), and checking if newer versions of Electrum run in there?

If they can run in Safe Mode but not in normal mode, one of your services or start-up programs are causing Electrum to fail with a BEX error.
newbie
Activity: 21
Merit: 1
December 17, 2020, 09:21:46 AM
#15
Windows have not let me to turn DEP off for Electrum arguing that Electrum must be run with DEP being on.

I have uninstalled antivirus for experiments but it hadn't helped, the same error as on printscreen.

Electrum 3.0.3 runs fine with DEP and protection system (except that it not synchronizing with network, seems the protocol is changed).
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
December 16, 2020, 08:21:27 PM
#14
Since it's written in Python it should work on both 32-bit and 64-bit Windows.

Can you post a screenshot of the error so we have a better idea of the problem you are experiencing?

Yes, here is it:





(The same type of error for any other versions -- portable, standalone and installed -- higher than 3.0.3.)

So you're getting errror c0000005 when you open Electrum. Can you try turning off Data Execution Prevention for electrum and try running it again?

There's a tutorial on a website on how to do it. Don't attempt any of the other solutions, just the one that turns off DEP.

Windows offers an integrated feature for protecting working memory – called Data Execution Prevention (DEP) – which may accidentally cause access problems like 0xc0000005. This is because some programs are incompatible with this security feature, meaning certain actions will always result in the error. The simplest solution in this case is to deactivate the protection mechanism for the respective application. To do so, make sure you have administrator rights and follow these steps:

    Start the “Run” dialog via the Start menu or using the key combination [Windows] + [R].
    Enter “sysdm.cpl” and press the [Enter] key to open the System Settings.
    Switch to the “Advanced” tab and click on the “Settings” button in the “Performance” section.
    Go to the “Data Execution Prevention” tab and select the point “Activate Data Execution Prevention for all programs and services except for those selected”.
    Click on “Add” and search for the .exe file of the problematic program.
    Save the change by clicking “Apply” and then “OK”.


I will ask again, do you have any antivirus running? They are known to interfere with a lot of programs.

If this doesn't work then maybe there's a bug with the way Electrum generates the binaries. They use PyInstaller to make the installer and portable program and that doesn't officially support Windows 7 although it runs fine on it.
Pages:
Jump to: