Giter Club home page Giter Club logo

Comments (6)

alfredodeza avatar alfredodeza commented on July 30, 2024

@esc are you using branch coverage? Also, what version of coverage.py are you using?

Can you try doing :Coveragepy session to see how that looks like?

from coveragepy.vim.

esc avatar esc commented on July 30, 2024

So I found out why this happens, my coverage output has the following in it:

12, 16, 11->12

And I presume that the splitter can not handle the -> sign.

from coveragepy.vim.

alfredodeza avatar alfredodeza commented on July 30, 2024

@esc we do have support for that:
https://github.com/alfredodeza/coveragepy.vim/blob/master/ftplugin/python/coveragepy.vim#L232-L237

Would you be so kind and provide the following so I can debug this:

  • coverage version
  • :Coveragepy session output

from coveragepy.vim.

esc avatar esc commented on July 30, 2024

Version:

coverage --version
Coverage.py, version 4.0.3.
Documentation at https://coverage.readthedocs.org

Session output:


Error detected while processing function <SNR>128_Proxy..<SNR>128_LastSession..<SNR>128_CoveragepyReport..<SNR>128_ReportParse..<SNR>128_LineNumberParse:
line   11:
E727: Start past end
E714: List required
Error detected while processing function <SNR>128_Proxy..<SNR>128_LastSession..<SNR>128_CoveragepyReport..<SNR>128_ReportParse:
line    9:
E706: Variable type mismatch for: all_line_nos

from coveragepy.vim.

esc avatar esc commented on July 30, 2024

Ah, I think I had an old version of the plugin w/o the support for ->, sorry for the noise.

from coveragepy.vim.

alfredodeza avatar alfredodeza commented on July 30, 2024

@esc great! thanks so much for taking the time to report anyway :)

from coveragepy.vim.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.