coverage.py problem

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Mon Mar 19 18:24:55 EDT 2007


En Mon, 19 Mar 2007 17:58:49 -0300, Orin <savalon at ukr.net> escribió:

> Hi,
> I have a problem in using coverage.py module in my project:
>
> ./cov -c
> Traceback (most recent call last):
> File "./cov", line 10, in ?
> coverage.the_coverage.command_line(sys.argv[1:])
>  File "/usr/lib/python2.4/site-packages/coverage.py", line 363, in
> command_line    self.collect()
>  File "/usr/lib/python2.4/site-packages/coverage.py", line 467, in
> collect
> for file in os.listdir(cache_dir):
> OSError: [Errno 2] No such file or directory: ''

It appears that cache_dir is an empty string (and shouldn't) - that's all  
I can say about that unknown module (to me).

-- 
Gabriel Genellina




More information about the Python-list mailing list