TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 8.6k
- Forks
- 3.5k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 61
Description
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 790, in <lambda>
File "electrum\gui\qt\main_window.py", line 2748, in dscancel_dialog
File "electrum\gui\qt\rbf_dialog.py", line 182, in __init__
File "electrum\gui\qt\rbf_dialog.py", line 44, in __init__
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'
Reporter
This issue was reported by 50 user(s):
| Electrum Version | Python Version | Operating System | Wallet Type | Locale | Stack |
|---|---|---|---|---|---|
| 4.4.3 | 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:24:45) [MSC v.1929 32 bit (Intel)] | Windows-10-10.0.22621-SP0 | imported | uk_UA | ℹ |
| 4.4.3 | 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:24:45) [MSC v.1929 32 bit (Intel)] | Windows-10-10.0.22621-SP0 | imported | uk_UA | ℹ |
| 4.4.4 | 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:24:45) [MSC v.1929 32 bit (Intel)] | Windows-10-10.0.22621-SP0 | imported | en_US | ℹ |
| 4.4.4 | 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:24:45) [MSC v.1929 32 bit (Intel)] | Windows-10-10.0.22621-SP0 | imported,2of2 | en_US | ℹ |
| 4.4.5 | 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:24:45) [MSC v.1929 32 bit (Intel)] | Windows-10-10.0.19045-SP0 | imported,standard | en_US | ℹ |
| 4.4.5 | 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:24:45) [MSC v.1929 32 bit (Intel)] | Windows-10-10.0.19045-SP0 | standard | ru_RU | ℹ |
| 4.4.6 | 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:24:45) [MSC v.1929 32 bit (Intel)] | Windows-10-10.0.22621-SP0 | imported | en_US | ℹ |
| 4.5.2 | 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 | 2of2 | es_MX | ℹ |
| 66595bc | 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,imported | es_MX | ℹ |
| 66595bc | 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,imported | es_MX | ℹ |
| 66595bc | 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,imported | es_MX | ℹ |
| 66595bc | 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,imported | es_MX | ℹ |
| 4.5.3 | 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.3 | 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] | macOS-14.1.1-x86_64-i386-64bit | standard | ? | ℹ |
| 4.5.4 | 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 | standard | es_MX | ℹ |
| 4.5.4 | 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] | Windows-10-10.0.26063-SP0 | imported | es_MX | ℹ |
| 4.5.4 | 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] | Windows-10-10.0.26063-SP0 | imported | es_MX | ℹ |
| 4.5.4 | 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 | imported | en_SI | ℹ |
| 4.4.6 | 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:24:45) [MSC v.1929 32 bit (Intel)] | Windows-10-10.0.22631-SP0 | standard | en_US | ℹ |
| 4.5.2 | 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,imported | es_MX | ℹ |
| 4.5.4 | 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 | sv_SE | ℹ |
| 4.5.4 | 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 | pt_BR | ℹ |
| 4.5.2 | 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 | es_MX | ℹ |
| 4.5.2 | 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 | es_MX | ℹ |
| 4.5.2 | 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 | es_MX | ℹ |
| 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.16299-SP0 | imported | en_US | ℹ |
| 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_US | ℹ |
| 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 | 2of2,standard,imported | en_US | ℹ |
| 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,imported | en_US | ℹ |
| 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_US | ℹ |
| 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 | es_MX | ℹ |
| 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_US | ℹ |
| 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.22631-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.22631-SP0 | standard | en_US | ℹ |
| 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.22631-SP0 | standard | en_US | ℹ |
| 4.5.5 | 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] | macOS-12.7.1-x86_64-i386-64bit | standard,imported | ? | ℹ |
| 4.5.8 | 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 | standard | en_UM | ℹ |
| 4.5.4 | 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 | 1of2,standard,imported,2fa | en_US | ℹ |
| 4.5.8 | 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 | standard,imported | en_UM | ℹ |
| 4.5.8 | 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,imported | en_US | ℹ |
| 4.5.8 | 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 | imported,standard | en_US | ℹ |
| 4.5.4 | 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 | 1of2,standard | en_US | ℹ |
| 4.5.8 | 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,standard | en_US | ℹ |
| 4.5.8 | 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] | macOS-13.7.5-x86_64-i386-64bit | imported | ? | ℹ |
| 4.5.8 | 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] | Windows-10-10.0.26200-SP0 | imported,standard | en_US | ℹ |
| 4.6.2 | 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] | Windows-11-10.0.26100-SP0 | standard | Engli | ℹ |
| 4.6.2 | 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] | Windows-11-10.0.26100-SP0 | standard | Engli | ℹ |
| 4.6.2 | 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] | Windows-11-10.0.26100-SP0 | standard | Engli | ℹ |
| 4.6.2 | 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] | Windows-11-10.0.26200-SP0 | standard,imported | Engli | ℹ |
| 4.6.2 | 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] | Windows-10-10.0.19045-SP0 | standard | Engli | ℹ |
Additional Information
hello
Traceback (most recent call last):
File "electrum\gui\qt\history_list.py", line 769, in
File "electrum\gui\qt\main_window.py", line 2640, in bump_fee_dialog
File "electrum\gui\qt\rbf_dialog.py", line 141, in init
File "electrum\gui\qt\rbf_dialog.py", line 41, in init
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'
Traceback (most recent call last):
File "electrum\gui\qt\history_list.py", line 769, in
File "electrum\gui\qt\main_window.py", line 2640, in bump_fee_dialog
File "electrum\gui\qt\rbf_dialog.py", line 141, in init
File "electrum\gui\qt\rbf_dialog.py", line 41, in init
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'Additional information
Electrum version: 4.5.2
Python version: 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)]
Operating system: Windows-10-10.0.19045-SP0
Wallet type: imported
Locale: es_MX
Name
ID
Secret show secrets
Access Token Lifespanhttps://btc.cryptoid.info/btc/address.dws?bc1qyjwa0tf0en4x09magpuwmt2smpsrlaxwn85lh6.htm
1
faee8fe2d0ea00f85e641924ad9088919fa2d11284262f22ce195f55151fb21f:2
02000000000101b185340fc54de67d6b068d573f2d28212225c4ee737804efd203e0964dc9da870000000000fdffffff0263ac9800000000001600142da587e5b5ff206c1deabebd13318b8fb07e3583005a62020000000017a91480621fc516a300740c542f59595032ee09ea511087024730440220476077f31de2e5b131258986216ba0ccc9fe1d979ea782a642e164643cf30ea602206563eb7e596d32436720d5c311b34cd3fcc334f86385c0a22c602844e268e9d9012102f5f4b733e4fb644679cc4338c1f1ba3094ea7e0271d05fa8e2e23a72fd9563b6a60e0d00
trying to increase the fees to make my transaction go through
going to get this from github was trying to get the increase fee to broadcast my transaction
im trying incress fee on this transaction
i was increase the fee
electrum continues to quit and not allowing broadcasting
trying to increase the fee in my transaction
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in electrum/gui/qt/rbf_dialog.py at lines 41 and 44, then trace the bump_fee_dialog and dscancel_dialog callers in main_window.py. Determine which value is None before the division and reproduce the flow from the reported history_list.py entries. Done means the RBF or fee-bump dialog no longer crashes for the reported wallet cases, with a regression check if the project’s existing tests cover this path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100