Search content
Sort by

Showing 20 of 52 results by rbscebu
Post
Topic
Board Electrum
Re: How to install Electrum in Ubuntu 24.02?
by
rbscebu
on 21/02/2025, 08:33:26 UTC
It's only slow when you open since it needs to extract some files/binary. But it's size shouldn't be changed at all since Electrum (AppImage version) still store it's data on ~/.electrum.

AppImages are for novices.  I said what I said.

They are convenient in some situations, and give simplified options for people who aren't technically capable, which is fine, but I tend to find them limiting.  I suppose it's not a huge deal for Electrum since most of the things you can do with CLI commands can be done in the console.

FWIW, Electrum already exist on Debian repository for many years though. See https://packages.debian.org/bookworm/python3-electrum.

I wouldn't use the Debian repository for Electrum, and we should discourage newbies from doing so also.  The repository is always several versions behind, which could (and has in the past) pose security risks.

The Electrum BTC wallet is also available in the Ubuntu App Centre although it is over 8 years out of date (version 2.6.4). The Debian repository is better but still a little over 2 years out of date (version 4.3.4). When working with financial software like BTC wallets, I prefer the most up-to-date stable version.
Post
Topic
Board Electrum
Re: How to install Electrum in Ubuntu 24.02?
by
rbscebu
on 21/02/2025, 08:19:48 UTC
Good job.  I much prefer the python install.  AppImages are clumsy and slow in my opinion.  They're also unnecessarily large since they package all their own dependencies, but most of the dependencies are already included in the OS.  AppImages also don't give you daemon or CLI options, which I find handy from time to time.  I do use AppImages when temporarily booting from a live USB for air-gapped use, but other than that I tend to avoid them.
Maybe I'm just old fashion (in my 70s) but I also prefer a python install over appimages.
Post
Topic
Board Electrum
Merits 1 from 1 user
Re: How to install Electrum in Ubuntu 24.02?
by
rbscebu
on 19/02/2025, 04:32:51 UTC
⭐ Merited by DireWolfM14 (1)
Here's a guide I put together a couple of years ago, but I've been keeping updated to some extent.  The version is currently set to 4.5.5, so you'll want to make sure to change the commands to point to version 4.5.8 before executing them.

https://bitcointalk.org/index.php?topic=5456909.msg62430610#msg62430610
Thank you @DireWolfM14. Your instructions worked like a charm. I just amended 4.5.5 (wherever occurring) and replaced it with the current version 4.5.8.
Post
Topic
Board Electrum
Merits 3 from 2 users
Topic OP
How to install Electrum in Ubuntu 24.02?
by
rbscebu
on 18/02/2025, 04:19:29 UTC
⭐ Merited by Halab (2) ,ABCbits (1)
I am having a lot of trouble trying to install Electrum on my PC using Ubuntu 24.02. What I want to do is install Electrum on Ubuntu 24.02 so that there is an icon on the screen's Dash that I can click on and directly open the Electum wallet program. Following the instructions at https://electrum.org/#download for Installation from Python sources, I have;

installed the dependencies
Code:
sudo apt-get install python3-pyqt5 libsecp256k1-dev python3-cryptography
,

downloaded package to my Home directory
Code:
wget https://download.electrum.org/4.5.8/Electrum-4.5.8.tar.gz
and

verified signatures
Code:
wget https://download.electrum.org/4.5.8/Electrum-4.5.8.tar.gz.asc
Code:
gpg --verify Electrum-4.5.8.tar.gz.asc
.

Next I tried to install the package using
Code:
sudo apt-get install python3-setuptools python3-pip
Code:
python3 -m pip install --user Electrum-4.5.8.tar.gz
and got the following returned;

Quote
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.
   
    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.
   
    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.
   
    See /usr/share/doc/python3.12/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.

After extracting the files from the Electrum-4.5.8.tar.gz folder, I can run this electrum wallet by opening the Electrum-4.5.8 folder, right-clicking on the run_electrum file and selecting "Run as a Program" but first a terminal window opens telling me that "QSocketNotifier: Can only be used with threads started with QThread". I just ignore this and continue using my Electum wallet without difficulty.

