Issue #228 on hold

Jquery file error when running from working tree

Niklas Hambüchen
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 (3)

  1. Niklas Hambüchen reporter

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

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

  2. Ned Batchelder repo owner

    What version of Python are you using? Can you provide more details? OS version? I tried this with Python 2.7 and Python 3.3, and didn't see this behavior.

  3. Log in to comment