<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi Zhengguang,<br>
      <br>
      I think you have hit the incompatibility bug with tox > 1.6.1
      i.e. the latest version of Tox breaks with openstack. A bug is
      filed here
      <a class="moz-txt-link-freetext" href="https://bitbucket.org/hpk42/tox/issue/150/posargs-configerror">https://bitbucket.org/hpk42/tox/issue/150/posargs-configerror</a>. You
      can check what version you have with 'pip search tox'. My guess is
      you have 1.7.0 installed which you can downgrade with 'sudo pip
      install tox==1.6.1'.<br>
      <br>
      Hope that helps,<br>
      <br>
      Ed.<br>
      <br>
      On 16/02/14 07:15, Zhengguang Ou wrote:<br>
    </div>
    <blockquote
cite="mid:CAC7homXe6nJp1ApkRipq9X1NFbPTQyp-JOoJpb0UXqx9C-wUNA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi list
        <div><br>
        </div>
        <div>When I installed glance client development environment at
          the first time, after installing tox and virtualenv, then
          ./run_tests.sh, I got some error message as </div>
        <div>
          follow:</div>
        <div>
          <div>Traceback (most recent call last):</div>
          <div>  File "/usr/local/bin/tox", line 9, in <module></div>
          <div>    load_entry_point('tox==1.7.0', 'console_scripts',
            'tox')()</div>
          <div>  File
            "/usr/local/lib/python2.7/dist-packages/tox/_cmdline.py",
            line 25, in main</div>
          <div>    config = parseconfig(args, 'tox')</div>
          <div>  File
            "/usr/local/lib/python2.7/dist-packages/tox/_config.py",
            line 47, in parseconfig</div>
          <div>    parseini(config, inipath)</div>
          <div>  File
            "/usr/local/lib/python2.7/dist-packages/tox/_config.py",
            line 281, in __init__</div>
          <div>    config)</div>
          <div>  File
            "/usr/local/lib/python2.7/dist-packages/tox/_config.py",
            line 346, in _makeenvconfig</div>
          <div>    vc.commands = reader.getargvlist(section, "commands")</div>
          <div>  File
            "/usr/local/lib/python2.7/dist-packages/tox/_config.py",
            line 518, in getargvlist</div>
          <div>   
            commandlist.append(self._processcommand(current_command))</div>
          <div>  File
            "/usr/local/lib/python2.7/dist-packages/tox/_config.py",
            line 550, in _processcommand</div>
          <div>    new_word = self._replace(word)</div>
          <div>  File
            "/usr/local/lib/python2.7/dist-packages/tox/_config.py",
            line 666, in _replace</div>
          <div>    return RE_ITEM_REF.sub(self._replace_match, x)</div>
          <div>  File
            "/usr/local/lib/python2.7/dist-packages/tox/_config.py",
            line 662, in _replace_match</div>
          <div>    return handler(match)</div>
          <div>  File
            "/usr/local/lib/python2.7/dist-packages/tox/_config.py",
            line 633, in _replace_substitution</div>
          <div>    val = self._substitute_from_other_section(sub_key)</div>
          <div>  File
            "/usr/local/lib/python2.7/dist-packages/tox/_config.py",
            line 627, in _substitute_from_other_section</div>
          <div>    "substitution key %r not found" % key)</div>
          <div>tox.ConfigError: ConfigError: substitution key 'posargs'
            not found</div>
          <div><br>
          </div>
          <div>It seems like that there are some errors in tox config
            file. I can't find any document how to install development
            environment of glance client.</div>
          <div>anyone can help me? </div>
          <div><br>
          </div>
          <div>Thanks. </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Mailing list: <a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
Post to     : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>
Unsubscribe : <a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>