From melfromalice on January 17, 2013 16:59:47
What steps will reproduce the problem? 1. (python 2.6)run easy_install pyspatialite 2. 3. What is the expected output? What do you see instead? expect to be able to work with pyspatialite, instead I get an error:
c:\Python26\Scripts>easy_install pyspatialite
Searching for pyspatialite
Reading http://pypi.python.org/simple/pyspatialite/ Reading http://pyspatialite.googlecode.com/ Reading http://code.google.com/p/pyspatialite/downloads/list Best match: pyspatialite 3.0.1
Downloading http://pypi.python.org/packages/source/p/pyspatialite/pyspatialite-3 .0.1.tar.gz#md5=28a6ab34b5003772e9468f2712100586
Processing pyspatialite-3.0.1.tar.gz
Running pyspatialite-3.0.1\setup.py -q bdist_egg --dist-dir c:\users\mruff\appda
ta\local\temp\easy_install-selpqq\pyspatialite-3.0.1\egg-dist-tmp-gngk16
Downloading amalgation.
Traceback (most recent call last):
File "c:\Python26\Scripts\easy_install-script.py", line 8, in
load_entry_point('setuptools==0.6c11', 'console_scripts', 'easy_install')()
File "c:\Python26\lib\site-packages\setuptools\command\easy_install.py", line
1712, in main
with_ei_usage(lambda:
File "c:\Python26\lib\site-packages\setuptools\command\easy_install.py", line
1700, in with_ei_usage
return f()
File "c:\Python26\lib\site-packages\setuptools\command\easy_install.py", line
1716, in
distclass=DistributionWithoutHelpCommands, **kw
File "c:\Python26\lib\distutils\core.py", line 152, in setup
dist.run_commands()
File "c:\Python26\lib\distutils\dist.py", line 975, in run_commands
self.run_command(cmd)
File "c:\Python26\lib\distutils\dist.py", line 995, in run_command
cmd_obj.run()
File "c:\Python26\lib\site-packages\setuptools\command\easy_install.py", line
211, in run
self.easy_install(spec, not self.no_deps)
File "c:\Python26\lib\site-packages\setuptools\command\easy_install.py", line
446, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "c:\Python26\lib\site-packages\setuptools\command\easy_install.py", line
476, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "c:\Python26\lib\site-packages\setuptools\command\easy_install.py", line
655, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "c:\Python26\lib\site-packages\setuptools\command\easy_install.py", line
930, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "c:\Python26\lib\site-packages\setuptools\command\easy_install.py", line
919, in run_setup
run_setup(setup_script, args)
File "c:\Python26\lib\site-packages\setuptools\sandbox.py", line 62, in run_se
tup
lambda: execfile(
File "c:\Python26\lib\site-packages\setuptools\sandbox.py", line 105, in run
return func()
File "c:\Python26\lib\site-packages\setuptools\sandbox.py", line 64, in
{'file':setup_script, 'name':'main'}
File "setup.py", line 219, in
File "setup.py", line 216, in main
File "c:\Python26\lib\distutils\core.py", line 152, in setup
dist.run_commands()
File "c:\Python26\lib\distutils\dist.py", line 975, in run_commands
self.run_command(cmd)
File "c:\Python26\lib\distutils\dist.py", line 995, in run_command
cmd_obj.run()
File "c:\Python26\lib\site-packages\setuptools\command\bdist_egg.py", line 175
, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "c:\Python26\lib\site-packages\setuptools\command\bdist_egg.py", line 161
, in call_command
self.run_command(cmdname)
File "c:\Python26\lib\distutils\cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "c:\Python26\lib\distutils\dist.py", line 995, in run_command
cmd_obj.run()
File "c:\Python26\lib\site-packages\setuptools\command\install_lib.py", line 2
0, in run
self.build()
File "c:\Python26\lib\distutils\command\install_lib.py", line 112, in build
self.run_command('build_ext')
File "c:\Python26\lib\distutils\cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "c:\Python26\lib\distutils\dist.py", line 995, in run_command
cmd_obj.run()
File "c:\Python26\lib\distutils\command\build_ext.py", line 343, in run
self.build_extensions()
File "c:\Python26\lib\distutils\command\build_ext.py", line 469, in build_exte
nsions
self.build_extension(ext)
File "setup.py", line 116, in build_extension
File "setup.py", line 97, in get_amalgamation
IndexError: list index out of range
c:\Python26\Scripts>
----------------------------------- What version of the product are you using? On what operating system? Windows 7, python2.6, pyspatialite 3.0.1 Please provide any additional information below.
Original issue: http://code.google.com/p/pyspatialite/issues/detail?id=10