Updated PKGBUILD https://pastebin.com/k445k7eB
Search Criteria
Package Details: zeronet 0.7.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/zeronet.git (read-only, click to copy) |
---|---|
Package Base: | zeronet |
Description: | Decentralized websites using Bitcoin crypto and the BitTorrent network. |
Upstream URL: | https://zeronet.io/ |
Licenses: | GPL2 |
Submitter: | redfish |
Maintainer: | redfish |
Last Packager: | redfish |
Votes: | 77 |
Popularity: | 0.000000 |
First Submitted: | 2016-01-17 07:43 (UTC) |
Last Updated: | 2019-10-19 07:58 (UTC) |
Dependencies (21)
- geoip2-database (geoipupdate)
- python (python37AUR, python311AUR, python310AUR)
- python-base58AUR
- python-bencode.pyAUR
- python-bitcoinlib
- python-coincurveAUR
- python-gevent (python-gevent-gitAUR)
- python-gevent-websocket
- python-maxminddb
- python-merkletoolsAUR
- python-msgpack
- python-pyasn1
- python-pyasn1-modules
- python-pyellipticAUR
- python-pysocks
- python-rsa
- python-websocket-client (python-websocket-client-gitAUR)
- python-mockAUR (check)
- python-pytest (check)
- namecoin-coreAUR (optional) – local name resolution
- tor (tor-gitAUR, tor-unstableAUR) (optional) – anonymity
Required by (0)
Sources (3)
blx32 commented on 2020-04-15 17:07 (UTC)
Ergus commented on 2020-04-05 22:01 (UTC)
I cant build the package. I get this error:
build/temp.linux-x86_64-3.8/_libsecp256k1.c:541:10: fatal error: secp256k1_ecdh.h: No such file or directory 541 | #include <secp256k1_ecdh.h> | ^~~~~~~~~~~~~~~~~~ compilation terminated. error: command 'gcc' failed with exit status 1 ==> ERROR: A failure occurred in build(). Aborting... Error making: python-coincurve
SleepingFox commented on 2020-03-31 05:07 (UTC)
Checking file conflicts...
Failed to commit transaction:
conflicting files:
gunicorn: /usr/bin/gunicorn already exists in filesystem
Any idea what this issue is about?
maxweiss commented on 2020-02-06 11:51 (UTC) (edited on 2020-02-06 12:04 (UTC) by maxweiss)
@TJM @redfish easy fix is to run:
sudo find /opt/zeronet/ -name "*.pyc" -type f -delete
And for the package build, you could simply run that on the pkgdir folder.
Additionally, the file src/Ui/UiServer.py needs to be patched to reflect the changes here: https://github.com/HelloZeroNet/ZeroNet/pull/2307/files
TJM commented on 2019-12-31 09:23 (UTC)
Upstream maintainer suggests the package owner either removing *pyc files
or updating the write permissions.
TJM commented on 2019-12-24 11:01 (UTC)
Upstream issue created: https://github.com/HelloZeroNet/ZeroNet/issues/2375
redfish commented on 2019-12-13 05:16 (UTC)
@TJM: please file an issue on upstream Github for that error.
TJM commented on 2019-12-07 02:07 (UTC)
There are some problems since the last update. I cannot launch zeronet properly.
-- Logs begin at Fri 2019-10-04 22:06:41 UTC, end at Sat 2019-12-07 02:03:55 UTC. --
Dec 07 01:27:19 localhost systemd[1]: Started Decentralized websites using Bitcoin crypto and the BitTorrent network.
Dec 07 01:27:32 localhost zeronet[1566]: [17:27:32] PluginManager Plugin AnnounceBitTorrent load error: ImportError: bad magic number in 'bencode': b'\x03\xf3\r\n' in PluginManager.py line 138 > AnnounceBitTorrent/__init__.py line 1 > AnnounceBitTorrent/AnnounceBitTorrentPlugin.py line 6
Dec 07 01:27:34 localhost zeronet[1566]: [17:27:34] PluginManager Plugin Bigfile load error: ImportError: bad magic number in 'merkletools': b'\x03\xf3\r\n' in PluginManager.py line 138 > Bigfile/__init__.py line 1 > Bigfile/BigfilePlugin.py line 20
Dec 07 01:27:35 localhost zeronet[1566]: [17:27:35] - Libsecp256k1 load failed: No module named 'coincurve', try to load OpenSSL
Dec 07 01:27:35 localhost zeronet[1566]: [17:27:35] - OpenSSL load failed: No module named 'bitcoin', falling back to slow bitcoin verify
Dec 07 01:27:36 localhost zeronet[1566]: [17:27:36] - Patching sockets to tor socks proxy: 127.0.0.1:9050
Dec 07 01:27:36 localhost zeronet[1566]: [17:27:36] - Version: 0.7.0 r4206, Python 3.8.0 (default, Oct 23 2019, 18:51:26)
Dec 07 01:27:36 localhost zeronet[1566]: [GCC 9.2.0], Gevent: 1.4.0
Dec 07 01:27:42 localhost zeronet[1566]: [17:27:42] - Unhandled exception: bad magic number in 'geventwebsocket': b'\x03\xf3\r\n'
Dec 07 01:27:42 localhost zeronet[1566]: Traceback (most recent call last):
Dec 07 01:27:42 localhost zeronet[1566]: File "zeronet.py", line 17, in main
Dec 07 01:27:42 localhost zeronet[1566]: main.start()
Dec 07 01:27:42 localhost zeronet[1566]: File "/opt/zeronet/src/main.py", line 537, in start
Dec 07 01:27:42 localhost zeronet[1566]: actions.call(config.action, action_kwargs)
Dec 07 01:27:42 localhost zeronet[1566]: File "/opt/zeronet/src/main.py", line 121, in call
Dec 07 01:27:42 localhost zeronet[1566]: back = func(**kwargs)
Dec 07 01:27:42 localhost zeronet[1566]: File "/opt/zeronet/src/main.py", line 129, in main
Dec 07 01:27:42 localhost zeronet[1566]: from Ui import UiServer
Dec 07 01:27:42 localhost zeronet[1566]: File "/opt/zeronet/src/Ui/__init__.py", line 1, in <module>
Dec 07 01:27:42 localhost zeronet[1566]: from .UiServer import UiServer
Dec 07 01:27:42 localhost zeronet[1566]: File "/opt/zeronet/src/Ui/UiServer.py", line 10, in <module>
Dec 07 01:27:42 localhost zeronet[1566]: from geventwebsocket.handler import WebSocketHandler
Dec 07 01:27:42 localhost zeronet[1566]: ImportError: bad magic number in 'geventwebsocket': b'\x03\xf3\r\n'
Dec 07 01:27:42 localhost zeronet[1566]: - Starting ZeroNet...
Dec 07 01:27:42 localhost zeronet[1566]: ---
Dec 07 01:27:42 localhost zeronet[1566]: Please report it: https://github.com/HelloZeroNet/ZeroNet/issues/new?assignees=&labels=&template=bug-report.md
Dec 07 01:27:46 localhost systemd[1]: zeronet.service: Succeeded.
redfish commented on 2019-06-08 17:26 (UTC)
@theZorro266: the service file override shouldn't be needed, zeronet reacts fine to SIGTERM:
- Shutting down (reason: SIGTERM)...
The DataDirectoryGroupReadable appears to be working for me after startup, but at some later point the permissions become broken again (drwx------).
There is a Tor bug in upstream regarding dir permissions (not sure if related): https://trac.torproject.org/projects/tor/ticket/28356
Also, there were problems with this flag in the past (since fixed): https://trac.torproject.org/projects/tor/ticket/26913 https://trac.torproject.org/projects/tor/ticket/19953
Pinned Comments
redfish commented on 2016-11-26 05:06 (UTC) (edited on 2023-09-04 03:12 (UTC) by redfish)
Before marking as out-of-date, please check current release at https://github.com/HelloZeroNet/ZeroNet/releases
Upstream releases unconventionally: the new version is pushed to users via the ZeroNet network before that version is actually released (if you care, then please tell upstream this is not a good approach). If you want the very latest version, use the VCS package: zeronet-git