Skip to content

coverage.misc.CoverageException: Couldn't use data file '/path/to/.coverage': no such table: meta #916

@mdshw5

Description

@mdshw5

Describe the bug
This bug bit me this morning when old TravisCI builds reported failing suddenly with no code changes in my library. https://travis-ci.org/mdshw5/pyfaidx/jobs/633813559#L1187.

To Reproduce
How can we reproduce the problem? Please be specific.

  1. What version of Python are you using?
    3.5-3.7. For some reason 3.4 does not exhibit this issue.
  2. What version of coverage.py are you using? The output of coverage debug sys is helpful.
    I will try to figure this out.
  3. What versions of what packages do you have installed? The output of pip freeze is helpful.
  4. What code are you running? Give us a specific commit of a specific repo that we can check out.
    https://travis-ci.org/mdshw5/pyfaidx/jobs/633813559#L998
  5. What commands did you run?
    nosetests --with-coverage --cover-package=pyfaidx
    Expected behavior
    A clear and concise description of what you expected to happen.
    I expected coverage to be computed instead of a runtime error.
    Additional context
    I'll gladly provide more context where I can - I'm still reasoning about how to reproduce a Travis build locally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixed

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions