spesmilo / electrum

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

Exception: ('unknown scheme', 'https/bitpay.com/i/HN4NPuM6VpcxwyxCDKEWsc') #4312

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.3-py3.5.egg\electrum\util.py", line 794, in run_with_except_hook
  File "threading.py", line 862, in run
  File "site-packages\electrum-3.1.3-py3.5.egg\electrum\util.py", line 621, in get_payment_request_thread
  File "site-packages\electrum-3.1.3-py3.5.egg\electrum\paymentrequest.py", line 98, in get_payment_request

Exception: ('unknown scheme', 'https/bitpay.com/i/HN4NPuM6VpcxwyxCDKEWsc')

Reporter

This issue was reported by 8 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
3.1.3 Windows-10-10.0.10586-SP0 standard de_DE ℹ
3.1.3 Windows-10-10.0.10586-SP0 standard de_DE ℹ
3.1.3 Windows-10-10.0.16299-SP0 standard ru_RU ℹ
3.1.3 Windows-10-10.0.17134-SP0 standard en_US ℹ
3.2.2 Darwin-16.7.0-x86_64-i386-64bit standard ? ℹ
3.2.2 Windows-10-10.0.10240-SP0 standard en_US ℹ
3.2.2 Windows-10-10.0.17134 standard en_US ℹ
3.2.2 Windows-7-6.1.7601-SP1 imported en_US ℹ

Additional Information

t


fr3aker commented 6 years ago

I think I have seen this error when trying to use the bitpay api with a tor-proxied electrum.

as a side note: workaround is to use bitpay.com/invoice-noscript instead of the default bitpay.com/invoice and manually create the transaction

SomberNight commented 6 years ago

Are we sure it's not user error? Copying bitcoin:?r=https/bitpay.com/i/HN4NPuM6VpcxwyxCDKEWsc into the Pay to field reproduces this.

fr3aker commented 6 years ago

sorry, I was mis-remembering. This seems to be a different problem than the tor issue I mentioned above. You are probably right on point.

SomberNight commented 6 years ago

@bauerj What are the other exceptions from the other reports? Are all of them this "unknown scheme" thing? How do the URLs look like?

bauerj commented 6 years ago

Yes:

('unknown scheme', 'https/bitpay.com/i/HN4NPuM6VpcxwyxCDKEWsc')
('unknown scheme', 'https/bitpay.com/i/HN4NPuM6VpcxwyxCDKEWsc')
('unknown scheme', 'opskins.com')
('unknown scheme', 'h')
('unknown scheme', 'h')
('unknown scheme', 'h')