-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Microsoft Visual C++ Runtime error on windows displayed on start of Electrum 2.0 beta #1000
Comments
I had a similar problem on my 64 bit Windows 8.1 system. This had previously had Electrum 1.9.8 but no other Electrum related software or required packages. Before running the test I uninstalled Electrum 1.9,8 and deleted the user directory in Roaming\Electrum, I did not get this error on my 64 bit Windows 7 system and was able to install the 2.0 beta .exe and run it without error, restoring an older software wallet from seed. However, I had already been running an earlier version of Electrum 2.0 from source including all of the necessary packages needed to run Electrum 2.0 and Trezor support, which included a 32 bit installation of Python-Qt, Cython, etc. as necessitated by the use of the free 32 bit Microsoff C++ runtine library. |
This error occurs only when MSVCR90.DLL is found in your %PATH%. |
I found that whether the error appeared or not depended on the particular file that I put in the folder with electrum-2.0-beta.exe. My system had 30 copies of mscvr90.dll. Some gave an error and some didn't. I found no particular way to characterize whether a file would would give the error, not in terms of modification date, file size, or even product version. A clear case of Windows .DLL hell. |
I read this post: https://stackoverflow.com/questions/14552348/runtime-error-r6034-in-embedded-python-application And found out that, IN MY CASE, it was my Python installation that caused this problem by adding it's own msvcr dll in my system path. You can use a simple autoit3 script like this to launch Electrum without getting this error: EnvSet("PATH", "") EDIT: Maybe this could be added to the wrapper by the dev? |
does electrum still start after that message is displayed, or does it terminate the program? |
It starts properly after pressing "OK" or whatever button there is. |
While I was having the problem with the beta test versions (before I fixed the .dll situation) dismissing the error dialog box left the program running, just as with Tritonio. The good news is that the 2.0.2 and 2.0.3 release Windows installers do not generate this error. |
so, it seems to be fixed now. |
Just installed v2.2 and have this exact error. |
The portable version of 2.3.1 has this too. I'm on Windows 7 x64. |
2.3.2 portable and standalone has this issue. Windows 7 x64 |
Just rename the app to "electrum.exe" and it will be fixed . |
Wow, @triorr 's advice works. Thank you! |
any idea why it works? |
@ecdsa - I have no idea. I'm no programmer (so this may make no sense) but I guess that something in the .exe's code still references itself as "electrum.exe". |
Could be something related to py2exe , I don't know. |
Thank you Triorr, renaming to the file to "electrum.exe" WORKS. |
I have a Windows10 computer, and I cannot reproduce this issue with the 2.7 builds. |
I get the error message with Electrum portable, but it will startup after I click ok. If I rename to electrum.exe the error message does not appear. I can run Electrum-LTC 2.6.4.2 portable on the same machine with no error message, without changing the filename (electrum-ltc-2.6.4.2.exe). Running Windows 10. |
@pooler can you explain how the building method differs with LTC ? |
As far as I can tell the building method is the same. What appears to be different is the version of the dependencies, and probably the building environment itself. For what it's worth, Electrum-LTC 2.6.4.2 was built using Python 2.7.11 running under Wine 1.6.2. The various packages such as PyQt4 are probably a different version than what specified in |
ok, thanks for sharing the info |
Same startup error message with Electrum 2.7.12 in Windows 8.1 64-bit. (With both standalone and portable.) Renaming the binary to electrum.exe fixed it. |
Same problem on electrum-2.7.16-portable.exe... renaming without the "-2.7.16-portable" fixes the problem. |
Problem still exists. I used the "Standalone Executable" System: Windows 8.1 64bit, no Python installed |
this should be fixed in 2.8.0 builds. please confirm. |
Can confirm, issue is solved in 2.8.0, thanks |
Whenever I run Electrum 2.0 Beta, before the wallet loads I get a C++ runtime error. I've tried this both on my laptop and desktop, both running windows 7 and WIndows 8.1 respectively.
Error information Screenshot: http://i.imgur.com/DqkmIrX.png
I also have Electrum 1.9.8 installed.
The text was updated successfully, but these errors were encountered: