Bitcoin-ABC/ElectrumABC

ImportError: cannot import name 'COIN' from 'electroncash.bitcoin' (C:\Users\memoc\AppData\Local\Temp\_MEI38002\electroncash\bitcoin.pyc)

baby636 opened this issue · 3 comments

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\_MEI38002\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
  • Locale: de_DE

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\_MEI38002\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
  • Locale: de_DE
PiRK commented

Hi Can you describe the sequence of action you are trying to do when you encounter the issue? The error message tells me you are trying to load an incompatible external_plugins.

You can also try to update to Electrum ABC 5.0.2.

PiRK commented

You should try to uninstall the flipstarter plugin .