spesmilo / spesmilo/electrum

FileNotFoundError: [WinError 2] The system cannot find the file specified: 'C:\\Users\\Bobby\\AppData\\Roaming\\Electrum\\certs\\cryptohead.de.temp' -> 'C:\\Users\\Bobby\\AppData\\Roaming\\Electrum\\certs\\cryptohead.de'

Open
#4,059 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug 🐞
Dominant language
Python
Stars
8.6k
Forks
3.5k
Avg merge
2d 8h
Merged PRs (30d)
61

Description

Crash Report

This crash report was reported through the automatic crash reporting system 🤖

Traceback

  File "site-packages\electrum-3.1.0-py3.5.egg\electrum\util.py", line 792, in run_with_except_hook
  File "site-packages\electrum-3.1.0-py3.5.egg\electrum\interface.py", line 233, in run
  File "site-packages\electrum-3.1.0-py3.5.egg\electrum\interface.py", line 228, in get_socket

FileNotFoundError: [WinError 2] The system cannot find the file specified: 'C:\\Users\\Bobby\\AppData\\Roaming\\Electrum\\certs\\cryptohead.de.temp' -> 'C:\\Users\\Bobby\\AppData\\Roaming\\Electrum\\certs\\cryptohead.de'

Reporter

This issue was reported by 97 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
3.1.0 Windows-7-6.1.7601-SP1 standard en_US
3.1.0 Windows-10-10.0.16299-SP0 standard en_US
3.1.0 Windows-10-10.0.16299-SP0 standard en_US
3.1.1 Linux-4.14.0-kali3-686-pae-i686-with-Kali-kali-rolling-kali-rolling standard en_US
3.1.1 Windows-10-10.0.16299-SP0 standard de_DE
3.1.1 Linux-4.9.0-6-amd64-x86_64-with-debian-9.4 standard en_US
3.1.1 Windows-10-10.0.16299-SP0 standard sv_SE
3.1.2 Windows-10-10.0.16299 standard de_DE
3.1.2 Windows-10-10.0.16299 standard de_DE
3.1.2 Windows-10-10.0.16299-SP0 standard de_DE
3.1.2 Windows-10-10.0.16299-SP0 standard en_GB
3.1.2 Linux-4.13.0-37-generic-x86_64-with-Ubuntu-17.10-artful standard en_US
4.0.2 Windows-10-10.0.16299-SP0 standard de_DE
4.0.2 Windows-10-10.0.16299-SP0 standard de_DE
3.1.2 Windows-10-10.0.16299 standard en_US
3.1.1 Darwin-17.4.0-x86_64-i386-64bit standard None
3.1.2 Windows-10-10.0.16299 standard en_GB
3.1.2 Windows-10-10.0.16299-SP0 standard en_US
3.1.3 Windows-7-6.1.7601-SP1 standard fr_FR
3.1.3 Windows-7-6.1.7601-SP1 standard en_US
3.1.3 Linux-4.15.0-15-generic-x86_64-with-LinuxMint-18.3-sylvia standard en_US
3.1.3 Linux-4.13.0-39-generic-x86_64-with-Ubuntu-16.04-xenial standard en_US
3.1.3 Windows-10-10.0.16299-SP0 standard en_AU
3.1.3 Windows-8.1-6.3.9600-SP0 standard en_GB
3.1.3 Windows-10-10.0.16299-SP0 standard de_DE
3.1.3 Windows-10-10.0.16299 standard en_GB
3.1.3 Windows-7-6.1.7601-SP1 standard sv_SE
3.1.3 Darwin-17.5.0-x86_64-i386-64bit standard None
3.1.3 Windows-10-10.0.16299 imported th_TH
3.1.3 Windows-10-10.0.17134-SP0 standard de_DE
3.1.3 Linux-4.13.0-41-generic-x86_64-with-Ubuntu-17.10-artful standard en_AU
3.1.3 Windows-10-10.0.17134-SP0 standard sv_SE
3.1.3 Windows-10-10.0.17134-SP0 standard sv_SE
3.1.3 Windows-7-6.1.7601-SP1 standard fr_FR
3.1.3 Linux-4.15.0-22-generic-x86_64-with-Ubuntu-18.04-bionic standard en_US
3.1.3 Windows-7-6.1.7601-SP1 standard bg_BG
3.1.3 Windows-10-10.0.16299-SP0 standard de_DE
3.1.3 Windows-10-10.0.16299 standard fr_FR
3.1.3 Windows-10-10.0.15063-SP0 standard ar_SA
3.1.3 Windows-7-6.1.7601-SP1 standard en_GB
3.2.2 Windows-7-6.1.7601-SP1 standard ru_RU
3.1.3 Windows-10-10.0.17134-SP0 2fa en_US
3.2.2 Linux-4.15.0-23-generic-x86_64-with-Ubuntu-18.04-bionic standard pl_PL
3.1.3 Windows-10-10.0.17134 standard en_CA
3.1.3 Windows-10-10.0.17134 standard en_CA
3.1.3 Windows-10-10.0.17134-SP0 standard en_US
3.2.2 Windows-10-10.0.16299-SP0 standard ru_RU
3.2.2 Darwin-17.7.0-x86_64-i386-64bit standard ?
3.2.2 Darwin-16.1.0-x86_64-i386-64bit standard ?
3.2.2 Linux-4.15.0-30-generic-x86_64-with-Ubuntu-18.04-bionic standard en_US
3.2.2 Windows-7-6.1.7601-SP1 standard cs_CZ
3.2.3 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 02:47:15) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.17134 standard de_DE
3.2.3 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 02:47:15) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.17134-SP0 standard en_US
3.2.3 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 02:47:15) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.17134-SP0 standard en_US
3.2.3 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 02:47:15) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.17134-SP0 imported en_US
3.2.3 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 02:47:15) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.17134-SP0 standard en_US
3.2.2 Linux-4.18.14-arch1-1-ARCH-x86_64-with-arch-18.8-ISO-Rolling standard en_US
3.2.3 3.6.6 (default, Jul 19 2018, 14:25:17) [GCC 8.1.1 20180712 (Red Hat 8.1.1-5)] Linux-4.18.14-200.fc28.x86_64-x86_64-with-fedora-28-Twenty_Eight standard en_US
3.1.3 Darwin-18.0.0-x86_64-i386-64bit standard None
3.2.3 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 02:47:15) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.17134 standard en_US
3.2.3 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 02:47:15) [MSC v.1900 32 bit (Intel)] Windows-8.1-6.3.9600-SP0 standard en_US
3.1.1 Windows-10-10.0.17134-SP0 standard en_US
3.2.3 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 02:47:15) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.17134-SP0 standard fr_FR
3.2.3 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 02:47:15) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.17134-SP0 standard en_US
3.2.3 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 02:47:15) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.17134 standard en_US
3.2.3 3.7.1 (default, Oct 22 2018, 10:41:28) [GCC 8.2.1 20180831] Linux-4.14.71-1-lts-x86_64-with-arch standard en_US
3.2.3 3.6.5 Anaconda, Inc. (default, Apr 29 2018, 16:14:56) [GCC 7.2.0] Linux-4.15.0-39-generic-x86_64-with-debian-buster-sid standard
3.2.3 3.5.2 (default, Nov 12 2018, 13:43:14) [GCC 5.4.0 20160609] Linux-4.4.0-140-generic-x86_64-with-Ubuntu-16.04-xenial standard en_US
3.2.3 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 02:47:15) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.17763-SP0 standard ru_RU
3.1.1 Windows-10-10.0.17134-SP0 imported en_US
3.2.3 3.6.4 (default, Feb 28 2018, 03:24:19) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] Darwin-18.2.0-x86_64-i386-64bit standard ?
3.2.3 3.6.4 (default, Feb 28 2018, 03:24:19) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] Darwin-16.7.0-x86_64-i386-64bit standard ?
3.2.3 3.7.2+ (default, Feb 2 2019, 14:31:48) [GCC 8.2.0] Linux-4.19.0-parrot1-13t-amd64-x86_64-with-glibc2.28 standard en_US
3.2.3 3.7.2+ (default, Feb 2 2019, 14:31:48) [GCC 8.2.0] Linux-4.19.0-parrot1-13t-amd64-x86_64-with-glibc2.28 standard en_US
3.2.3 3.6.4 (default, Feb 28 2018, 03:24:19) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] Darwin-18.2.0-x86_64-i386-64bit standard ?
3.2.3 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 02:47:15) [MSC v.1900 32 bit (Intel)] Windows-8.1-6.3.9600-SP0 imported ru_RU
3.1.3 Windows-10-10.0.17134-SP0 standard sv_SE
3.2.3 3.6.4 (default, Feb 28 2018, 03:24:19) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] Darwin-18.2.0-x86_64-i386-64bit standard ?
3.2.3 3.7.2+ (default, Feb 27 2019, 15:41:59) [GCC 8.2.0] Linux-4.19.0-parrot1-20t-amd64-x86_64-with-glibc2.28 standard en_GB
3.2.3 3.6.7 (default, Oct 22 2018, 11:32:17) [GCC 8.2.0] Linux-4.15.0-48-generic-x86_64-with-LinuxMint-19-tara standard en_US
3.2.3 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 02:47:15) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.17134 2fa ru_RU
3.2.3 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 02:47:15) [MSC v.1900 32 bit (Intel)] Windows-7-6.1.7601-SP1 standard de_DE
3.2.3 3.7.3rc1 (default, Mar 13 2019, 11:01:15) [GCC 8.3.0] Linux-4.19.0-parrot4-28t-amd64-x86_64-with-glibc2.28 standard en_US
3.2.3 3.7.4+ (default, Sep 4 2019, 08:03:05) [GCC 9.2.1 20190827] Linux-5.2.0-2parrot1-amd64-x86_64-with-glibc2.28 standard en_US
3.2.3 3.7.3rc1 (default, Mar 13 2019, 11:01:15) [GCC 8.3.0] Linux-4.19.0-parrot1-20t-amd64-x86_64-with-glibc2.28 2fa en_US
3.1.3 Darwin-18.7.0-x86_64-i386-64bit standard None
3.2.3 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 02:47:15) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19587 standard en_US
3.1.3 Linux-5.3.0-51-generic-x86_64-with-LinuxMint-19.3-tricia standard en_US
3.2.3 3.6.4 (default, Feb 28 2018, 03:24:19) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] Darwin-15.6.0-x86_64-i386-64bit standard ?
3.2.3 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 02:47:15) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.18362 standard en_AU
3.1.2 Windows-10-10.0.18362 standard en_GB
3.2.3 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 02:47:15) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.18362 standard en_US
3.2.3 3.7.3 (default, Jul 25 2020, 13:03:44) [GCC 8.3.0] Linux-5.4.51-v7l+-armv7l-with-debian-10.4 standard en_GB
3.2.2 Windows-10-10.0.19041 standard en_US
3.2.3 3.7.3 (default, Jul 25 2020, 13:03:44) [GCC 8.3.0] Linux-5.10.11-v7l+-armv7l-with-debian-10.8 standard en_US
3.1.3 Windows-10-10.0.19041 standard en_GB
3.2.3 3.6.9 (default, Nov 7 2019, 10:44:02) [GCC 8.3.0] Linux-4.15.0-76-generic-x86_64-with-Ubuntu-18.04-bionic standard en_US

Additional Information

i was messing around with the proxy server. I discarded what i did and went back to default settings


enabling tor proxy


I enabled Tor as the proxy. I am behind a VPN, maybe that caused the problem?


proxy does not work over Tor


enabling tor proxy


went to newtwork > proxy > and checked " use tor proxy at port 9150 "


I was setting tor proxy in the Network dialog box.


this appeared while setting up eps 1.5. It didn't connect electrum till i uncheck Use Tor. Did a couple of switches of Tor in the network window, at eps log it connected, disconnected and then this dialog box appeared.


Logged in?


Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with electrum/interface.py around get_socket, where the traceback reports the failure, and inspect how the certificate path is handled on Windows. Reproduce the reported FileNotFoundError if possible; done means the connection path no longer crashes when the temporary certificate is renamed.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.