Where have I gone wrong and how can I achieve my aim of installing the Electrum wallet with a working icon in the screen's Dash? Any help/guidance would be most appreciated.
Post
Topic
Board Electrum
Re: Electrum 3.3.5 on a 32-bit Computer
by
rbscebu
on 11/09/2019, 06:10:06 UTC
Thank you Abdussamad. Elecrtum is now working properly for me!
Post
Topic
Board Electrum
Re: Electrum 3.3.5 on a 32-bit Computer
by
rbscebu
on 10/09/2019, 03:35:28 UTC
I agree that I should not be running Electrum as root, however at present that is the only way that I can get it to run.
Code:
~$ ls -lha ~/.electrum/
total 3.1M
drwxr-xr-x  6 root    root    4.0K Sep  9 08:57 .
drwxr-xr-x 22 richard richard 4.0K Sep 10 10:22 ..
-rw-r--r--  1 root    root     46M Sep  9 08:27 blockchain_headers
drwx------  2 root    root    4.0K Sep  9 08:25 cache
drwxr-xr-x  2 root    root    4.0K Sep  9 08:57 certs
-rw-------  1 root    root     364 Sep  9 08:28 config
-rw-r--r--  1 root    root      42 Sep  9 08:57 daemon
drwx------  2 root    root    4.0K Sep  9 08:25 forks
-rw-r--r--  1 root    root     495 Sep  9 08:57 recent_servers
drwxr-xr-x  2 root    root    4.0K Sep  9 08:28 wallets
I tried running the electrum.desktop from terminal. First I right-clicked on Electrum in my Start Menu and picked Properties. In the File Properties I set "Execute terminal emulator", "Keep terminal window open after execution" and selected OK. Back in Start Menu I clicked on Electrum. The terminal window opened, text appeared and then the terminal window immediately closed (no time to read).

I then opened terminal and cd to ~/.local/share/applications where File Properties says my target file electrum.desktop is. I then tried the following:
Code:
~/.local/share/applications$ elecrum.desktop
elecrum.desktop: command not found
~/.local/share/applications$ electrum
W | simple_config | Cannot read config file. /home/richard/.electrum/config
Traceback (most recent call last):
  File "/home/richard/.local/bin/electrum", line 355, in
    fd, server = daemon.get_fd_or_server(config)
  File "/home/richard/.local/lib/python3.6/site-packages/electrum/daemon.py", line 77, in get_fd_or_server
    remove_lockfile(lockfile)
  File "/home/richard/.local/lib/python3.6/site-packages/electrum/daemon.py", line 58, in remove_lockfile
    os.unlink(lockfile)
PermissionError: [Errno 13] Permission denied: '/home/richard/.electrum/daemon'
Post
Topic
Board Electrum
Re: Electrum 3.3.8 on a 32-bit Computer
by
rbscebu
on 09/09/2019, 01:34:34 UTC
I now want to install an app launch in my start menu. I did this by
Code:
cd ~/Electrum-3.3.5
sudo desktop-file-install electrum.desktop
This installed the app launcher in my menu://applications/Internet directory (although it was a hidden app so I had to unhide it).

For this app launcher the target file is "/home/richard/.local/share/applications/electrum.desktop" and the command is "electrum %u"

The only problem is that when I try to launch Electrum in my start menu nothing happens. Where have I gone wrong?
Post
Topic
Board Electrum
Re: Electrum 3.3.8 on a 32-bit Computer
by
rbscebu
on 09/09/2019, 01:02:09 UTC
Thank you all for your guidance.

Yes, it was just an access problem. Using
Code:
sudo python3 ~/Electrum-3.3.5/run_electrum
it works.

I have also
Code:
sudo chmod 770 /home/richard/.electrum/daemon
This does not appear to change anything. I still need
Code:
sudo python3 ~/Electrum-3.3.5/run_electrum
to get Electrum to run.
Post
Topic
Board Electrum
Merits 6 from 3 users
Topic OP
Electrum 3.3.8 on a 32-bit Computer
by
rbscebu
on 07/09/2019, 07:58:50 UTC
⭐ Merited by bones261 (4) ,ETFbitcoin (1) ,hugeblack (1)
After recently installing Lubuntu 18.04.3 LTS on my 32-bit computer, I have been trying to install Electrum 3.3.8 so far without success. My latest try consisted of
Code:
sudo apt-get update
sudo apt-get install python3-setuptools python3-pyqt5 python3-pip
wget https://download.electrum.org/3.3.5/Electrum-3.3.5.tar.gz
tar xvf Electrum-3.3.5.tar.gz
All appeared to work well (no error messages or warnings). I then tried to launch Electrum using Python.
Code:
python3 ~/Electrum-3.3.5/run_electrum
Traceback (most recent call last):
  File "/home/richard/Electrum-3.3.5/run_electrum", line 355, in
    fd, server = daemon.get_fd_or_server(config)
  File "/home/richard/Electrum-3.3.5/electrum/daemon.py", line 77, in get_fd_or_server
    remove_lockfile(lockfile)
  File "/home/richard/Electrum-3.3.5/electrum/daemon.py", line 58, in remove_lockfile
    os.unlink(lockfile)
