spesmilo / electrum

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

TypeError: unsupported operand type(s) for +: 'int' and 'NoneType' #9090

Open TARS-bot opened 2 weeks ago

TARS-bot commented 2 weeks ago

Crash Report

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

Traceback

Traceback (most recent call last):
  File "electrum\gui\qt\send_tab.py", line 571, in do_pay_or_get_invoice
  File "electrum\gui\qt\send_tab.py", line 514, in read_invoice
  File "electrum\gui\qt\send_tab.py", line 651, in check_payto_line_and_show_errors
  File "electrum\payment_identifier.py", line 670, in has_expired
TypeError: unsupported operand type(s) for +: 'int' and 'NoneType'

TypeError: unsupported operand type(s) for +: 'int' and 'NoneType'

Reporter

This issue was reported by 4 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
4.5.5 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19045-SP0 standard en_ZA ℹ
4.5.5 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19045-SP0 standard en_ZA ℹ
4.5.5 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19045-SP0 standard en_ZA ℹ
4.5.5 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19045-SP0 standard en_ZA ℹ

Additional Information

It does'nt want to pay or save my send


accumulator commented 2 weeks ago

Looks like a non-standard BIP21 uri (exp parameter without a time parameter).