> Interesting, I cannot reproduce. You are talking about the neurospin
> branch, right?
I am talking about the main branch, but I actually get the same bug
with the neurospin branch.
> Could you run 'python -m pdb setup.py config' to introspect (enter
> 'continue' at the first promp) and print the value of d, k and v when
> this fails.
I get:
(Pdb) d
*** Newest frame
(Pdb) k
'libraries'
(Pdb) v
['g2c']
(Pdb)
Here is the complete log:
Microsoft Windows XP [version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
D:\home\AR203069\bzr\nipy\nipy>python -m pdb setup.py config
> d:\home\ar203069\bzr\nipy\nipy\setup.py(2)<module>()
-> import sys
(Pdb) continue
nipy\__init__.py:71: UserWarning: Running the tests from the install directory m
ay trigger some failures
warnings.warn('Running the tests from the install directory may '
lapack_opt_info:
lapack_mkl_info:
mkl_info:
libraries mkl,vml,guide not found in c:\mingw\lib
libraries mkl,vml,guide not found in c:\Libraries\lib
NOT AVAILABLE
NOT AVAILABLE
atlas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in c:\mingw\lib
libraries lapack_atlas not found in c:\mingw\lib
libraries ptf77blas,ptcblas,atlas not found in c:\Libraries\lib
libraries lapack_atlas not found in c:\Libraries\lib
numpy.distutils.system_info.atlas_threads_info
NOT AVAILABLE
atlas_info:
libraries f77blas,cblas,atlas not found in c:\mingw\lib
libraries lapack_atlas not found in c:\mingw\lib
libraries f77blas,cblas,atlas not found in c:\Libraries\lib
libraries lapack_atlas not found in c:\Libraries\lib
numpy.distutils.system_info.atlas_info
NOT AVAILABLE
Atlas (http://math-atlas.sourceforge.net/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [atlas]) or by setting
the ATLAS environment variable.
warnings.warn(AtlasNotFoundError.__doc__)
lapack_info:
libraries lapack not found in c:\mingw\lib
FOUND:
libraries = ['lapack', 'g2c']
library_dirs = ['c:\\Libraries\\lib', 'c:\\mingw\\lib']
language = f77
blas_info:
libraries blas not found in c:\mingw\lib
FOUND:
libraries = ['blas', 'g2c']
library_dirs = ['c:\\Libraries\\lib', 'c:\\mingw\\lib']
language = f77
Traceback (most recent call last):
File "C:\Python25\lib\pdb.py", line 1213, in main
pdb._runscript(mainpyfile)
File "C:\Python25\lib\pdb.py", line 1138, in _runscript
self.run(statement, globals=globals_, locals=locals_)
File "C:\Python25\lib\bdb.py", line 366, in run
exec cmd in globals, locals
File "<string>", line 1, in <module>
File "setup.py", line 107, in <module>
main(**extra_setuptools_args)
File "setup.py", line 103, in main
**extra_args)
File "c:\Python25\Lib\site-packages\numpy\distutils\core.py", line 152, in set
up
config = configuration()
File "setup.py", line 22, in configuration
config.add_subpackage('nipy', 'nipy')
File "c:\Python25\Lib\site-packages\numpy\distutils\misc_util.py", line 890, i
n add_subpackage
caller_level = 2)
File "c:\Python25\Lib\site-packages\numpy\distutils\misc_util.py", line 859, i
n get_subpackage
caller_level = caller_level + 1)
File "c:\Python25\Lib\site-packages\numpy\distutils\misc_util.py", line 796, i
n _get_configuration_from_setup_py
config = setup_module.configuration(*args)
File "nipy\setup.py", line 61, in configuration
nipy_info().set_info(**get_nipy_info())
File "c:\Python25\Lib\site-packages\numpy\distutils\system_info.py", line 433,
in set_info
dict_append(info,**lib_info)
File "c:\Python25\Lib\site-packages\numpy\distutils\system_info.py", line 1945
, in dict_append
d[k].extend(v)
AttributeError: 'str' object has no attribute 'extend'
Uncaught exception. Entering post mortem debugging
Running 'cont' or 'step' will restart the program
> c:\python25\lib\site-packages\numpy\distutils\system_info.py(1945)dict_append(
)
-> d[k].extend(v)
(Pdb) d
*** Newest frame
(Pdb) k
'libraries'
(Pdb) v
['g2c']
(Pdb)
Hi Gaël,
> Interesting, I cannot reproduce. You are talking about the neurospin
> branch, right?
I am talking about the main branch, but I actually get the same bug
with the neurospin branch.
> Could you run 'python -m pdb setup.py config' to introspect (enter
> 'continue' at the first promp) and print the value of d, k and v when
> this fails.
I get:
(Pdb) d
*** Newest frame
(Pdb) k
'libraries'
(Pdb) v
['g2c']
(Pdb)
Here is the complete log:
Microsoft Windows XP [version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
D:\home\ AR203069\ bzr\nipy\ nipy>python -m pdb setup.py config ar203069\ bzr\nipy\ nipy\setup. py(2)<module> () init__. py:71: UserWarning: Running the tests from the install directory m warn('Running the tests from the install directory may '
> d:\home\
-> import sys
(Pdb) continue
nipy\__
ay trigger some failures
warnings.
lapack_opt_info:
lapack_mkl_info:
mkl_info:
libraries mkl,vml,guide not found in c:\mingw\lib
libraries mkl,vml,guide not found in c:\Libraries\lib
NOT AVAILABLE
NOT AVAILABLE
atlas_threads_info: ptcblas, atlas not found in c:\mingw\lib ptcblas, atlas not found in c:\Libraries\lib .system_ info.atlas_ threads_ info
Setting PTATLAS=ATLAS
libraries ptf77blas,
libraries lapack_atlas not found in c:\mingw\lib
libraries ptf77blas,
libraries lapack_atlas not found in c:\Libraries\lib
numpy.distutils
NOT AVAILABLE
atlas_info: .system_ info.atlas_ info
libraries f77blas,cblas,atlas not found in c:\mingw\lib
libraries lapack_atlas not found in c:\mingw\lib
libraries f77blas,cblas,atlas not found in c:\Libraries\lib
libraries lapack_atlas not found in c:\Libraries\lib
numpy.distutils
NOT AVAILABLE
C:\Python25\ lib\site- packages\ numpy\distutils \system_ info.py: 1295: UserWarning:
Atlas (http:// math-atlas. sourceforge. net/) libraries not found. distutils/ site.cfg file (section [atlas]) or by setting warn(AtlasNotFo undError. __doc__ ) \\lib', 'c:\\mingw\\lib']
Directories to search for the libraries can be specified in the
numpy/
the ATLAS environment variable.
warnings.
lapack_info:
libraries lapack not found in c:\mingw\lib
FOUND:
libraries = ['lapack', 'g2c']
library_dirs = ['c:\\Libraries
language = f77
blas_info: \\lib', 'c:\\mingw\\lib']
libraries blas not found in c:\mingw\lib
FOUND:
libraries = ['blas', 'g2c']
library_dirs = ['c:\\Libraries
language = f77
FOUND: \\lib', 'c:\\mingw\\lib']
libraries = ['lapack', 'g2c', 'blas', 'g2c', 'g2c']
library_dirs = ['c:\\Libraries
define_macros = [('NO_ATLAS_INFO', 1)]
language = f77
Traceback (most recent call last): lib\pdb. py", line 1213, in main _runscript( mainpyfile) lib\pdb. py", line 1138, in _runscript run(statement, globals=globals_, locals=locals_) lib\bdb. py", line 366, in run **extra_ setuptools_ args) Lib\site- packages\ numpy\distutils \core.py" , line 152, in set add_subpackage( 'nipy', 'nipy') Lib\site- packages\ numpy\distutils \misc_util. py", line 890, i Lib\site- packages\ numpy\distutils \misc_util. py", line 859, i Lib\site- packages\ numpy\distutils \misc_util. py", line 796, i ion_from_ setup_py configuration( *args) info(). set_info( **get_nipy_ info()) Lib\site- packages\ numpy\distutils \system_ info.py" , line 433, append( info,** lib_info) Lib\site- packages\ numpy\distutils \system_ info.py" , line 1945 lib\site- packages\ numpy\distutils \system_ info.py( 1945)dict_ append(
File "C:\Python25\
pdb.
File "C:\Python25\
self.
File "C:\Python25\
exec cmd in globals, locals
File "<string>", line 1, in <module>
File "setup.py", line 107, in <module>
main(
File "setup.py", line 103, in main
**extra_args)
File "c:\Python25\
up
config = configuration()
File "setup.py", line 22, in configuration
config.
File "c:\Python25\
n add_subpackage
caller_level = 2)
File "c:\Python25\
n get_subpackage
caller_level = caller_level + 1)
File "c:\Python25\
n _get_configurat
config = setup_module.
File "nipy\setup.py", line 61, in configuration
nipy_
File "c:\Python25\
in set_info
dict_
File "c:\Python25\
, in dict_append
d[k].extend(v)
AttributeError: 'str' object has no attribute 'extend'
Uncaught exception. Entering post mortem debugging
Running 'cont' or 'step' will restart the program
> c:\python25\
)
-> d[k].extend(v)
(Pdb) d
*** Newest frame
(Pdb) k
'libraries'
(Pdb) v
['g2c']
(Pdb)
Cheers,
Alexis