<br><br><div class="gmail_quote">On Tue, Oct 25, 2011 at 02:49, Moritz Emanuel Beber <span dir="ltr">&lt;<a href="mailto:moritz.beber@googlemail.com">moritz.beber@googlemail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<u></u>

  
    
  
  <div text="#000000" bgcolor="#ffffff">
    Just tried again with the following branch state:<br>
    <br>
    commit 11bca294719e127355cda35af661d9bad32138e0<br>
    Author: MinRK <a href="mailto:benjaminrk@gmail.com" target="_blank">&lt;benjaminrk@gmail.com&gt;</a><br>
    Date:   Mon Oct 24 21:07:47 2011 -0700<br>
    <br>
    and everything works fine.<br>
    <br>
    Sorry for the noise.</div></blockquote><div><br></div><div>No worries - I added the catch in case git_commit_info doesn&#39;t exist or is invalid, but I am a bit troubled by how we got you into that state from a clean checkout in the first place.</div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div text="#000000" bgcolor="#ffffff"><div><div></div><div class="h5"><br>
    <br>
    <br>
    On 10/25/2011 11:45 AM, Moritz Emanuel Beber wrote:
    <blockquote type="cite">
      
      
      Hi,<br>
      <br>
      cat IPython/.git_commit_info.ini results in:<br>
      <br>
      # This is an ini file that may contain information about the code
      state<br>
      [commit hash]<br>
      <br>
      # The line below may contain a valid hash if it has been
      substituted during<br>
      # &#39;git archive&#39;<br>
      archive_subst_hash=$Format:%h$<br>
      <br>
      # This line may be modified by the install process<br>
      install_hash=<br>
      <br>
      The Python code you asked for also seems fine:<br>
      <br>
      &gt;&gt;&gt; from ConfigParser import ConfigParser<br>
      &gt;&gt;&gt; cfg_p = ConfigParser()<br>
      &gt;&gt;&gt; cfg_p.read(&quot;IPython/.git_commit_info.ini&quot;)<br>
      [&#39;IPython/.git_commit_info.ini&#39;]<br>
      &gt;&gt;&gt; print cfg_p.sections()<br>
      [&#39;commit hash&#39;]<br>
      <br>
      I fear that&#39;s not enlightening...<br>
      <br>
      On 10/24/2011 09:03 PM, MinRK wrote:
      <blockquote type="cite">
        <div>Hm, I seem to be able to build just fine on my Python 2.6
          (2.6.7 | 2.6.5).</div>
        <div><br>
        </div>
        What are the contents of IPython/.git_commit_info.ini ?
        <div>and what do you get with:</div>
        <div>
          <div><br>
          </div>
          <div>    from ConfigParser import ConfigParser</div>
          <div>    cfg_parser = ConfigParser()</div>
          <div>    cfg_parser.read(&#39;IPython/.git_commit_info.ini&#39;)</div>
          <div>    print cfg_parser.sections()</div>
        </div>
        <div><br>
        </div>
        <div>
          <div><br>
          </div>
        </div>
        <div><br>
          <br>
          <div class="gmail_quote"> On Mon, Oct 24, 2011 at 06:58,
            Moritz Emanuel Beber <span dir="ltr">&lt;<a href="mailto:moritz.beber@googlemail.com" target="_blank">moritz.beber@googlemail.com</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"> Dear ipythonistas,<br>
              <br>
              I tried installing a fresh copy of ipython from the most
              recent git repo<br>
              state<br>
              <br>
              commit 66bb3e8f803a569592d993846f5e1cccb2e0e7f1<br>
              Author: MinRK &lt;<a href="mailto:benjaminrk@gmail.com" target="_blank">benjaminrk@gmail.com</a>&gt;<br>
              Date:   Sun Oct 23 21:53:37 2011 -0700<br>
              <br>
              on a machine running Fedora 12, unfortunately, I got the
              following error<br>
              when running the setup.py script:<br>
              <br>
============================================================================<br>
              BUILDING IPYTHON<br>
                              python: 2.6.2 (r262:71600, Jun  4 2010,
              18:28:04)  [GCC<br>
                                      4.4.3 20100127 (Red Hat 4.4.3-4)]<br>
                            platform: linux2<br>
              <br>
              OPTIONAL DEPENDENCIES<br>
                              sphinx: 1.0.7<br>
                            pygments: 1.4<br>
                                nose: 0.11.3<br>
                             pexpect: 2.4<br>
                               pyzmq: 2.1dev<br>
                            readline: yes<br>
              running build<br>
              running build_py<br>
              Traceback (most recent call last):<br>
                File &quot;setup.py&quot;, line 11, in &lt;module&gt;<br>
                  main()<br>
                File &quot;/home/moritz/CodeBase/ipython/setup2.py&quot;, line
              268, in main<br>
                  setup(**setup_args)<br>
                File &quot;/usr/lib/python2.6/distutils/core.py&quot;, line 152,
              in setup<br>
                  dist.run_commands()<br>
                File &quot;/usr/lib/python2.6/distutils/dist.py&quot;, line 975,
              in run_commands<br>
                  self.run_command(cmd)<br>
                File &quot;/usr/lib/python2.6/distutils/dist.py&quot;, line 995,
              in run_command<br>
                  cmd_obj.run()<br>
                File &quot;/usr/lib/python2.6/distutils/command/build.py&quot;,
              line 134, in run<br>
                  self.run_command(cmd_name)<br>
                File &quot;/usr/lib/python2.6/distutils/cmd.py&quot;, line 333, in
              run_command<br>
                  self.distribution.run_command(command)<br>
                File &quot;/usr/lib/python2.6/distutils/dist.py&quot;, line 995,
              in run_command<br>
                  cmd_obj.run()<br>
                File &quot;/home/moritz/CodeBase/ipython/setupbase.py&quot;, line
              373, in run<br>
                  cfg_parser.set(&#39;commit hash&#39;, &#39;install_hash&#39;,<br>
              repo_commit.decode(&#39;ascii&#39;))<br>
                File &quot;/usr/lib/python2.6/site-packages/configparser.py&quot;,
              line 1210,<br>
              in set<br>
                  super(ConfigParser, self).set(section, option, value)<br>
                File &quot;/usr/lib/python2.6/site-packages/configparser.py&quot;,
              line 925, in set<br>
                  raise NoSectionError(section)<br>
              configparser.NoSectionError: No section: &#39;commit hash&#39;<br>
              <br>
              I know that for the ConfigParser package &#39;allow_no_value&#39;
              was added only<br>
              with Python 2.7, is that the problem here?<br>
              <br>
              Any help is greatly appreciated,<br>
              Moritz<br>
              _______________________________________________<br>
              IPython-User mailing list<br>
              <a href="mailto:IPython-User@scipy.org" target="_blank">IPython-User@scipy.org</a><br>
              <a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
            </blockquote>
          </div>
          <br>
        </div>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br>