更新pymode储存库错误:服务器不允许请求

时间:2018-12-06 10:21:06

标签: python-mode

我运行以下命令:

 git submodule update --init --recursive

我知道了

error: Server does not allow request for unadvertised object 837ecd3d7a8597ab5f28bc83072de68e16470f1e
Fetched in submodule path 'submodules/pylama', but it did not contain 837ecd3d7a8597ab5f28bc83072de68e16470f1e. Direct fetching of that commit failed.

2 个答案:

答案 0 :(得分:0)

转到插件文件夹(对我来说是〜/ .vim / bundle / python-mode),然后转到问题插件文件夹并同步子模块(在git config和.gitmodules之间):

cd submodules/pylama
git submodule sync

此后,您应该能够照常更新python模式。

答案 1 :(得分:0)

我通过删除旧的pymode解决了问题,然后重新安装。