pooler / electrum-ltc

Electrum-LTC Litecoin wallet
https://electrum-ltc.org
MIT License
199 stars 102 forks source link

Cannot import name 'SocksConnector' from 'aiohttp_socks' #243

Closed ghost closed 4 years ago

ghost commented 4 years ago

Hello,

since a couple of days I'm experiencing the following issue if i do:


  echo "Restoring wallet(s) as read-only from Master Public Key"
  {
  electrum-ltc restore $LTC_WALLET_MPK
  }

I Install electrum-ltc like so:

pip3 install https://mydomain.com/Electrum-LTC-3.3.8.1.tar.gz#egg=electrum-ltc

-> results in:

Traceback (most recent call last): File "/usr/local/bin/electrum-ltc", line 82, in from electrum_ltc.logging import get_logger, configure_logging File "/usr/local/lib/python3.8/site-packages/electrum_ltc/init.py", line 2, in from .util import format_satoshis File "/usr/local/lib/python3.8/site-packages/electrum_ltc/util.py", line 45, in from aiohttp_socks import SocksConnector, SocksVer ImportError: cannot import name 'SocksConnector' from 'aiohttp_socks' (/usr/local/lib/python3.8/site-packages/aiohttp_socks/init.py)

Where does this issue comes from?

ghost commented 4 years ago

Same issue also goes for electrum-dash wallet, see: https://github.com/akhavr/electrum-dash/issues/124

ghost commented 4 years ago

v0.5.2 of aiohttp-socks solves the issue, has been release today (GMT)