-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
老大告诉我 在Termux安装到底要先装什么? #41
Comments
Termux没有测试过,看起来是对json中第三行 |
之前我看wiki,就把第三行值改成了Accesser.log,改回null后可以启动,但新错误紧随而来 |
可以尝试注释掉DoH.py的133-139行,好像所有的DoH测试都失败了?可能后面还是会有问题。 DoH.py已不再维护(#10),dev分支中使用了dnscrypt-proxy,他们有在Termux上测试过,把Android版的编译好的dnscrypt-proxy放在dnscrypt目录下应该就行。 另外建议加 |
注释掉没有解决问题,话说应该是133-138行吧。。 |
抱歉,是不太对,估计是看的是不同时间提交的代码。以下代码涉及自动选择DoH服务器。 Lines 133 to 136 in 1a9a85d
还在dev分支,建议使用 e75e6a3 这个点(后面可能会有些不稳定的更改)。 |
谢谢老大,可以正常运行了,可以在wiki里增加Termux的用例啦。PS:要是能提供一个不在Bash上打印日志的选项就更好了😀 |
@cok3307788 你是注释DoH.py部分代码还是用dev分支? json第三行(也就是 |
注释无用(会报错nonetype error),用的是Dev分支,放入dnscrypt-proxy的方法。 |
(骁龙625)aarch64 , Android7.1.2 ,Termux 65 , Python3.7
clone完毕,从python acceseer.py开始
tornado
tld
dns
openssl
cffi
cryptography
。。。。
个个都 no found,疯狂报错
好不容易不说module no found了,给我整个报错如下
Traceback (most recent call last): File "accesser.py", line 36, in <module> from utils import certmanager as cm File "/data/data/com.termux/files/home/Accesser/utils/certmanager.py", line 25, in <module> from .setting import basepath File "/data/data/com.termux/files/home/Accesser/utils/setting.py", line 12, in <module> config = json.load(f) File "/data/data/com.termux/files/usr/lib/python3.7/json/__init__.py", line 296, in load parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw) File "/data/data/com.termux/files/usr/lib/python3.7/json/__init__.py", line 348, in loads return _default_decoder.decode(s) File "/data/data/com.termux/files/usr/lib/python3.7/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/data/data/com.termux/files/usr/lib/python3.7/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 3 column 16 (char 28)
The text was updated successfully, but these errors were encountered: