ImportError: cannot import name 'FEERATE_MAX_RELAY' from 'electrum.simple_config' (C:\Users\hiron\AppData\Local\Temp\_MEI129962\electrum\simple_config.pyc)
Open
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\main_window.py", line 1664, in do_pay
File "electrum\gui\qt\main_window.py", line 1678, in do_pay_invoice
File "electrum\gui\qt\main_window.py", line 1729, in pay_onchain_dialog
File "electrum\gui\qt\confirm_tx_dialog.py", line 185, in __init__
File "electrum\gui\qt\util.py", line 344, in __init__
File "electrum\gui\qt\confirm_tx_dialog.py", line 87, in update_tx
File "electrum\gui\qt\main_window.py", line 1719, in <lambda>
File "electrum\wallet.py", line 1396, in make_unsigned_transaction
File "electrum\wallet.py", line 1222, in dust_threshold
File "electrum\bitcoin.py", line 363, in dust_threshold
File "electrum\bitcoin.py", line 340, in relayfee
ImportError: cannot import name 'FEERATE_MAX_RELAY' from 'electrum.simple_config' (C:\Users\hiron\AppData\Local\Temp\_MEI129962\electrum\simple_config.pyc)
ImportError: cannot import name 'FEERATE_MAX_RELAY' from 'electrum.simple_config' (C:\Users\hiron\AppData\Local\Temp\_MEI129962\electrum\simple_config.pyc)
Reporter
This issue was reported by 1 user(s):
| Electrum Version | Python Version | Operating System | Wallet Type | Locale | Stack |
|---|---|---|---|---|---|
| 4.1.5 | 3.9.7 (tags/v3.9.7:1016ef3, Aug 30 2021, 20:05:41) [MSC v.1929 32 bit (Intel)] | Windows-10-10.0.19044-SP0 | standard | ja_JP | ℹ |
Additional Information
The reporting user(s) did not provide additional information.
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 with the traceback path through electrum/gui/qt/confirm_tx_dialog.py, electrum/wallet.py, and electrum/bitcoin.py, then inspect the import of FEERATE_MAX_RELAY from electrum/simple_config.py. Reproduce the payment flow on Electrum 4.1.5 on Windows and confirm that creating an on-chain payment no longer raises this ImportError.
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
- 25/100