On Sat, Aug 8, 2009 at 12:47 PM, Gael
Varoquaux<email address hidden> wrote:
> Alexis,
>
> It seems to me that this bug can be closed (by looking at the code).
>
> Could you confirm it, please?
>
> And thanks to everyone for the very efficient maner in which the problem
> was processed.
>
> Gaël
>
> --
> setup fails on mingw32
> https://bugs.launchpad.net/bugs/409269
> You received this bug notification because you are a member of nipy-
> developers, which is the registrant for NIPY.
>
> Status in Neuroimaging in Python: New
>
> Bug description:
> Since my last pull (revision 1772), "python setup.py config" fails on my mingw32 system with an AttributeError: 'str' object has no attribute 'extend' (see Traceback below). This seems to result from a modification in a recent revision because revision 1770 was building fine with the same configuration, specifically:
> - MinGW 5.1.4
> - Python 2.5
> - Numpy 3.0
> - Scipy 0.7.1
>
> Note that the same error occurs when substituting stable numpy and scipy releases with the latest development versions (numpy 1.4.0 dev 7282 and scipy 0.8.0 dev 5891).
>
>
> Traceback (most recent call last):
> 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 setup
> 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, in add_subpackage
> caller_level = 2)
> File "c:\Python25\Lib\site-packages\numpy\distutils\misc_util.py", line 859, in get_subpackage
> caller_level = caller_level + 1)
> File "c:\Python25\Lib\site-packages\numpy\distutils\misc_util.py", line 796, in _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'
>
The bug can be closed, as far as I am concerned.
Alexis
On Sat, Aug 8, 2009 at 12:47 PM, Gael /bugs.launchpad .net/bugs/ 409269 extra_setuptool s_args) Lib\site- packages\ numpy\distutils \core.py" , line 152, in setup add_subpackage( 'nipy', 'nipy') Lib\site- packages\ numpy\distutils \misc_util. py", line 890, in add_subpackage Lib\site- packages\ numpy\distutils \misc_util. py", line 859, in get_subpackage Lib\site- packages\ numpy\distutils \misc_util. py", line 796, in _get_configurat ion_from_ setup_py configuration( *args) ).set_info( **get_nipy_ info()) Lib\site- packages\ numpy\distutils \system_ info.py" , line 433, in set_info info,** lib_info) Lib\site- packages\ numpy\distutils \system_ info.py" , line 1945, in dict_append
Varoquaux<email address hidden> wrote:
> Alexis,
>
> It seems to me that this bug can be closed (by looking at the code).
>
> Could you confirm it, please?
>
> And thanks to everyone for the very efficient maner in which the problem
> was processed.
>
> Gaël
>
> --
> setup fails on mingw32
> https:/
> You received this bug notification because you are a member of nipy-
> developers, which is the registrant for NIPY.
>
> Status in Neuroimaging in Python: New
>
> Bug description:
> Since my last pull (revision 1772), "python setup.py config" fails on my mingw32 system with an AttributeError: 'str' object has no attribute 'extend' (see Traceback below). This seems to result from a modification in a recent revision because revision 1770 was building fine with the same configuration, specifically:
> - MinGW 5.1.4
> - Python 2.5
> - Numpy 3.0
> - Scipy 0.7.1
>
> Note that the same error occurs when substituting stable numpy and scipy releases with the latest development versions (numpy 1.4.0 dev 7282 and scipy 0.8.0 dev 5891).
>
>
> Traceback (most recent call last):
> File "setup.py", line 107, in <module>
> main(**
> File "setup.py", line 103, in main
> **extra_args)
> File "c:\Python25\
> config = configuration()
> File "setup.py", line 22, in configuration
> config.
> File "c:\Python25\
> caller_level = 2)
> File "c:\Python25\
> caller_level = caller_level + 1)
> File "c:\Python25\
> config = setup_module.
> File "nipy\setup.py", line 61, in configuration
> nipy_info(
> File "c:\Python25\
> dict_append(
> File "c:\Python25\
> d[k].extend(v)
> AttributeError: 'str' object has no attribute 'extend'
>
-- alexis. roche.googlepag es.com
Alexis Roche, PhD
Researcher, CEA, Neurospin, Paris, France
Academic Guest, ETHZ, Computer Vision Lab, Zurich, Switzerland
http://