PermissionError: [Errno 13] Permission denied: '/home/richard/.electrum/daemon'
I was at loss on what to do. I then got thinking about whether Electrum 3.3.8 is able to operate on a 32-bit computer, so before I go any further, is Electrum 3.3.8 designed to operate on a 32-bit computer under Lubuntu 18.04?
Post
Topic
Board Electrum
Re: Upgrading to Electrum 3.3.6 on Ubuntu
by
rbscebu
on 13/06/2019, 00:21:19 UTC
DAY 2

First I would like to thanks those who have given their time in trying to help me with this project. It is very much appreciated.

After yesterday, things where getting just too complicated for me. Today I have decided to try and get Electrum 3.3.6 working on my Lubuntu 16.04 desktop using the Appimage.

I have downloaded the Appimage and now have the folder Electrum-3.3.6 in my Home Folder. The Electrum-3.3.6 folder contains-

Folders:
     contrib
     electrum
     Electrum.egg-info
     PACKAGES

Files:
     AUTHORS
     Electrum Bitcoin Wallet
     LICENCE
     MANIFEST.in
     PKG-INFO
     README.rst
     RELEASE-NOTES
     run_electrum
     setup.cfg
     setup.py

I then double-click on the file Electrum Bitcoin Wallet. My hard disk works for about 20 seconds and then nothing.

Next was to double-click on the file run_electrum and then click on “Execute”. Hard disk works for about 5 seconds and then nothing.

Next was to double-click on the file run_electrum and then click on “Execute in Terminal”. The terminal window opens and text appears in the window. The window then closes before I can read the text.

How can I get Electrum 3.3.6 to work on my desktop?
Post
Topic
Board Electrum
Re: Upgrading to Electrum 3.3.6 on Ubuntu
by
rbscebu
on 12/06/2019, 12:02:07 UTC
Code:
yes,
[code]python3 -m pip --version
gives the same error message.

I have downloaded the AppImage. I extracted and read the Readme file. Was still none the wiser on how to install it.

I then used
Code:
wget https://bootstrap.pypa.io/get-pip.py
sudo python3 get-pip.py
as suggested. All looked good so I
Code:
python3 -m pip install --user Electrum-3.3.6.tar.gz[fast]
and got the following result
Code:
Running setup.py install for psutil ... error
    ERROR: Complete output from command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-zbg0e535/psutil/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-ova3ijcd/install-record.txt --single-version-externally-managed --compile --user --prefix=:
    ERROR: /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'python_requires'
      warnings.warn(msg)
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-i686-3.6
    creating build/lib.linux-i686-3.6/psutil
    copying psutil/_psposix.py -> build/lib.linux-i686-3.6/psutil
    copying psutil/_pslinux.py -> build/lib.linux-i686-3.6/psutil
    copying psutil/_pssunos.py -> build/lib.linux-i686-3.6/psutil
    copying psutil/_psaix.py -> build/lib.linux-i686-3.6/psutil
    copying psutil/_common.py -> build/lib.linux-i686-3.6/psutil
    copying psutil/__init__.py -> build/lib.linux-i686-3.6/psutil
    copying psutil/_compat.py -> build/lib.linux-i686-3.6/psutil
    copying psutil/_psosx.py -> build/lib.linux-i686-3.6/psutil
    copying psutil/_pswindows.py -> build/lib.linux-i686-3.6/psutil
    copying psutil/_psbsd.py -> build/lib.linux-i686-3.6/psutil
    creating build/lib.linux-i686-3.6/psutil/tests
    copying psutil/tests/test_aix.py -> build/lib.linux-i686-3.6/psutil/tests
    copying psutil/tests/test_sunos.py -> build/lib.linux-i686-3.6/psutil/tests
    copying psutil/tests/test_unicode.py -> build/lib.linux-i686-3.6/psutil/tests
    copying psutil/tests/test_osx.py -> build/lib.linux-i686-3.6/psutil/tests
    copying psutil/tests/runner.py -> build/lib.linux-i686-3.6/psutil/tests
    copying psutil/tests/test_bsd.py -> build/lib.linux-i686-3.6/psutil/tests
    copying psutil/tests/test_memory_leaks.py -> build/lib.linux-i686-3.6/psutil/tests
    copying psutil/tests/test_connections.py -> build/lib.linux-i686-3.6/psutil/tests
    copying psutil/tests/test_posix.py -> build/lib.linux-i686-3.6/psutil/tests
    copying psutil/tests/__init__.py -> build/lib.linux-i686-3.6/psutil/tests
    copying psutil/tests/test_windows.py -> build/lib.linux-i686-3.6/psutil/tests
    copying psutil/tests/test_process.py -> build/lib.linux-i686-3.6/psutil/tests
    copying psutil/tests/test_misc.py -> build/lib.linux-i686-3.6/psutil/tests
    copying psutil/tests/test_contracts.py -> build/lib.linux-i686-3.6/psutil/tests
    copying psutil/tests/test_linux.py -> build/lib.linux-i686-3.6/psutil/tests
    copying psutil/tests/test_system.py -> build/lib.linux-i686-3.6/psutil/tests
    copying psutil/tests/__main__.py -> build/lib.linux-i686-3.6/psutil/tests
    running build_ext
    building 'psutil._psutil_linux' extension
    creating build/temp.linux-i686-3.6
    creating build/temp.linux-i686-3.6/psutil
    i686-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_VERSION=563 -DPSUTIL_LINUX=1 -I/usr/include/python3.6m -c psutil/_psutil_common.c -o build/temp.linux-i686-3.6/psutil/_psutil_common.o
    psutil/_psutil_common.c:9:20: fatal error: Python.h: No such file or directory
    compilation terminated.
    error: command 'i686-linux-gnu-gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command "/usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-zbg0e535/psutil/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-ova3ijcd/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-zbg0e535/psutil/

