Public bug reported:

After adding --with-coverage to NOSE_ARGS I get this exception from
./manage.py test

Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python2.7/dist-packages/nose/plugins/multiprocess.py", line 
625, in runner
    keyboardCaught, shouldStop, loaderClass, resultClass, config)
  File "/usr/lib/python2.7/dist-packages/nose/plugins/multiprocess.py", line 
642, in __runner
    config.plugins.begin()
  File "/usr/lib/python2.7/dist-packages/nose/plugins/manager.py", line 94, in 
__call__
    return self.call(*arg, **kw)
  File "/usr/lib/python2.7/dist-packages/nose/plugins/manager.py", line 162, in 
simple
    result = meth(*arg, **kw)
  File "/usr/lib/python2.7/dist-packages/nose/plugins/cover.py", line 155, in 
begin
    if self.coverErase:
AttributeError: 'Coverage' object has no attribute 'coverErase'

I see this exception once from each process, and then the test run
freezes (presumably because the main process is waiting for some of the
dead child processes to do some work).

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: python-nose 1.1.2-3
ProcVersionSignature: Ubuntu 3.2.0-41.66-generic 3.2.42
Uname: Linux 3.2.0-41-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu17.2
Architecture: i386
Date: Sun May 12 09:48:02 2013
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: nose
UpgradeStatus: Upgraded to precise on 2012-05-08 (368 days ago)

** Affects: nose (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 precise

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1179151

Title:
  nose coverage throws AttributeError and freezes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nose/+bug/1179151/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to