Comments (6)
When you mention windows, it makes me think that the path may have spaces in it. Is that the case? I believe that would break things, but that is fixable on the plugin's end.
If that is not the case, could you change lines 181 and 182 so that they look like this:
echom "Current buffer " . current_buffer
echom "path " . path
That should put the debug info into :messages
, so that we know what exactly is that path and the current buffer. If you could reply with the information from those variables, that could give us some light about what is going on.
Thank you for reporting this.
from coveragepy.vim.
I dont have any spaces in the path. U mean lines 101 and 102?
from coveragepy.vim.
Apologies, yes, line 101 and 102.
Not having spaces is OK. Lets see what those echom
say in :messages
from coveragepy.vim.
Error detected while processing function 27_Proxy..27_HighlightMissing:
line 14:
E63: invalid use of _
Current buffer Z:\ai\all\mod\m____foo\pyb\src\pyb\engine_test\test_py
path Z:\ai\all\mod\m____foo\pyb\src\pyb\engine\timestep
from coveragepy.vim.
OK, I can't reproduce as it seems this is a Windows-only problem.
Can you try escaping the comparison on line 103 so that it looks like:
if fnameescape(current_buffer) =~ fnameescape(path)
And see if that fixes it?
from coveragepy.vim.
Closing as I was not able to reproduce and I got no feedback to implement a fix.
from coveragepy.vim.
Related Issues (18)
- HighlightMissing getting called HOT 7
- Add support for "branch coverage" (was: Calling "Coveragepy report" yields "Error detected while processing function …") HOT 17
- Broken with coverage 4.0.3 HOT 5
- Error when using this plugin HOT 6
- Bad window height when showing report HOT 6
- Request: alternative, subtler display style. HOT 14
- Should only unplace own signs HOT 2
- Act as a provider for google/vim-coverage? HOT 1
- Highlighting does not work in Windows HOT 4
- Signs are always placed in the first pane HOT 9
- Error 117: Unknown function: execute HOT 9
- Can we have an option to not open LastSession.coveragepy window at the bottom? HOT 3
- Detecting coverage executable, handling py2/py3 HOT 2
- Couldn't get Coveragpy command to load HOT 4
- Unable to run plugin HOT 1
- refresh coverage lines HOT 7
- Session show toggle off sign marks HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coveragepy.vim.