Infinite recursion when using cover-html

Issue #309 invalid
Former user created an issue

All other coverage output (text, xml) work fine, but when attempting to use cover-html we get stuck in an infinite loop until Python finally gives up.

The line in that causes this is applying the configuration, and I commented that out and re-ran and the report generates successful. I'm not entirely sure how to further debug, but am happy to help in whatever way I can! It's 100% reproducible, so hopefully can provide any other information to help get this resolved.

nose 1.3.3, coverage 3.7.1

Thanks! -Jay -

{code} Traceback (most recent call last): File "/Users/jshirley/.virtualenvs/vvv/bin/nosetests", line 9, in <module> load_entry_point('nose==1.3.3', 'console_scripts', 'nosetests')() File "/Users/jshirley/.virtualenvs/vvv/lib/python2.7/site-packages/nose/", line 121, in init extra_args) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/", line 95, in __init__ self.runTests() File "/Users/jshirley/.virtualenvs/vvv/lib/python2.7/site-packages/nose/", line 207, in runTests result = File "/Users/jshirley/.virtualenvs/vvv/lib/python2.7/site-packages/nose/", line 66, in run result.printErrors() File "/Users/jshirley/.virtualenvs/vvv/lib/python2.7/site-packages/nose/", line 110, in printErrors File "/Users/jshirley/.virtualenvs/vvv/lib/python2.7/site-packages/nose/plugins/", line 99, in __call__ return*arg, kw) File "/Users/jshirley/.virtualenvs/vvv/lib/python2.7/site-packages/nose/plugins/", line 167, in simple result = meth(arg, *kw) File "/Users/jshirley/.virtualenvs/vvv/lib/python2.7/site-packages/nose/plugins/", line 178, in report self.coverInstance.html_report(modules, self.coverHtmlDir) File "/Users/jshirley/.virtualenvs/vvv/lib/python2.7/site-packages/coverage/", line 662, in html_report return File "/Users/jshirley/.virtualenvs/vvv/lib/python2.7/site-packages/coverage/", line 105, in report m.update(self.config) File "/Users/jshirley/.virtualenvs/vvv/lib/python2.7/site-packages/coverage/", line 138, in update self.update(a) File "/Users/jshirley/.virtualenvs/vvv/lib/python2.7/site-packages/coverage/", line 138, in update self.update(a) {code}

Comments (1)

  1. Log in to comment