Jquery file error when running from working tree

Issue #228 closed
created an issue

When running coveragepy html from its hg source tree (with the new module-running feature) as python /path/to/coveragepy, I get the following error:

IOError: [Errno 2] No such file or directory: 'htmlcov/jquery.tablesorter.min.js'

And I have the following symlink in htmlcov: jquery.tablesorter.min.js -> /usr/share/javascript/jquery-tablesorter/jquery.tablesorter.min.js

It should probably take it from [WORKING_TREE]/coverage/htmlfiles/jquery.tablesorter.min.js.

Comments (4)

  1. NiklasH reporter

    I certainly did not put it there and htmlcov is created by coverage.py ... weird.

    I just run python /path/to/coveragepy run ... && python /path/to/coveragepy combine && python /path/to/coveragepy html.

  2. Log in to comment