@@ -140,6 +140,7 @@ If your question is not described there then you already know what to do
140140Nevertheless just a refresher on how to submit bugs:
141141
142142** (From the FAQ)**
143+
143144Clear all python cache/compiled files (` *.pyc ` files and ` __pycache__ `
144145directory and everything under it). In Linux/Unix/MacOS you can run:
145146
@@ -159,6 +160,15 @@ plugin seems broken.
159160
160161*** Do check for sensitive information in the file before submitting.***
161162
163+ Please, also provide more contextual information such as:
164+
165+ * your Operational System (Linux, WIndows, Mac) and which version
166+ * the ` vim --version ` output
167+ * which is your default python (` python --version ` )
168+ * the python version that vim has loaded in your tests:
169+ * ` :PymodePython import sys; print(sys.version_info) ` output.
170+ * and if you are using virtualenvs and/or conda, also state that, please.
171+
162172# Frequent problems
163173
164174Read this section before opening an issue on the tracker.
@@ -172,10 +182,24 @@ checking (e.g. for async) add:
172182
173183To your vimrc or exrc file.
174184
175- ## Symlinks on Windows
185+ ## Symlinks on Windows
186+
187+ Users on Windows OS might need to add ` -c core.symlinks=true ` switch to
188+ correctly clone / pull repository. Example: `git clone --recurse-submodules
189+ https://github.com/python-mode/python-mode -c core.symlinks=true`
190+
191+ ## Error updating the plugin
192+
193+ If you are trying to update the plugin (using a plugin manager or manually) and
194+ you are seeing an error such as:
195+
196+ > Server does not allow request for unadvertised object
197+
198+ Then we probably changed some repo reference or some of our dependencies had a
199+ ` git push --force ` in its git history. So the best way for you to handle it is
200+ to run, inside the ` python-mode ` directory:
176201
177- Users on Windows OS might need to add ` -c core.symlinks=true ` switch to correctly clone / pull
178- repository. Example: ` git clone --recurse-submodules https://github.com/python-mode/python-mode -c core.symlinks=true `
202+ ` git submodule sync --recursive `
179203
180204# Documentation
181205
0 commit comments