spesmilo / electrum

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

OSError: [Errno 22] Invalid argument: 'C:\\Users\\iebadrani\\AppData\\Roaming\\Electrum\\cache\\BitcoinAverage_EUR' #4260

Open TARS-bot opened 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.2-py3.5.egg\electrum\util.py", line 798, in run_with_except_hook
  File "threading.py", line 862, in run
  File "site-packages\electrum-3.1.2-py3.5.egg\electrum\exchange_rate.py", line 90, in get_historical_rates_safe

OSError: [Errno 22] Invalid argument: 'C:\\Users\\iebadrani\\AppData\\Roaming\\Electrum\\cache\\BitcoinAverage_EUR'

Reporter

This issue was reported by 1 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
3.1.2 Windows-7-6.1.7601-SP1 standard fr_BE ℹ

Additional Information

The reporting user(s) did not provide additional information.

nmeri17 commented 5 years ago

What's up? Were you able to find any solution to this?

akshaynexus commented 5 years ago

id say maybe changing the avg rate fetched to another as default should do it short term

nmeri17 commented 5 years ago

@akshayaurora Thanks for your prompt response. I realized the ssl_priv_key and ssl_chain config vars were pointing to non-existing files. I've changed the values to my self-signed certificates but it still says it can't find them, because it's replacing the plus sign in the string with an empty space. When I try escaping the plus sign with a backward slash, it just doubles the slashes there. Any idea what to do next?

nmeri17 commented 5 years ago

I've renamed the files to omit the plus signs, and passed in the new name. No empty space replacement occurs but it still claims to be unable to find the files there

nmeri17 commented 5 years ago

Solved it by supplying a path python had enough permission to access.

ecdsa commented 5 years ago

what's going on here?