[SciPy-User] NumPy and SciPy test failures

Ralf Gommers ralf.gommers@googlemail....
Wed Feb 1 15:29:34 CST 2012


On Wed, Feb 1, 2012 at 8:41 PM, Mads M. Hansen <madsmh@gmail.com> wrote:

> Thanks, properly cleaning before building brought the errors down to
> one which follows,
>
> ======================================================================
> ERROR: Failure: AttributeError ('module' object has no attribute
> 'FileType')
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/usr/lib/python3.2/site-packages/nose/failure.py", line 37, in
> runTest
>    raise self.exc_class(self.exc_val).with_traceback(self.tb)
>  File "/usr/lib/python3.2/site-packages/nose/loader.py", line 390, in
> loadTestsFromName
>    addr.filename, addr.module)
>  File "/usr/lib/python3.2/site-packages/nose/importer.py", line 39,
> in importFromPath
>    return self.importFromDir(dir_path, fqname)
>  File "/usr/lib/python3.2/site-packages/nose/importer.py", line 86,
> in importFromDir
>    mod = load_module(part_fqname, fh, filename, desc)
>   File "/usr/lib64/python3.2/site-packages/scipy/weave/__init__.py",
> line 22, in <module>
>    from .blitz_tools import blitz
>  File "/usr/lib64/python3.2/site-packages/scipy/weave/blitz_tools.py",
> line 6, in <module>
>    from . import converters
>  File "/usr/lib64/python3.2/site-packages/scipy/weave/converters.py",
> line 19, in <module>
>    c_spec.file_converter(),
>  File "/usr/lib64/python3.2/site-packages/scipy/weave/c_spec.py",
> line 74, in __init__
>    self.init_info()
>  File "/usr/lib64/python3.2/site-packages/scipy/weave/c_spec.py",
> line 264, in init_info
>    self.matching_types = [types.FileType]
> AttributeError: 'module' object has no attribute 'FileType'
>
> ----------------------------------------------------------------------
>
> This failure is caused by the weave module not being py3k compatible. Is
known.

Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20120201/a45b2b8c/attachment.html 


More information about the SciPy-User mailing list