[IPython-User] installation failure, no section "commit hash"

Moritz Emanuel Beber moritz.beber@googlemail....
Mon Oct 24 08:58:41 CDT 2011


Dear ipythonistas,

I tried installing a fresh copy of ipython from the most recent git repo 
state

commit 66bb3e8f803a569592d993846f5e1cccb2e0e7f1
Author: MinRK <benjaminrk@gmail.com>
Date:   Sun Oct 23 21:53:37 2011 -0700

on a machine running Fedora 12, unfortunately, I got the following error 
when running the setup.py script:

============================================================================
BUILDING IPYTHON
                 python: 2.6.2 (r262:71600, Jun  4 2010, 18:28:04)  [GCC
                         4.4.3 20100127 (Red Hat 4.4.3-4)]
               platform: linux2

OPTIONAL DEPENDENCIES
                 sphinx: 1.0.7
               pygments: 1.4
                   nose: 0.11.3
                pexpect: 2.4
                  pyzmq: 2.1dev
               readline: yes
running build
running build_py
Traceback (most recent call last):
   File "setup.py", line 11, in <module>
     main()
   File "/home/moritz/CodeBase/ipython/setup2.py", line 268, in main
     setup(**setup_args)
   File "/usr/lib/python2.6/distutils/core.py", line 152, in setup
     dist.run_commands()
   File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands
     self.run_command(cmd)
   File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
     cmd_obj.run()
   File "/usr/lib/python2.6/distutils/command/build.py", line 134, in run
     self.run_command(cmd_name)
   File "/usr/lib/python2.6/distutils/cmd.py", line 333, in run_command
     self.distribution.run_command(command)
   File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
     cmd_obj.run()
   File "/home/moritz/CodeBase/ipython/setupbase.py", line 373, in run
     cfg_parser.set('commit hash', 'install_hash', 
repo_commit.decode('ascii'))
   File "/usr/lib/python2.6/site-packages/configparser.py", line 1210, 
in set
     super(ConfigParser, self).set(section, option, value)
   File "/usr/lib/python2.6/site-packages/configparser.py", line 925, in set
     raise NoSectionError(section)
configparser.NoSectionError: No section: 'commit hash'

I know that for the ConfigParser package 'allow_no_value' was added only 
with Python 2.7, is that the problem here?

Any help is greatly appreciated,
Moritz


More information about the IPython-User mailing list