Note that there are some explanatory texts on larger screens.

plurals
  1. PONose Test Error
    primarykey
    data
    text
    <p>I am using the command</p> <pre><code>nosetests -v --with-coverage --cover-package=task --cover-erase --cover-html-dir=cover --cover-html --with-xunit task </code></pre> <p>to run the test cases but in the end after running all the testcases I get the nosetests.xml blank and the following error.</p> <pre><code>Traceback (most recent call last): File "/home/nishant-un/env/bin/nosetests", line 9, in &lt;module&gt; load_entry_point('nose==1.0.0', 'console_scripts', 'nosetests')() File "/home/nishant-un/env/local/lib/python2.7/site-packages/nose/core.py", line 118, in __init__ **extra_args) File "/usr/lib/python2.7/unittest/main.py", line 95, in __init__ self.runTests() File "/home/nishant-un/env/local/lib/python2.7/site-packages/nose/core.py", line 197, in runTests result = self.testRunner.run(self.test) File "/home/nishant-un/env/local/lib/python2.7/site-packages/nose/core.py", line 61, in run test(result) File "/home/nishant-un/env/local/lib/python2.7/site-packages/nose/suite.py", line 176, in __call__ return self.run(*arg, **kw) File "/home/nishant-un/env/local/lib/python2.7/site-packages/nose/suite.py", line 223, in run test(orig) File "/home/nishant-un/env/local/lib/python2.7/site-packages/nose/suite.py", line 176, in __call__ return self.run(*arg, **kw) File "/home/nishant-un/env/local/lib/python2.7/site-packages/nose/suite.py", line 223, in run test(orig) File "/home/nishant-un/env/local/lib/python2.7/site-packages/nose/suite.py", line 176, in __call__ return self.run(*arg, **kw) File "/home/nishant-un/env/local/lib/python2.7/site-packages/nose/suite.py", line 223, in run test(orig) File "/home/nishant-un/env/local/lib/python2.7/site-packages/nose/suite.py", line 176, in __call__ return self.run(*arg, **kw) File "/home/nishant-un/env/local/lib/python2.7/site-packages/nose/suite.py", line 223, in run test(orig) File "/home/nishant-un/env/local/lib/python2.7/site-packages/nose/suite.py", line 176, in __call__ return self.run(*arg, **kw) File "/home/nishant-un/env/local/lib/python2.7/site-packages/nose/suite.py", line 223, in run test(orig) File "/home/nishant-un/env/local/lib/python2.7/site-packages/nose/suite.py", line 176, in __call__ return self.run(*arg, **kw) File "/home/nishant-un/env/local/lib/python2.7/site-packages/nose/suite.py", line 223, in run test(orig) File "/home/nishant-un/env/local/lib/python2.7/site-packages/nose/case.py", line 45, in __call__ return self.run(*arg, **kwarg) File "/home/nishant-un/env/local/lib/python2.7/site-packages/nose/case.py", line 138, in run result.addError(self, err) File "/home/nishant-un/env/local/lib/python2.7/site-packages/nose/proxy.py", line 118, in addError formatted = plugins.formatError(self.test, err) File "/home/nishant-un/env/local/lib/python2.7/site-packages/nose/plugins/manager.py", line 94, in __call__ return self.call(*arg, **kw) File "/home/nishant-un/env/local/lib/python2.7/site-packages/nose/plugins/manager.py", line 136, in chain result = meth(*arg, **kw) File "/home/nishant-un/env/local/lib/python2.7/site-packages/nose/plugins/logcapture.py", line 223, in formatError test.capturedLogging = records = self.formatLogRecords() File "/home/nishant-un/env/local/lib/python2.7/site-packages/nose/plugins/logcapture.py", line 231, in formatLogRecords return [safe_str(format(r)) for r in self.handler.buffer] File "/usr/lib/python2.7/logging/__init__.py", line 723, in format return fmt.format(record) File "/usr/lib/python2.7/logging/__init__.py", line 464, in format record.message = record.getMessage() File "/usr/lib/python2.7/logging/__init__.py", line 328, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting </code></pre> <p>I have tried almost everything that i found in google. Even deleted .coverage file and all .pyc but it still shows the same error.Any Idea..?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload