Author

Topic: Electrum 4.1.0: Two warning messages (Read 258 times)

legendary
Activity: 3038
Merit: 4418
Crypto Swap Exchange
April 04, 2021, 05:37:45 PM
#18
Thanks for your explanation about requests. I learned something new today  Smiley

By "locale", did you mean geolocation? I wouldn't want people whose servers I connect to know my exact physical location. (I know that information about bitcoin transactions are easily available on the public blockchain ledger.)
No, language packs that can be downloaded when compiling. Servers already knows your IP but Electrum will not transmit any details that sensitive like your location.
jr. member
Activity: 56
Merit: 5
April 04, 2021, 12:46:50 PM
#17
Yes. Requests is not a mandatory module to be installed. It's only required to get locale and an older version should work fine as well.

Thanks for your explanation about requests. I learned something new today  Smiley

By "locale", did you mean geolocation? I wouldn't want people whose servers I connect to know my exact physical location. (I know that information about bitcoin transactions are easily available on the public blockchain ledger.)
legendary
Activity: 3038
Merit: 4418
Crypto Swap Exchange
April 04, 2021, 06:17:45 AM
#16
Electrum doesn't have to be installed. You're only installing the utility required to upgrade the package and also upgrade the package itself. But as I said, it'll be fine without upgrading as well.

By "utility", did you mean "pip"?

According to https://electrum.org/#download, the only dependencies that one needs to install are:

Code:
sudo apt-get install python3-pyqt5 libsecp256k1-0 python3-cryptography

