chris-belcher / electrum-personal-server

Maximally lightweight electrum server for a single user
MIT License
600 stars 109 forks source link

Error while installing electrum personal server after Mac Ventura upgrade - error: can't copy 'config.ini_sample': doesn't exist or not a regular file #283

Closed dimix000 closed 1 year ago

dimix000 commented 1 year ago

After upgrading my Mac to Ventura, I realised that my electrum personal server is not working. Apple has updated it's Python package to version 3.9.6

I am now trying to make a fresh install, I get the following error, even after renaming the config.ini correctly in the new 0.2.4 version of EPS. I also tried to let the copy of the original config.ini_sample and let it alongside the modified config.ini, it did not help.

error: can't copy 'config.ini_sample': doesn't exist or not a regular file


Building wheels for collected packages: electrum-personal-server Building wheel for electrum-personal-server (setup.py) ... error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [53 lines of output] running bdist_wheel running build running build_py running egg_info writing electrum_personal_server.egg-info/PKG-INFO writing dependency_links to electrum_personal_server.egg-info/dependency_links.txt writing entry points to electrum_personal_server.egg-info/entry_points.txt writing top-level names to electrum_personal_server.egg-info/top_level.txt reading manifest file 'electrum_personal_server.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'doc/*.md' adding license file 'LICENCE' writing manifest file 'electrum_personal_server.egg-info/SOURCES.txt' installing to build/bdist.macosx-10.9-universal2/wheel running install running install_lib creating build/bdist.macosx-10.9-universal2 creating build/bdist.macosx-10.9-universal2/wheel creating build/bdist.macosx-10.9-universal2/wheel/electrumpersonalserver copying build/lib/electrumpersonalserver/init.py -> build/bdist.macosx-10.9-universal2/wheel/electrumpersonalserver creating build/bdist.macosx-10.9-universal2/wheel/electrumpersonalserver/server copying build/lib/electrumpersonalserver/server/mempoolhistogram.py -> build/bdist.macosx-10.9-universal2/wheel/electrumpersonalserver/server copying build/lib/electrumpersonalserver/server/transactionmonitor.py -> build/bdist.macosx-10.9-universal2/wheel/electrumpersonalserver/server copying build/lib/electrumpersonalserver/server/deterministicwallet.py -> build/bdist.macosx-10.9-universal2/wheel/electrumpersonalserver/server copying build/lib/electrumpersonalserver/server/peertopeer.py -> build/bdist.macosx-10.9-universal2/wheel/electrumpersonalserver/server copying build/lib/electrumpersonalserver/server/init.py -> build/bdist.macosx-10.9-universal2/wheel/electrumpersonalserver/server copying build/lib/electrumpersonalserver/server/jsonrpc.py -> build/bdist.macosx-10.9-universal2/wheel/electrumpersonalserver/server copying build/lib/electrumpersonalserver/server/common.py -> build/bdist.macosx-10.9-universal2/wheel/electrumpersonalserver/server copying build/lib/electrumpersonalserver/server/electrumprotocol.py -> build/bdist.macosx-10.9-universal2/wheel/electrumpersonalserver/server copying build/lib/electrumpersonalserver/server/socks.py -> build/bdist.macosx-10.9-universal2/wheel/electrumpersonalserver/server copying build/lib/electrumpersonalserver/server/hashes.py -> build/bdist.macosx-10.9-universal2/wheel/electrumpersonalserver/server copying build/lib/electrumpersonalserver/server/merkleproof.py -> build/bdist.macosx-10.9-universal2/wheel/electrumpersonalserver/server creating build/bdist.macosx-10.9-universal2/wheel/electrumpersonalserver/bitcoin copying build/lib/electrumpersonalserver/bitcoin/deterministic.py -> build/bdist.macosx-10.9-universal2/wheel/electrumpersonalserver/bitcoin copying build/lib/electrumpersonalserver/bitcoin/transaction.py -> build/bdist.macosx-10.9-universal2/wheel/electrumpersonalserver/bitcoin copying build/lib/electrumpersonalserver/bitcoin/py2specials.py -> build/bdist.macosx-10.9-universal2/wheel/electrumpersonalserver/bitcoin copying build/lib/electrumpersonalserver/bitcoin/init.py -> build/bdist.macosx-10.9-universal2/wheel/electrumpersonalserver/bitcoin copying build/lib/electrumpersonalserver/bitcoin/secp256k1_deterministic.py -> build/bdist.macosx-10.9-universal2/wheel/electrumpersonalserver/bitcoin copying build/lib/electrumpersonalserver/bitcoin/secp256k1_transaction.py -> build/bdist.macosx-10.9-universal2/wheel/electrumpersonalserver/bitcoin copying build/lib/electrumpersonalserver/bitcoin/main.py -> build/bdist.macosx-10.9-universal2/wheel/electrumpersonalserver/bitcoin copying build/lib/electrumpersonalserver/bitcoin/py3specials.py -> build/bdist.macosx-10.9-universal2/wheel/electrumpersonalserver/bitcoin copying build/lib/electrumpersonalserver/bitcoin/secp256k1_main.py -> build/bdist.macosx-10.9-universal2/wheel/electrumpersonalserver/bitcoin creating build/bdist.macosx-10.9-universal2/wheel/electrumpersonalserver/certs copying build/lib/electrumpersonalserver/certs/cert.key -> build/bdist.macosx-10.9-universal2/wheel/electrumpersonalserver/certs copying build/lib/electrumpersonalserver/certs/cert.crt -> build/bdist.macosx-10.9-universal2/wheel/electrumpersonalserver/certs running install_data creating build/bdist.macosx-10.9-universal2/wheel/electrum_personal_server-0.2.4.data creating build/bdist.macosx-10.9-universal2/wheel/electrum_personal_server-0.2.4.data/data creating build/bdist.macosx-10.9-universal2/wheel/electrum_personal_server-0.2.4.data/data/share creating build/bdist.macosx-10.9-universal2/wheel/electrum_personal_server-0.2.4.data/data/share/doc creating build/bdist.macosx-10.9-universal2/wheel/electrum_personal_server-0.2.4.data/data/share/doc/electrum-personal-server copying README.md -> build/bdist.macosx-10.9-universal2/wheel/electrum_personal_server-0.2.4.data/data/share/doc/electrum-personal-server error: can't copy 'config.ini_sample': doesn't exist or not a regular file [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for electrum-personal-server Running setup.py clean for electrum-personal-server Failed to build electrum-personal-server Installing collected packages: electrum-personal-server Running setup.py install for electrum-personal-server ... error error: subprocess-exited-with-error

× Running setup.py install for electrum-personal-server did not run successfully. │ exit code: 1 ╰─> [45 lines of output] running install running build running build_py creating build creating build/lib creating build/lib/electrumpersonalserver copying electrumpersonalserver/init.py -> build/lib/electrumpersonalserver creating build/lib/electrumpersonalserver/server copying electrumpersonalserver/server/mempoolhistogram.py -> build/lib/electrumpersonalserver/server copying electrumpersonalserver/server/transactionmonitor.py -> build/lib/electrumpersonalserver/server copying electrumpersonalserver/server/deterministicwallet.py -> build/lib/electrumpersonalserver/server copying electrumpersonalserver/server/peertopeer.py -> build/lib/electrumpersonalserver/server copying electrumpersonalserver/server/init.py -> build/lib/electrumpersonalserver/server copying electrumpersonalserver/server/jsonrpc.py -> build/lib/electrumpersonalserver/server copying electrumpersonalserver/server/common.py -> build/lib/electrumpersonalserver/server copying electrumpersonalserver/server/electrumprotocol.py -> build/lib/electrumpersonalserver/server copying electrumpersonalserver/server/socks.py -> build/lib/electrumpersonalserver/server copying electrumpersonalserver/server/hashes.py -> build/lib/electrumpersonalserver/server copying electrumpersonalserver/server/merkleproof.py -> build/lib/electrumpersonalserver/server creating build/lib/electrumpersonalserver/bitcoin copying electrumpersonalserver/bitcoin/deterministic.py -> build/lib/electrumpersonalserver/bitcoin copying electrumpersonalserver/bitcoin/transaction.py -> build/lib/electrumpersonalserver/bitcoin copying electrumpersonalserver/bitcoin/py2specials.py -> build/lib/electrumpersonalserver/bitcoin copying electrumpersonalserver/bitcoin/init.py -> build/lib/electrumpersonalserver/bitcoin copying electrumpersonalserver/bitcoin/secp256k1_deterministic.py -> build/lib/electrumpersonalserver/bitcoin copying electrumpersonalserver/bitcoin/secp256k1_transaction.py -> build/lib/electrumpersonalserver/bitcoin copying electrumpersonalserver/bitcoin/main.py -> build/lib/electrumpersonalserver/bitcoin copying electrumpersonalserver/bitcoin/py3specials.py -> build/lib/electrumpersonalserver/bitcoin copying electrumpersonalserver/bitcoin/secp256k1_main.py -> build/lib/electrumpersonalserver/bitcoin running egg_info writing electrum_personal_server.egg-info/PKG-INFO writing dependency_links to electrum_personal_server.egg-info/dependency_links.txt writing entry points to electrum_personal_server.egg-info/entry_points.txt writing top-level names to electrum_personal_server.egg-info/top_level.txt reading manifest file 'electrum_personal_server.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'doc/*.md' adding license file 'LICENCE' writing manifest file 'electrum_personal_server.egg-info/SOURCES.txt' creating build/lib/electrumpersonalserver/certs copying electrumpersonalserver/certs/cert.crt -> build/lib/electrumpersonalserver/certs copying electrumpersonalserver/certs/cert.key -> build/lib/electrumpersonalserver/certs running install_lib running install_data error: can't copy 'config.ini_sample': doesn't exist or not a regular file [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure

× Encountered error while trying to install package. ╰─> electrum-personal-server

note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.


Can someone help? Thank you