Re: [sympy] coverage keep saying "Only one coverage object allowed."

11 views
Skip to first unread message

Aaron Meurer

unread,
Aug 9, 2012, 10:20:15 PM8/9/12
to sy...@googlegroups.com
What version of coverage do you have? You can find out by running

import coverage
coverage.__version__

from within python.

Aaron Meurer

On Thu, Aug 9, 2012 at 5:06 PM, kendhia <ken...@gmail.com> wrote:
> When i try to make a coverage report using coverage_reporte.py utilitie in
> ubuntu 10.4 (python 2.6) i received this problem :
>
> input : python ./bin/coverage_report.py sympy/matrices
>
> output : Traceback (most recent call last):
> File "./bin/coverage_report.py", line 99, in <module>
> make_report(source_dir, **options.__dict__)
> File "./bin/coverage_report.py", line 61, in make_report
> cov = coverage.coverage()
> File "/usr/lib/python2.6/dist-
> packages/coverage.py", line 303, in __init__
> raise CoverageException("Only one coverage object allowed.")
> coverage.CoverageException: Only one coverage object allowed.
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/sympy/-/yOCPuRRJDqsJ.
> To post to this group, send email to sy...@googlegroups.com.
> To unsubscribe from this group, send email to
> sympy+un...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/sympy?hl=en.

kendhia

unread,
Aug 10, 2012, 7:17:29 AM8/10/12
to sy...@googlegroups.com
my version is :  '3.5.3b1'



Dia Ken

unread,
Aug 10, 2012, 9:13:54 AM8/10/12
to sy...@googlegroups.com
I think the problem was in the python-coverage package , i reinstalled manually and it works now .

On 10 August 2012 12:17, kendhia <ken...@gmail.com> wrote:
my version is :  '3.5.3b1'




--
You received this message because you are subscribed to the Google Groups "sympy" group.
To view this discussion on the web visit https://groups.google.com/d/msg/sympy/-/cKohZ3a32egJ.

To post to this group, send email to sy...@googlegroups.com.
To unsubscribe from this group, send email to sympy+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sympy?hl=en.



--
Greeting!
Kendhia :)


Reply all
Reply to author
Forward
0 new messages