← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1588472] [NEW] tox -e genconfig - maximum recursion depth exceeded

 

Public bug reported:

When running 'tox -e genconfig' on stable/mitaka of neutron, I get the
following (running on Ubuntu 14.04):

  File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 989, in _replace_match
    return handler(match)
  File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 913, in _replace_env
    env_list = self.getdict('setenv')
  File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 839, in getdict
    s = self.getstring(name, None)
  File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 893, in getstring
    x = self._replace(x)
  File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 993, in _replace
    return RE_ITEM_REF.sub(self._replace_match, x)
  File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 989, in _replace_match
    return handler(match)
  File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 913, in _replace_env
    env_list = self.getdict('setenv')
  File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 839, in getdict
    s = self.getstring(name, None)
  File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 893, in getstring
    x = self._replace(x)
  File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 993, in _replace
    return RE_ITEM_REF.sub(self._replace_match, x)
  File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 989, in _replace_match
    return handler(match)
  File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 913, in _replace_env
    env_list = self.getdict('setenv')
  File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 839, in getdict
    s = self.getstring(name, None)
  File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 893, in getstring
    x = self._replace(x)
  File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 993, in _replace
    return RE_ITEM_REF.sub(self._replace_match, x)
  File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 989, in _replace_match
    return handler(match)
  File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 959, in _replace_substitution
    val = self._substitute_from_other_section(sub_key)
  File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 941, in _substitute_from_other_section
    if section in self._cfg and item in self._cfg[section]:
  File "/usr/lib/python2.7/dist-packages/py/_iniconfig.py", line 151, in __getitem__
    return SectionWrapper(self, name)
RuntimeError: maximum recursion depth exceeded while calling a Python object

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1588472

Title:
  tox -e genconfig - maximum recursion depth exceeded

Status in neutron:
  New

Bug description:
  When running 'tox -e genconfig' on stable/mitaka of neutron, I get the
  following (running on Ubuntu 14.04):

    File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 989, in _replace_match
      return handler(match)
    File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 913, in _replace_env
      env_list = self.getdict('setenv')
    File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 839, in getdict
      s = self.getstring(name, None)
    File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 893, in getstring
      x = self._replace(x)
    File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 993, in _replace
      return RE_ITEM_REF.sub(self._replace_match, x)
    File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 989, in _replace_match
      return handler(match)
    File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 913, in _replace_env
      env_list = self.getdict('setenv')
    File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 839, in getdict
      s = self.getstring(name, None)
    File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 893, in getstring
      x = self._replace(x)
    File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 993, in _replace
      return RE_ITEM_REF.sub(self._replace_match, x)
    File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 989, in _replace_match
      return handler(match)
    File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 913, in _replace_env
      env_list = self.getdict('setenv')
    File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 839, in getdict
      s = self.getstring(name, None)
    File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 893, in getstring
      x = self._replace(x)
    File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 993, in _replace
      return RE_ITEM_REF.sub(self._replace_match, x)
    File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 989, in _replace_match
      return handler(match)
    File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 959, in _replace_substitution
      val = self._substitute_from_other_section(sub_key)
    File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 941, in _substitute_from_other_section
      if section in self._cfg and item in self._cfg[section]:
    File "/usr/lib/python2.7/dist-packages/py/_iniconfig.py", line 151, in __getitem__
      return SectionWrapper(self, name)
  RuntimeError: maximum recursion depth exceeded while calling a Python object

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1588472/+subscriptions


Follow ups