@@ -140,6 +140,7 @@ If your question is not described there then you already know what to do
140
140
Nevertheless just a refresher on how to submit bugs:
141
141
142
142
** (From the FAQ)**
143
+
143
144
Clear all python cache/compiled files (` *.pyc ` files and ` __pycache__ `
144
145
directory and everything under it). In Linux/Unix/MacOS you can run:
145
146
@@ -159,6 +160,15 @@ plugin seems broken.
159
160
160
161
*** Do check for sensitive information in the file before submitting.***
161
162
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
+
162
172
# Frequent problems
163
173
164
174
Read this section before opening an issue on the tracker.
@@ -172,10 +182,24 @@ checking (e.g. for async) add:
172
182
173
183
To your vimrc or exrc file.
174
184
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:
176
201
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 `
179
203
180
204
# Documentation
181
205
0 commit comments