I only need to install the following if I wish to install Electrum (https://electrum.org/#download):

Code:
python3-setuptools python3-pip
Yes. Requests is not a mandatory module to be installed. It's only required to get locale and an older version should work fine as well.
jr. member
Activity: 56
Merit: 5
April 04, 2021, 03:35:32 AM
#15
I would ignore such warning message if Electrum can run normally. In fact, many application (and even your OS) will show few warnings, but usually you can run it without facing any problem.

Thanks for your clarification and assurance.

urllib3 is most popular package (see https://hugovk.github.io/top-pypi-packages/). If you uninstall urllib3, many application/library will be removed as well and could break the OS.

Thanks for your warning about uninstalling "urllib3".

By "urllib3", did you mean "python3-urllib3" ? Debian 10 has a package called "python3-urllib3 (1.24.1-1)" but not "urllib3".
jr. member
Activity: 56
Merit: 5
April 04, 2021, 03:30:36 AM
#14
Electrum doesn't have to be installed. You're only installing the utility required to upgrade the package and also upgrade the package itself. But as I said, it'll be fine without upgrading as well.

By "utility", did you mean "pip"?

According to https://electrum.org/#download, the only dependencies that one needs to install are:

Code:
sudo apt-get install python3-pyqt5 libsecp256k1-0 python3-cryptography

I only need to install the following if I wish to install Electrum (https://electrum.org/#download):

Code:
python3-setuptools python3-pip

Yeah it will. If you prefer to not install anything, then this is probably the way to go.

Thanks for your clarification.
legendary
Activity: 3038
Merit: 4418
Crypto Swap Exchange
April 04, 2021, 03:20:38 AM
#13
Thanks for your suggestion but I do not wish to install pip because I do not want to install Electrum. The latter can be run without it being installed (https://electrum.org/#download)
Electrum doesn't have to be installed. You're only installing the utility required to upgrade the package and also upgrade the package itself. But as I said, it'll be fine without upgrading as well.

Do you think Debian 11 (Bullseye) will have "requests-2.25.1"? If yes, I can wait for Debian 11 to become a stable release. It is only a few months from now.

Yeah it will. If you prefer to not install anything, then this is probably the way to go.
jr. member
Activity: 56
Merit: 5
April 04, 2021, 03:09:29 AM
#12
Reproducible. Not an issue as Electrum won't run if it is a critical problem.

In your terminal, install pip and then upgrade requests.

Code:
sudo apt-get install python-pip3
pip3 install requests -U

Thanks for your suggestion but I do not wish to install pip because I do not want to install Electrum. The latter can be run without it being installed (https://electrum.org/#download). Since version 2 or 3 (I can't remember), I have been using Electrum without having installed it first.

Electrum uses requests-2.25.1 but Debian 10 doesn't have that.

Do you think Debian 11 (Bullseye) will have "requests-2.25.1"? If yes, I can wait for Debian 11 to become a stable release. It is only a few months from now.
legendary
Activity: 3038
Merit: 4418
Crypto Swap Exchange
April 03, 2021, 12:28:33 AM
#11
Reproducible. Not an issue as Electrum won't run if it is a critical problem.

In your terminal, install pip and then upgrade requests.

Code:
sudo apt-get install python-pip3
pip3 install requests -U

Electrum uses requests-2.25.1 but Debian 10 doesn't have that.
hero member
Activity: 761
Merit: 606
April 02, 2021, 06:44:51 PM
#10
Might be related here.  I also use Debian 10 64 bit and the 4.1.0 AppImage won't start either.  Electrum 4.0.9 sitting right next to it fires up just fine!  I am not on a machine to use a terminal right now.  4.1.0 AppImage was simply tested by right clicking permissions and making the Image executable.

Thought I would put this on your thread since both of us are using Deb 10 64 bit.


FYI - the AppImage 4.1.0 checks out as GOOD via GPG verify!

Following up from the post above.  This is a PATH issue I am running into while running a Buster VM on VirtualBox.  If I place the 4.1.0 AppImage on a bare metal Debian Buster it fires right up every single time.  Maybe I will get time tomorrow to try and run down how to redirect the "search" for the needed qt files during mount of Electrum 4.1.0 via VirtualBox.

This is beyond me from my current remote location.  If anyone has a thought to try tomorrow I'll be back and give it a go.

Unrelated: you may recall that I had an issue with Trezor Suite AppImage as well.  I will also see if Suite fires up bare metal too.  Now I am starting to think it will.  Not available on my current machine!
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
April 01, 2021, 01:40:52 AM
#9
how did you install dependencies?

By using Debian's default package manager

That explains things. Debian's packages are notorious for being out of date.

If just now you had installed the urllib3 and chardet (and any other dependencies) packages from APT, and you're sure no other program/library is using it, then uninstall them and use pip to install these dependencies, which should be the latest versions since Python 3.7 is still supported.

If pip is not installed, it's usually available in a package called python3-pip.

Once they're uninstalled from APT, remove any sub-dependencies of these dependencies using apt autoremove.
legendary
Activity: 2366
Merit: 2054
March 31, 2021, 09:38:25 PM
#8
IMO, try reinstall urllib3 (1.24.1) to urllib3 with 1.24.3 version

Do you use Debian 10, Debian Testing (Bullseye), Debian Sid or Debian at all when you made your statement?

No, I don't, it just my opinion. As I know Debian 10 use Phyton 3.7 version with can be found with detail here

jr. member
Activity: 56
Merit: 5
March 31, 2021, 08:41:03 PM
#7
Electrum 4.0.9 sitting right next to it fires up just fine!

Did you install Electrum 4.0.9 on Debian 10? I have never installed Electrum on Debian because the former can be run without installation as long as dependencies are installed via Debian's package manager.
jr. member
Activity: 56
Merit: 5
March 31, 2021, 08:37:53 PM
#6
IMO, try reinstall urllib3 (1.24.1) to urllib3 with 1.24.3 version

Do you use Debian 10, Debian Testing (Bullseye), Debian Sid or Debian at all when you made your statement?
jr. member
Activity: 56
Merit: 5
March 31, 2021, 08:35:57 PM
#5
how did you install dependencies?

By using Debian's default package manager
legendary
Activity: 2366
Merit: 2054
March 31, 2021, 07:03:06 PM
#4
Code:
urllib3 (1.24.1) or chardet (4.0.0) doesn't match a supported version!

IMO, try reinstall urllib3 (1.24.1) to urllib3 with 1.24.3 version
hero member
Activity: 761
Merit: 606
March 31, 2021, 06:39:46 PM
#3
Might be related here.  I also use Debian 10 64 bit and the 4.1.0 AppImage won't start either.  Electrum 4.0.9 sitting right next to it fires up just fine!  I am not on a machine to use a terminal right now.  4.1.0 AppImage was simply tested by right clicking permissions and making the Image executable.

Thought I would put this on your thread since both of us are using Deb 10 64 bit.


FYI - the AppImage 4.1.0 checks out as GOOD via GPG verify!
legendary
Activity: 3682
Merit: 1580
March 31, 2021, 05:48:32 PM
#2
how did you install dependencies?
jr. member
Activity: 56
Merit: 5
March 31, 2021, 04:43:51 PM
#1
I use:

Debian 10, 64bit
Electrum 4.1.0 with all dependencies installed

I run Electrum without installing it and receive two warning messages. They are:

Code:
/usr/lib/python3/dist-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.24.1) or chardet (4.0.0) doesn't match a supported version!
  RequestsDependencyWarning)
/home/username/electrum/packages/bitstring.py:36: DeprecationWarning: invalid escape sequence \
  """

I appreciate your help in solving the above.
Jump to: