question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

sectionFinder error thrown when trying to render

See original GitHub issue

When I click the “Watch” button, the extension runs until it outputs the following error message:

[1547136458662][coverageservice]: READY
[1547136458662][coverageservice]: RENDERING
[1547136469701][sectionFinder][path]__init__.py[error]Error: Found too many files with partial path __init__.py

At this point, all extensions in VSCode stop working until I reload the program.

All of my settings for the extension are stylistic:

    "coverage-gutters.showGutterCoverage": false,
    "coverage-gutters.showLineCoverage": true,
    "coverage-gutters.partialHighlightDark": "rgba(121, 86, 10, 0.0)",
    "coverage-gutters.partialHighlightLight": "rgba(220, 213, 143, 0.2)",
    "coverage-gutters.noHighlightDark": "rgba(121, 31, 10, 0.2)",
    "coverage-gutters.noHighlightLight": "rgba(220, 143, 143, 0.2)",
    "coverage-gutters.highlightdark": "rgba(45, 121, 10, 0.0)",
    "coverage-gutters.highlightlight": "rgba(166, 220, 142, 0.0)",
    "coverage-gutters.showRulerCoverage": true,

Here’s my system info: Version: 1.31.0-insider (user setup) Commit: 344f4fa361e098b49aeace9602e89275fbbd17bf Date: 2019-01-10T06:21:21.472Z Electron: 3.0.13 Chrome: 66.0.3359.181 Node.js: 10.2.0 V8: 6.6.346.32 OS: Windows_NT x64 10.0.15063

I am happy to provide more information, but I am not sure what is relevant. My coverage file is kept in the project root as cov.xml, and this project does have modules and submodules with __init.py__ files.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
ryanlukercommented, Apr 7, 2019

closing this as it will go out with the next release, thanks again for submitting an issue!

2reactions
ryanlukercommented, Mar 30, 2019

@s-weigand @iansan5653 might have figured out how to fix this, please try out the vsix below and let me know how it works!

vscode-coverage-gutters-2.4.0.zip

Read more comments on GitHub >

github_iconTop Results From Across the Web

[testing] how to catch an exception thrown from render? #228
Say you have a component that throws when rendering, how do you catch the exception in the test? I seems it always bubbles...
Read more >
"Error compiling movie" during render or export in Adobe ...
Follow this guide to find solutions to the compiling error when rendering or exporting from Adobe Premiere Elements.
Read more >
Why is this component being rendered after throwing an error?
The exact issue is that the error is being thrown twice because the BuggyCounter component gets rendered an extra time.
Read more >
Error Boundaries - React
Use static getDerivedStateFromError() to render a fallback UI after an error has been thrown. Use componentDidCatch() to log error information.
Read more >
Confluence page throws error java.lang.RuntimeException
Confluence throws an error Error : java.lang.RuntimeException: Error rendering template for decorator root while trying to display a page ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found