[SciPy-dev] non-integer sequence index

Travis N. Vaught travis at enthought.com
Mon May 3 09:27:42 CDT 2004


Did we add some scipy_distutils functionality that requires (doesn't 
prohibit) float sequence indexes?  Builds for 2.1 and 2.2 are broken...

building extension "scipy.sparse.sparsetools" sources
Traceback (most recent call last):
  File "setup.py", line 112, in ?
    setup_package(ignore_packages)
  File "setup.py", line 99, in setup_package
    url = "http://www.scipy.org",
  File "scipy_core\scipy_distutils\core.py", line 72, in setup
    return old_setup(**new_attr)
  File "c:\Python22\lib\distutils\core.py", line 138, in setup
    dist.run_commands()
  File "c:\Python22\lib\distutils\dist.py", line 902, in run_commands
    self.run_command(cmd)
  File "c:\Python22\lib\distutils\dist.py", line 922, in run_command
    cmd_obj.run()
  File "c:\Python22\lib\distutils\command\build.py", line 107, in run
    self.run_command(cmd_name)
  File "c:\Python22\lib\distutils\cmd.py", line 330, in run_command
    self.distribution.run_command(command)
  File "c:\Python22\lib\distutils\dist.py", line 922, in run_command
    cmd_obj.run()
  File "scipy_core\scipy_distutils\command\build_src.py", line 82, in run
    self.build_sources()
  File "scipy_core\scipy_distutils\command\build_src.py", line 89, in 
build_sour
ces
    self.build_extension_sources(ext)
  File "scipy_core\scipy_distutils\command\build_src.py", line 125, in 
build_ext
ension_sources
    sources = self.template_sources(sources, ext)
  File "scipy_core\scipy_distutils\command\build_src.py", line 193, in 
template_
sources
    outstr = process_str(fid.read())
  File "scipy_core\scipy_distutils\from_template.py", line 169, in 
process_str
    expanded = expand_sub(newstr[obj],get_line_header(newstr,sub[0]))
TypeError: sequence index must be integer




More information about the Scipy-dev mailing list