spesmilo / electrum

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

TypeError: '>=' not supported between instances of 'NoneType' and 'int' #9273

Closed TARS-bot closed 3 weeks ago

TARS-bot commented 3 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\history_list.py", line 774, in <lambda>
  File "electrum\gui\qt\main_window.py", line 2656, in dscancel_dialog
  File "electrum\gui\qt\rbf_dialog.py", line 168, in __init__
  File "electrum\gui\qt\rbf_dialog.py", line 52, in __init__
  File "electrum\gui\qt\confirm_tx_dialog.py", line 125, in update
  File "electrum\gui\qt\confirm_tx_dialog.py", line 537, in _update_widgets
  File "electrum\gui\qt\rbf_dialog.py", line 117, in get_messages
  File "electrum\gui\qt\confirm_tx_dialog.py", line 555, in get_messages
  File "electrum\wallet.py", line 3178, in get_tx_fee_warning
TypeError: '>=' not supported between instances of 'NoneType' and 'int'

TypeError: '>=' not supported between instances of 'NoneType' and 'int'

Reporter

This issue was reported by 67 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.20348-SP0 standard en_US ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.20348-SP0 standard en_US ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22621-SP0 standard en_US ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22621-SP0 standard en_US ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22621-SP0 standard en_US ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22621-SP0 standard en_US ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 standard en_ZA ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 standard en_IL ℹ
4.5.7 3.10.12 (main, Sep 11 2024, 15:47:36) [GCC 11.4.0] Linux-6.8.0-47-generic-x86_64-with-glibc2.35 standard en_GB ℹ
4.5.7 3.10.13 (main, Jun 28 2018, 19:01:02) [GCC 8.3.0] Linux-6.8.0-47-generic-x86_64-with-glibc2.39 standard cs_CZ ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 2fa ru_RU ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 2fa ru_RU ℹ
4.5.7 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-13.6.1-x86_64-i386-64bit standard ? ℹ
4.5.7 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-13.6.1-x86_64-i386-64bit standard ? ℹ
4.5.7 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-13.6.1-x86_64-i386-64bit standard ? ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 standard en_US ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 standard en_US ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 standard fr_FR ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 standard fr_FR ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 standard fr_FR ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.26100-SP0 standard en_US ℹ
4.5.7 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_US ℹ
4.5.7 3.10.13 (main, Jun 28 2018, 19:01:02) [GCC 8.3.0] Linux-6.1.0-26-amd64-x86_64-with-glibc2.36 standard en_US ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 standard en_US ℹ
4.5.7 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-14.4.1-x86_64-i386-64bit standard ? ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 standard en_US ℹ
4.5.7 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-13.5-x86_64-i386-64bit standard ? ℹ
4.5.7 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-14.4.1-x86_64-i386-64bit standard ? ℹ
4.5.7 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-14.4.1-x86_64-i386-64bit standard ? ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 standard en_US ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 standard en_US ℹ
4.5.7 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-14.5-x86_64-i386-64bit standard ? ℹ
4.5.7 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-14.5-x86_64-i386-64bit standard ? ℹ
4.5.7 3.10.12 (main, Sep 11 2024, 15:47:36) [GCC 11.4.0] Linux-6.9.3-76060903-generic-x86_64-with-glibc2.35 standard it_IT ℹ
4.5.7 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 imported en_US ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 standard cs_CZ ℹ
4.5.7 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-15.0.1-x86_64-i386-64bit standard ? ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 standard en_US ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 standard en_US ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 standard en_US ℹ
4.5.7 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_US ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 standard en_IL ℹ
4.5.7 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-15.1-x86_64-i386-64bit standard ? ℹ
4.5.7 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_US ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.17763-SP0 standard ru_RU ℹ
4.5.7 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_US ℹ
4.5.7 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_US ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.17763-SP0 standard en_US ℹ
4.5.7 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 2fa ru_RU ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 standard en_US ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 standard en_US ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 standard en_US ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 standard en_US ℹ
4.5.7 3.10.13 (main, Jun 28 2018, 19:01:02) [GCC 8.3.0] Linux-6.8.0-47-generic-x86_64-with-glibc2.35 standard it_IT ℹ
4.5.7 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-15.0.1-x86_64-i386-64bit standard ? ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 standard en_US ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 standard en_US ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 standard en_US ℹ
4.5.7 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_US ℹ
4.5.7 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_NZ ℹ
4.5.7 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 ru_RU ℹ
4.5.7 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 ru_RU ℹ
4.5.7 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_NZ ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 standard en_US ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 standard en_US ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 standard en_US ℹ
4.5.7 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22631-SP0 standard ru_RU ℹ

Additional Information

No idea


No idea


bonjour je voulais augmenter les fraits j ai mon ordre qui est toujours en attente de confirmation merci


attempt to increase fee


keep getting this error msg when i try to edit fee for my transaction


I keep getting stuck transactions!


SomberNight commented 3 weeks ago

The asserts added in https://github.com/spesmilo/electrum/commit/e84679982e06fdcbb21bd694761656162b222be5 revealed that in the RBF and dscancel dialogs we were calling wallet.get_tx_fee_warning with a None amount, so the warnings were never shown.