gpt4 book ai didi

mercurial - Windows 10 上的 Tortoisehg Workbench 打不开

转载 作者:行者123 更新时间:2023-12-05 07:32:46 25 4
gpt4 key购买 nike

我从官方网站 here 下载了 tortoisehg 应用程序,它是 4.6.1,当我点击 tortoishg 工作台时,它没有打开,也没有显示错误,当我什至尝试使用命令行克隆时,我得到了这个错误

adding changesets
adding manifests
adding file changes
transaction abort!
rollback completed
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 4.4.1)
** Extensions loaded:
Traceback (most recent call last):
File "hg", line 61, in <module>
File "mercurial\dispatch.pyo", line 85, in run
File "mercurial\dispatch.pyo", line 173, in dispatch
File "mercurial\dispatch.pyo", line 313, in _runcatch
File "mercurial\dispatch.pyo", line 321, in _callcatch
File "mercurial\scmutil.pyo", line 154, in callcatch
File "mercurial\dispatch.pyo", line 303, in _runcatchfunc
File "mercurial\dispatch.pyo", line 940, in _dispatch
File "mercurial\dispatch.pyo", line 701, in runcommand
File "mercurial\dispatch.pyo", line 948, in _runcommand
File "mercurial\dispatch.pyo", line 937, in <lambda>
File "mercurial\util.pyo", line 1183, in check
File "mercurial\commands.pyo", line 1425, in clone
File "mercurial\hg.pyo", line 670, in clone
File "mercurial\exchange.pyo", line 1294, in pull
File "mercurial\exchange.pyo", line 1936, in _maybeapplyclonebundle
File "mercurial\exchange.pyo", line 2119, in trypullbundlefromurl
File "mercurial\bundle2.pyo", line 342, in applybundle
File "mercurial\bundle2.pyo", line 449, in processbundle
File "mercurial\bundle2.pyo", line 456, in processparts
File "mercurial\bundle2.pyo", line 523, in _processpart
File "mercurial\bundle2.pyo", line 1620, in handlechangegroup
File "mercurial\bundle2.pyo", line 459, in _processchangegroup
File "mercurial\changegroup.pyo", line 341, in apply
File "mercurial\changegroup.pyo", line 972, in _addchangegroupfiles
File "mercurial\ui.pyo", line 1552, in progress
File "mercurial\progress.pyo", line 301, in progress
File "mercurial\progress.pyo", line 156, in show
File "mercurial\encoding.pyo", line 227, in colwidth
LookupError: unknown encoding: cp65001

我不知道这是什么问题,我总是设置应用程序并且一切顺利,如果我必须先安装任何东西或检查是否一切正常,请提出建议

提前致谢

最佳答案

在我询问之后here在官方问题列表中(感谢@DaveInCaz),我得到了解决方案

"cp65001(UTF-8 的 Windows 变体)在 Python 2.x 上似乎不受支持。

解决方法:设置 HGENCODING=utf8 环境变量。"

这里是 link .

关于mercurial - Windows 10 上的 Tortoisehg Workbench 打不开,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51066725/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com