Habitualmente uso vim +PluginUpdate
para mantener mis plugins actualizados, y habitualmente me encuentro que python-mode falla con este error
[2020-01-14 18:21:34] Plugin klen/python-mode
[2020-01-14 18:21:34] $ cd '/home/jorge/.vim/bundle/python-mode' && git pull && git submodule update --init --recursive
[2020-01-14 18:21:34] > Already up to date.
[2020-01-14 18:21:34] > error: Server does not allow request for unadvertised object 837ecd3d7a8597ab5f28bc83072de68e16470f1e
[2020-01-14 18:21:34] > Fetched in submodule path 'submodules/pylama', but it did not contain 837ecd3d7a8597ab5f28bc83072de68e16470f1e. Direct fetching of
La forma de corregirlo es la siguiente:
jorge@portege:~$ cd .vim/bundle/python-mode
jorge@portege:~/.vim/bundle/python-mode (develop)$ git submodule sync
Synchronizing submodule url for 'submodules/astroid'
Synchronizing submodule url for 'submodules/autopep8'
Synchronizing submodule url for 'submodules/mccabe'
Synchronizing submodule url for 'submodules/pycodestyle'
Synchronizing submodule url for 'submodules/pydocstyle'
Synchronizing submodule url for 'submodules/pyflakes'
Synchronizing submodule url for 'submodules/pylama'
Synchronizing submodule url for 'submodules/pylint'
Synchronizing submodule url for 'submodules/rope'
Synchronizing submodule url for 'submodules/snowball_py'
De esta manera ya se puede volver a ejecutar vim +PluginUpdate
sin problema.
fuente: https://github.com/python-mode/python-mode/issues/901
Deja una respuesta