DireWolfM14
Copper Member
Legendary
Offline
Activity: 2170
Merit: 4237
Join the world-leading crypto sportsbook NOW!
|
|
March 30, 2020, 05:41:15 PM |
|
I'm running it from source.
I installed python on my Win10 machine, installed all the dependencies, and then tried to run Electrum from source myself, but I got stuck with this error: Error: Failed to load libsecp256k1. I did a little google search and came across this issue posted on github: https://github.com/spesmilo/electrum/issues/5976I literally laughed out loud when I saw who posted the issue; "hey I know that guy," I said to myself. I'm at the office today, so I don't have time to try compiling the libsecp256k1-0.dll, and I don't have a Linux vm installed on my work machine anyway (time to fix that.) But, I assume that worked for you, and that's all I need to run Electrum from source on my Windows 10 machine?
|
|
|
|
|
|
|
"Governments are good at cutting off the heads of a centrally
controlled
networks like Napster, but pure P2P networks like Gnutella and Tor seem
to be holding their own." -- Satoshi
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
BitMaxz
Legendary
Offline
Activity: 3248
Merit: 2955
Block halving is coming.
|
|
March 30, 2020, 05:59:18 PM |
|
~snip~
Do you have any other links? It's blocked on Mediafire look at the image below. Can you re-upload the file to other hosting sites I suggest you upload it here zippyshare.com. and post it here or pm the link. Thanks in advance... I literally laughed out loud when I saw who posted the issue; "hey I know that guy," I said to myself. I'm at the office today, so I don't have time to try compiling the libsecp256k1-0.dll, and I don't have a Linux vm installed on my work machine anyway (time to fix that.)
Why not just install the copy from HCP to try? I think we already talk about this "libsecp256k1" from another thread here https://bitcointalk.org/index.php?topic=5222986.0So, I think the copy from HCP includes the "libsecp256k1"
|
|
|
|
HCP
Legendary
Offline
Activity: 2086
Merit: 4316
<insert witty quote here>
|
Do you have any other links? It's blocked on Mediafire look at the image below. ... Can you re-upload the file to other hosting sites I suggest you upload it here zippyshare.com. and post it here or pm the link.
Thanks in advance...
I just banged it up on mediafire because it was the first (easy) filehosting that came to mind! It would seem it is freaking out about pyinstaller and blocking the file In the meantime, I've added the same file to zippyshare for you: https://www92.zippyshare.com/v/qdHxapxK/file.htmlYeah, I went to all the effort previously with libsecp256k1... it's been compiled on my ubuntu VM, so is automatically included when building, so all the lightning stuff is working. I managed to open a couple of channels on Testnet and send some coins. Error: Failed to load libsecp256k1. I did a little google search and came across this issue posted on github: https://github.com/spesmilo/electrum/issues/5976I literally laughed out loud when I saw who posted the issue; "hey I know that guy," I said to myself. I'm at the office today, so I don't have time to try compiling the libsecp256k1-0.dll, and I don't have a Linux vm installed on my work machine anyway (time to fix that.) But, I assume that worked for you, and that's all I need to run Electrum from source on my Windows 10 machine? Yeah, I've tested it on Windows 10 running from source as well... so I've put the compiled ibsecp256k1-0.dll on zippyshare too: https://www92.zippyshare.com/v/CucF6mf9/file.htmlLet me know if it works ok!
|
|
|
|
DireWolfM14
Copper Member
Legendary
Offline
Activity: 2170
Merit: 4237
Join the world-leading crypto sportsbook NOW!
|
|
March 30, 2020, 09:52:00 PM |
|
Why not just install the copy from HCP to try? I learned to compile my own binaries a little while ago so I could test the pre-beta version, but now I'm having fun working with python and learning more and more as I experiment. I'm finding that to be quite a bit of fun. Weird, huh? Working with command prompt is sort of nostalgic for me, having grown up with DOS and Unix. I posted links to the portable binary file that I built myself here:
I knew someone had discussed it already, I thought it was in this thread but couldn't find it. Thank you for that.
Thanks for the link, but I really just wanted to do it myself as a learning opportunity. It didn't occur to me that since I've already compiled the binaries (several times now,) I should have that file myself, right? I'll have a look when I get home.
|
|
|
|
HCP
Legendary
Offline
Activity: 2086
Merit: 4316
<insert witty quote here>
|
|
March 30, 2020, 10:21:10 PM |
|
Thanks for the link, but I really just wanted to do it myself as a learning opportunity. It didn't occur to me that since I've already compiled the binaries (several times now,) I should have that file myself, right? I'll have a look when I get home.
Not necessarily... unless you have explicitly installed the appropriate libraries, the Windows build will still complete "OK" (with errors that scroll past) and binaries will be built... but the libsecp256k1 stuff will be missing and you'll get errors when you try to run it... as per this post: https://bitcointalk.org/index.php?topic=5222986.msg53807327#msg53807327If you have "libsecp256k1-dev" installed in Ubuntu (with apt-get)... and the python library "libsecp256k1" installed (with pip)... then the build-wine process will automatically compile the libsecp256k1-0.dll and roll it into your binary file. You can also find this compiled .dll and then copy it to a Windows machine and put it into your Electrum "source" folder to be able to run from source.
|
|
|
|
nc50lc
Legendary
Offline
Activity: 2394
Merit: 5578
Self-proclaimed Genius
|
|
March 31, 2020, 02:14:02 AM |
|
I'm running it from source.
But, I assume that worked for you, and that's all I need to run Electrum from source on my Windows 10 machine? Yes, aside from Python v3.8 or versions later than v3.6.1, just the other dependencies that you can install through pip like 'pyqt5'. But earlier builds doesn't require " libsecp256k1", only when enabling Lightning ( until Feb12).
|
. .HUGE. | | | | | | █▀▀▀▀ █ █ █ █ █ █ █ █ █ █ █ █▄▄▄▄ | ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ . CASINO & SPORTSBOOK ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | ▀▀▀▀█ █ █ █ █ █ █ █ █ █ █ █ ▄▄▄▄█ | | |
|
|
|
DireWolfM14
Copper Member
Legendary
Offline
Activity: 2170
Merit: 4237
Join the world-leading crypto sportsbook NOW!
|
|
March 31, 2020, 08:23:06 PM Last edit: March 31, 2020, 10:15:01 PM by DireWolfM14 |
|
Status report: I did indeed have a copy of libsecp256k1-0.dll available in my previous builds, and I copied the file to the "~\electrum_master\electrum" directory in my Windows box. Electrum runs in my Ubuntu VM just fine, and the binaries I generated just this morning run fine as well. There doesn't seem to be any issue with the libsecp256k1-0.dll file itself, but I still get this error when trying to run it from source: PS D:\Program_Files\Electrum_Dev\electrum-master_20200330\electrum-master> python run_electrum D:\Program_Files\Python\Python38\lib\site-packages\aiohttp\helpers.py:107: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def noop(*args, **kwargs): # type: ignore E | ecc_fast | libsecp256k1 library failed to load. exceptions: [OSError(8, '%1 is not a valid Win32 application', None, 193, None), OSError(8, '%1 is not a valid Win32 application', None, 193, None)] Error: Failed to load libsecp256k1. PS D:\Program_Files\Electrum_Dev\electrum-master_20200330\electrum-master> I'm using Windows 10 v. 1903 Python 3.8.2 64bit downloaded the master yesterday, 30 MAR 2020 installed the following dependencies: python -m pip install --upgrade pip python -m pip install dnspython python -m pip install pyaes python -m pip install ecdsa python -m pip install certifi python -m pip install qrcode python -m pip install protobuf-compiler python -m pip install google python -m pip install aiorpcx python -m pip install aiohttp python -m pip install aiohttp_socks python -m pip install cryptography python -m pip install pycryptodomex python -m pip install bitstring python -m pip install jsonrpcclient python -m pip install jsonrpcserver python -m pip install pyqt5
If anyone has any suggestions, please share.
|
|
|
|
|
DireWolfM14
Copper Member
Legendary
Offline
Activity: 2170
Merit: 4237
Join the world-leading crypto sportsbook NOW!
|
|
March 31, 2020, 10:39:13 PM |
|
Perfect! Thank you so much HCP! I should have known something was up with the libsecp255k1-0.dll compilation. Whenever I ran the script on my Ubuntu VM it would finish up with the following error. I kept thinking it was a file permission thing, was trying to work around it. error: could not copy secp256k1 binary to its destination
|
|
|
|
HCP
Legendary
Offline
Activity: 2086
Merit: 4316
<insert witty quote here>
|
|
April 01, 2020, 04:23:30 AM |
|
In other news... mocacinno has been kind enough to provide a small file hosting repository for me... so, in future I'll be able to get 4.0.0 builds uploaded there instead of having to rely on free file hosting sites that have popups and ads and shit like that. As you can see, aside from my current build, it also has my PGP signature (hcp_pgp.asc) and a .sig file for the build itself. You can also see the instructions in the README for how to retrieve my public key from keybase.io. Again, big thanks to mocacinno... he really does an awful lot for our community!
|
|
|
|
DireWolfM14
Copper Member
Legendary
Offline
Activity: 2170
Merit: 4237
Join the world-leading crypto sportsbook NOW!
|
|
April 01, 2020, 03:11:49 PM |
|
Again, big thanks to mocacinno... he really does an awful lot for our community!
That is quite generous, thanks mocacinno.
Now, back to my stupid questions: I didn't get a chance to play with lightning transactions yesterday with the newest source, but I'm wondering; would the libsecp255k1-0.dll file being 32bit vs 64 have had anything to do with my inability to send from one of my Electrum wallets to the other? Now that I know I compiled the 64bit version of libsecp255k1-0.dll, I'm assuming that all of my previous compilations were 32bit.
|
|
|
|
HCP
Legendary
Offline
Activity: 2086
Merit: 4316
<insert witty quote here>
|
|
April 02, 2020, 03:22:05 AM |
|
I honestly don't know that answer to that question. It could be that, or it could have simply been the more common "no route"-type issue. I had a few of those at various times (with lnd etc)... sometimes channels drop off and you can't get a payment route.
But yeah... a nonfunctional libsecp256k1-0.dll might cause issues.
|
|
|
|
mocacinno
Legendary
Offline
Activity: 3374
Merit: 4919
https://merel.mobi => buy facemasks with BTC/LTC
|
Just as a general heads-up... It seems like ThomasV is now actively compiling and signing electrum 4.x beta releases https://download.electrum.org/4.0.0b1/I'll keep my repo open, but it might be a good idear to get your builds directly from ThomasV's repo!
|
|
|
|
AB de Royse777
Legendary
Offline
Activity: 2478
Merit: 3892
Hire Bitcointalk Camp. Manager @ r7promotions.com
|
|
July 01, 2020, 08:32:13 AM |
|
Just as a general heads-up...
Good to know and thanks for the heads up. I usually update my version after few weeks of releasing the newer one. I can not wait to see it in run and feedback from the users.
|
..Stake.com.. | | | ▄████████████████████████████████████▄ ██ ▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄ ██ ▄████▄ ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██ ██████ ██ ██████████ ██ ██ ██████████ ██ ▀██▀ ██ ██ ██ ██████ ██ ██ ██ ██ ██ ██ ██████ ██ █████ ███ ██████ ██ ████▄ ██ ██ █████ ███ ████ ████ █████ ███ ████████ ██ ████ ████ ██████████ ████ ████ ████▀ ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██ ██ ▀▀▀▀▀▀▀▀▀▀ ██ ▀█████████▀ ▄████████████▄ ▀█████████▀ ▄▄▄▄▄▄▄▄▄▄▄▄███ ██ ██ ███▄▄▄▄▄▄▄▄▄▄▄▄ ██████████████████████████████████████████ | | | | | | ▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄ █ ▄▀▄ █▀▀█▀▄▄ █ █▀█ █ ▐ ▐▌ █ ▄██▄ █ ▌ █ █ ▄██████▄ █ ▌ ▐▌ █ ██████████ █ ▐ █ █ ▐██████████▌ █ ▐ ▐▌ █ ▀▀██████▀▀ █ ▌ █ █ ▄▄▄██▄▄▄ █ ▌▐▌ █ █▐ █ █ █▐▐▌ █ █▐█ ▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█ | | | | | | ▄▄█████████▄▄ ▄██▀▀▀▀█████▀▀▀▀██▄ ▄█▀ ▐█▌ ▀█▄ ██ ▐█▌ ██ ████▄ ▄█████▄ ▄████ ████████▄███████████▄████████ ███▀ █████████████ ▀███ ██ ███████████ ██ ▀█▄ █████████ ▄█▀ ▀█▄ ▄██▀▀▀▀▀▀▀██▄ ▄▄▄█▀ ▀███████ ███████▀ ▀█████▄ ▄█████▀ ▀▀▀███▄▄▄███▀▀▀ | | | ..PLAY NOW.. |
|
|
|
|