I would now like to try using AppImag to upgrade my Electrum. How do I do this from the extracted files?[/code]
Post
Topic
Board Electrum
Re: Upgrading to Electrum 3.3.6 on Ubuntu
by
rbscebu
on 12/06/2019, 04:43:11 UTC
Thank you pooya87. I got all that done.
Code:
python3 --version
Python 3.6.8
Then I got
Code:
python3 -m pip install --user Electrum-3.3.6.tar.gz[fast]
/usr/bin/python3: No module named pip
so I
Code:
sudo apt-get update && sudo apt-get -y upgrade
sudo apt-get install python-pip
To check my pip install, I
Code:
pip --version
Traceback (most recent call last):
  File "/home/richard/.local/bin/pip", line 7, in
    from pip._internal import main
ImportError: No module named _internal
This was not what I expected and I still get
Code:
python3 -m pip install --user Electrum-3.3.6.tar.gz[fast]
/usr/bin/python3: No module named pip
Any further assistance would be much appreciated.
Post
Topic
Board Electrum
Topic OP
Upgrading to Electrum 3.3.6 on Ubuntu
by
rbscebu
on 12/06/2019, 03:15:16 UTC
OS = LUbuntu 16.04.6
Currently installed Electrum 3.1.2

I am trying to upgrade to Electrum 3.3.6. I take the following steps:

   
Code:
sudo apt-get install python3-pyqt5
     wget https://download.electrum.org/3.3.6/Electrum-3.3.6.tar.gz
     sudo apt-get install python3-setuptools python3-pip

All works well, then I:

   
Code:
python3 -m pip install --user Electrum-3.3.6.tar.gz[fast]

and get the following:

Code:
     Processing ./Electrum-3.3.6.tar.gz
         ERROR: Complete output from command python setup.py egg_info:
         ERROR: Error: Electrum requires Python version >= 3.6.1...
         ----------------------------------------
     ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-ixoym5m6/

I have tried this multiple time with the same results.

How can I upgrade my Electrum 3.1.2 to 3.3.6?
Post
Topic
Board Electrum
Re: No Preferences in 2.7.15
by
rbscebu
on 16/01/2017, 01:38:37 UTC
Thanks to longbob72, deleting the congfig file solved the preferences problem, however I then lostmy the PHP fiat display.

Thanks to kolloh, upgrading to 2.7.17 also fixed the preferences problem, but again still no PHP fiat display available. I guest I will just have to live with the no PHP fiat display until that is included again from Bitcoinaverage.
Post
Topic
Board Electrum
No Preferences in 2.7.15
by
rbscebu
on 13/01/2017, 06:00:02 UTC
I recently upgraded my Electrum program to v 2.7.15 (Windows Standalone Executable). Ever since upgrading, I have not been able to access "Preferences".

I click Tools>Preferences and nothing happens. I click on the Preferences button (bottom right) and nothing happens.

Have we lost the use of preferences in 2.7.15?
Post
Topic
Board Bitcoin Discussion
Re: Double Spending - How To?
by
rbscebu
on 04/10/2015, 00:28:21 UTC
Well look, there is a risk everywhere. I think that the credit card chargeback rate is about 20-25% and merchants take this risk on themselves. But you are also using a logic that person that paid $3 for a cup of coffee won't be doing a chargeback. It's not worth a risk.

We can use the same logic about the Bitcoin double spend. But if you are looking for a 100% solution, I guess that Bitcoin is not ready for paying a coffee like Ciyam has said above. Honestly I am not sure that this will be ever necessary in order for Bitcoin to succeed.

Mickeyb, you are thinking "western" here. The Philippines is not western. It is an under-developed third-world country. Less than 20% of adults (those 18yo and over) have a bank account. Less than 5% of all shop purchases are made with a credit/debit card.

Yes, a cup of coffee costs about USD2 to USD3 in the Philippines, but that is almost half a day's salary for most workers. A graduate engineer in the Philippines earns about USD15 per day. A shop salesperson earns about USD6.50 per 10 hour day.
Post
Topic
Board Bitcoin Discussion
Re: Double Spending - How To?
by
rbscebu
on 02/10/2015, 23:11:33 UTC
I hope my merchant doesn't see this topic. I can guess his response, "It looks to difficult and risky, I'll stick with cash only".

I have a meeting with his later next week.
Post
Topic
Board Bitcoin Discussion
Re: Double Spending - How To?
by
rbscebu
on 02/10/2015, 00:06:05 UTC
The merchant, in this case, is hoping to just use an Android smartphone/tablet with say the Bitcoin Wallet ap installed to accept bitcoin payments. At the end of the day (or week) the merchant would use a Philippines bitcoin exchange to convert the received bitcoin into PHP and have it deposited directly into his bank account.

Initially, bitcoin sales are likely to be only one or two a month so capital outlay has to be kept very low. I can not see him investing even one centavo in anything more complicated.

From the replies that I have received in this thread, it looks like my response to the merchant's "double spend" concerns will be:

Quote
There is a very slight risk of a double spend, however you have a greater risk of one of your staff giving free food/coffee to their friend than you have of experiencing a double spend.

A double spend generally requires a customer to spend the exact same amount of bitcoin again within about 10 minutes of the first transaction and that second transaction must be confirmed on the blockchain ledger before the first transaction. None of this is easy to do in the current environment.

I need to keep my response fairly simple. Would this response be reasonable?
Post
Topic
Board Bitcoin Technical Support
Re: Restriced Network Access to Bitcoin Only
by
rbscebu
on 01/10/2015, 12:22:33 UTC
I did a quick read up on mobile internet in the Philippines. Is the 3G connection that bad at the shop that you need to use WiFi? I suspect that this is reason the question came up in the first place, but I thought I make sure regardless. In most of Europe as well as north America most people would probably assume that customers have a 3G/4G data plan if they pay with bitcoin and dont bother at all.

More towards the actual topic, I would not try to block all but bitcoin on the port layer, but go to the application layer (7). If you have a router that can be run with open firmware solutions like tomato or OpenWRT it should be possible to create a bitcoin only WiFi. This might get tricky to setup though as I doubt there are ready to use filters like there are for other p2p traffic like torrents.

Maybe you can find a "good enough" solution by blocking HTTP(S) and mail as well as other commonly used services that generate a lot of traffic without actually having an airtight solution.

Shorena, 3G connection is readily available in the Philippines. The problem is the cost (hence the offer of free WiFi in the shop). Minimum connection fee to 3G can cost you PHP10 for 30 minutes minimum when the average salary is about PHP300 for a 10 hour day. Your internet connection using a smartphone can cost you almost as much per minute as you can earn per minute!
Post
Topic
Board Bitcoin Discussion
Re: Double Spending - How To?
by
rbscebu
on 01/10/2015, 12:14:31 UTC
Thank you all who have replied.

As I said previously, an average sale could be a day's pay for an average (Filipino) worker. Not an insignificant amount. The shop employee handling the transaction would have just a basic (Filipino) high school education. This would mean that he/she can do no more than follow basic instructions - if your lucky.

Neither the sales person or the customer are going to wait for even the first confirmation. The merchant (shop) cannot set or easily check the transaction fee. Let's assume that the customer makes the purchase with zero transaction fee. (I know, Bitcoin Wallet does not allow this.)

So, the customer walks in, buys a coffee and food (take-out) with bitcoin zero transaction fee, then leaves the shop. How does this customer "double spend" his/her bitcoin?

What is "another spend that uses the same inputs"?