spesmilo / electrum

Electrum Bitcoin Wallet
https://electrum.org
MIT License
7.44k stars 3.09k forks source link

FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'C:\\Users\\yospu\\AppData\\Roaming\\Electrum\\certs\\electrumx.bot.nu.temp' -> 'C:\\Users\\yospu\\AppData\\Roaming\\Electrum\\certs\\electrumx.bot.nu' #4090

Closed TARS-bot closed 6 years ago

TARS-bot commented 6 years ago

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

FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'C:\\Users\\yospu\\AppData\\Roaming\\Electrum\\certs\\electrumx.bot.nu.temp' -> 'C:\\Users\\yospu\\AppData\\Roaming\\Electrum\\certs\\electrumx.bot.nu'

Reporter

This issue was reported by 57 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
3.1.0 Windows-10-10.0.16299 standard en_US ℹ
3.1.1 Windows-10-10.0.16299 standard en_US ℹ
3.1.1 Windows-10-10.0.16299-SP0 standard fi_FI ℹ
3.1.1 Windows-10-10.0.16299-SP0 standard sv_SE ℹ
3.1.2 Windows-10-10.0.16299-SP0 standard nb_NO ℹ
3.1.2 Windows-10-10.0.10586-SP0 standard en_GB ℹ
3.1.2 Windows-10-10.0.16299 2fa en_US ℹ
3.1.2 Windows-10-10.0.16299-SP0 standard en_US ℹ
3.1.3 Windows-10-10.0.16299 standard en_US ℹ
3.1.3 Windows-10-10.0.16299 2fa sk_SK ℹ
3.1.3 Windows-7-6.1.7601-SP1 standard en_US ℹ
3.1.3 Windows-7-6.1.7601-SP1 standard en_US ℹ
3.1.3 Windows-10-10.0.16299-SP0 standard de_DE ℹ
3.1.3 Windows-7-6.1.7601-SP1 standard en_US ℹ
3.1.3 Windows-10-10.0.16299-SP0 standard en_GB ℹ
3.1.3 Windows-10-10.0.17134-SP0 standard de_DE ℹ
3.1.3 Windows-10-10.0.17134 standard en_US ℹ
3.1.3 Windows-7-6.1.7601-SP1 standard en_US ℹ
3.1.3 Windows-10-10.0.17134-SP0 standard en_US ℹ
3.1.3 Windows-7-6.1.7601-SP1 standard de_DE ℹ
3.1.3 Windows-7-6.1.7601-SP1 standard it_IT ℹ
3.1.3 Windows-10-10.0.17134-SP0 standard de_DE ℹ
3.1.3 Windows-10-10.0.16299-SP0 standard de_DE ℹ
3.1.3 Windows-10-10.0.17134-SP0 standard en_CA ℹ
3.2.2 Windows-10-10.0.17134 standard en_US ℹ
3.1.3 Windows-7-6.1.7601-SP1 standard de_DE ℹ
3.1.3 Windows-10-10.0.16299 standard en_US ℹ
3.2.2 Windows-10-10.0.17134-SP0 standard en_GB ℹ
3.2.2 Windows-10-10.0.17134-SP0 standard de_DE ℹ
3.2.2 Windows-7-6.1.7601-SP1 standard de_DE ℹ
3.2.2 Windows-10-10.0.17134 standard ru_UA ℹ
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.10586-SP0 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.17134-SP0 standard en_US ℹ
3.1.3 Windows-10-10.0.17134-SP0 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-10-10.0.17763-SP0 standard sv_SE ℹ
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.2 Windows-10-10.0.17134 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.17134 standard es_ES ℹ
3.2.2 Windows-7-6.1.7601-SP1 standard zh_CN ℹ
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 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-7-6.1.7601-SP1 standard 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-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-7-6.1.7601-SP1 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.10586-SP0 standard en_US ℹ
3.1.3 Windows-10-10.0.17134-SP0 standard en_US ℹ
3.1.3 Windows-10-10.0.17134 standard en_US ℹ
3.2.2 Windows-10-10.0.17763 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-7-6.1.7601-SP1 standard 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-10-10.0.17134-SP0 2fa en_US ℹ
3.1.2 Windows-10-10.0.17134-SP0 standard es_MX ℹ
3.1.2 Windows-10-10.0.17134-SP0 standard es_MX ℹ
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 en_GB ℹ
3.2.2 Windows-7-6.1.7601-SP1 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.18362-SP0 standard ru_RU ℹ
3.2.2 Windows-7-6.1.7601-SP1 standard hu_HU ℹ

Additional Information

I changed to TOR proxy


I have just clicked network popup and enabled proxy socks5 on localhost and changed server to a .onion one.


slow startup


Why is my transaction taking over 5 hours to post. Its never taken a fraction of this time.


m


Tried to connect through Tor proxy


ecdsa commented 6 years ago

probably fixed in 4137ae9 flush is needed before rename: https://stackoverflow.com/questions/7433057/is-rename-without-fsync-safe

TARS-bot commented 6 years ago

Good morning @ecdsa,

I just received another crash report related to this issue. The crash occured on Electrum 3.2.2. I'm not sure which versions of Electrum include the fix but this is the first report from anything newer than 3.1.3 since you closed the issue.

Could you please check if this issue really is resolved? Here is the traceback that I just collected:

  File "site-packages\electrum-3.2.2-py3.5.egg\electrum\util.py", line 856, in run_with_except_hook
  File "site-packages\electrum-3.2.2-py3.5.egg\electrum\interface.py", line 243, in run
  File "site-packages\electrum-3.2.2-py3.5.egg\electrum\interface.py", line 238, in get_socket

FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'C:\\Users\\Dom0\\Desktop\\btc\\electrum_data\\certs\\bitnode.pw.temp' -> 'C:\\Users\\Dom0\\Desktop\\btc\\electrum_data\\certs\\bitnode.pw'

~ With robotic wishes

TARS-bot commented 6 years ago

Good evening @ecdsa,

I just received another crash report related to this issue. The crash occured on Electrum 3.2.3. I'm not sure which versions of Electrum include the fix but this is the first report from anything newer than 3.2.2 since you closed the issue.

Could you please check if this issue really is resolved? Here is the traceback that I just collected:

  File "electrum\util.py", line 882, in run_with_except_hook
  File "electrum\interface.py", line 244, in run
  File "electrum\interface.py", line 239, in get_socket

FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'C:\\Users\\Oskar Stawczyk\\AppData\\Roaming\\Electrum\\certs\\erbium1.sytes.net.temp' -> 'C:\\Users\\Oskar Stawczyk\\AppData\\Roaming\\Electrum\\certs\\erbium1.sytes.net'

~ With robotic wishes