Comments (11)
我还没搞清楚怎么复现。
你先把 checkprocess
选项设为 0,跳过检查。
from gotox.
可能是系统不一样引起的,我的是 Win7,你的是什么系统?
你能不能把下面这句加在出错的 118 行前面,看看有什么结果?checkprocess
要启用。
print('结果=', repr(modname.value))
path = modname.value.decode()
from gotox.
win8.1 x64
好了,把 checkprocess 选项设为 0 就可以运行了。
from gotox.
Traceback (most recent call last):
File "start.py", line 13, in
from local import proxy
File "C:\Users\ku888_000\Desktop\GAE\local\proxy.py", line 118
print('结果=', repr(modname.value))
^
TabError: inconsistent use of tabs and spaces in indentation
from gotox.
你好像把制表符复制进去了。
这个 print 语句是与后一句 path 相同缩进位置的,你把 print 前的空白全部删除,再用空格加回去,应该就能正常运行这一句。
麻烦你重试一下,谢谢。
from gotox.
==
结果= b'C:\Windows\System32\taskhostex.exe'
结果= b'C:\Windows\System32\InputMethod\CHS\ChsIME.exe'
结果= b'C:\Windows\explorer.exe'
结果= b'C:\Program Files (x86)\NVIDIA Corporation\Update Core\NvBackend.exe'
结果= b'C:\Windows\System32\SkyDrive.exe'
结果= b'C:\Windows\System32\SettingSyncHost.exe'
结果= b'J:\Program Files\palemoon\Bin\Palemoon\palemoon.exe'
结果= b'J:\Program Files\palemoon\Bin\Palemoon\plugin-container.exe'
结果= b'C:\Program Files\WindowsApps\41095344.PPStream_3.2.2.4_x64__z6zadccf1
nq96\iQiyiVideo.Windows.exe'
结果= b'C:\Windows\System32\RuntimeBroker.exe'
结果= b'J:\Program Files\palemoon\Bin\Palemoon\plugin-container.exe'
结果= b'K:\\xd7\xc0\xc3\xe6\\xb7\xad\xc7\xbd\notepad.6.9.2\notepad++.exe'
Traceback (most recent call last):
File "start.py", line 14, in
proxy.main()
File "C:\Users\ku888_000\Desktop\GAE\local\proxy.py", line 276, in main
pre_start()
File "C:\Users\ku888_000\Desktop\GAE\local\proxy.py", line 225, in pre_start
tasklist = dict((x.name.lower(), x) for x in get_process_list())
File "C:\Users\ku888_000\Desktop\GAE\local\proxy.py", line 119, in get_process
_list
path = modname.value.decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd7 in position 3: invalid
continuation byte
from gotox.
看到了,等我搞定就修复,谢谢。
from gotox.
@cixi666
已经修复。
今晚网络质量太差了,放弃 GitHub 客户端同步,改用上传。
from gotox.
改用上传?意思是直接在 github web 网页上上传更新代码?
from gotox.
对,就是网页上传。
顺便吐个槽:我太小看 git 了,知道它复杂,但没想到会这么复杂!
昨天传完修改后,还是想不过,又去找设置 git 代理的方法,以前找过觉得麻烦,反正能用就行。
好多都是讲 Linux 的,也不知道 Win 能用不,就在 Shell 打了git help config
,结果跳出一本地网页。
一看吓一跳,无它,就是太长了,怪不得要用网页。
还没完,这应该只是设置部分,还有用法,进入文件夹一看,我 X,11M!整整 11M 的网页文件!算纯文本也有 7、8M 吧,我之前用过有 Linux 基因的 MPV 播放器说明文档才 500+k,已经觉得很复杂了。不就一版本控制工具么,要不要这么凶残,太可怕鸟!果然还是我大 Windows 够傻瓜。
然后还是老老实实去刚弹出来的网页找怎么设置代理,结果发现网上也是不靠谱的多,只需一句就行:
git config --global http.proxy http://127.0.0.1:8087
下面这句没必要,根本就没这设置,即使有地址格式也应该仍然是 http://127.0.0.1:8087
:
git config --global https.proxy https://127.0.0.1:8087
from gotox.
恩,git 走代理没问题,我以前测试过。
from gotox.
Related Issues (20)
- IPv6可用性判断有误 HOT 1
- appspot.com 好像挂了 HOT 1
- cloudflare tunnel 映射gotox端口 HOT 5
- twitter广告 HOT 1
- 在twitch上看直播时经常卡顿 HOT 3
- 抱歉不小心发错地方了,请close吧,好像没找到地方自己删掉
- 请问可以做到先设置一个socks5代理然后通过代理访问cfw吗? HOT 1
- 请教在路由器如何运行 HOT 1
- overhttpsserver及untrusted CA HOT 1
- 请问可以使用指定的 IP 地址来连接一个域名吗? HOT 1
- 请问gotox可以增加对doh和ech的支持吗? HOT 2
- 请问为什么有网情况下一段时间后会出现IPv4 网络现在不可用 HOT 5
- 在IPv6环境下gotox经常Segmentation fault HOT 6
- Worker 今天下午大批量出现错误。无法请求了! HOT 33
- 又准备开大会了
- 部分网站兼容有问题 HOT 3
- aws支持 HOT 7
- 在Ubuntu上运行产生报错 HOT 2
- 想问一个网站兼容问题咨询 HOT 2
- 新版无法启动 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gotox.