ImportError: cannot import name 'COIN' from 'electroncash.bitcoin' (C:\Users\memoc\AppData\Local\Temp\_MEI117442\electroncash\bitcoin.pyc)
baby636 opened this issue · 2 comments
baby636 commented
Description
Traceback
Traceback (most recent call last):
File "electroncash_gui\qt\external_plugins_window.py", line 336, in on_toggle_plugin
File "electroncash\plugins.py", line 276, in enable_external_plugin
File "electroncash\plugins.py", line 203, in get_external_plugin
File "electroncash\plugins.py", line 259, in load_external_plugin
File "<frozen zipimport>", line 259, in load_module
File "C:\Users\memoc\AppData\Local\Temp\scoped_dir4436_1403141819\electrum_abc_data\external_plugins\flipstarter-1.3.zip\flipstarter\qt.py", line 25, in <module>
from .funderutil import cancel_pledge
File "<frozen zipimport>", line 259, in load_module
File "C:\Users\memoc\AppData\Local\Temp\scoped_dir4436_1403141819\electrum_abc_data\external_plugins\flipstarter-1.3.zip\flipstarter\funderutil.py", line 6, in <module>
from electroncash.bitcoin import COIN
ImportError: cannot import name 'COIN' from 'electroncash.bitcoin' (C:\Users\memoc\AppData\Local\Temp\_MEI117442\electroncash\bitcoin.pyc)
System information
- Electrum ABC version: 5.0.1
- Python version: 3.8.9 (tags/v3.8.9:a743f81, Apr 6 2021, 13:22:56) [MSC v.1928 32 bit (Intel)]
- Operating system: Windows-10-10.0.19041-SP0
- Wallet type: standard,imported_privkey
- Locale: de_DE
PiRK commented
Thanks for the report.
Did you explicitly try to add this flipstarter plugin to ElectrumABC, or was is automatically imported from Electron Cash when you first installed it?
I cannot fix the codebase to support external plugins, but I need to make sure in that case that they are not loaded automatically.
PiRK commented
Can you also tell me how to reproduce the failure? Does it happen as soon as you start, or do you have to go to a certain menu to trigger it?