Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

tox -egenconfig to create fails to run

Hi , Installing latest code from tempest , installing eith pip test-requirements.txt and requirements.txt. When trying to create a temest.conf.sample file , get this error :

1:55:45 [prepare_tempest] 21:55:45 cougar09.scl.lab.tlv.redhat.com:2222|>>|cd /home/stack/tempest && source /home/stack/tempest/.venv/bin/activate && tox -egenconfig 21:55:46 <<|Traceback (most recent call last): 21:55:46 <<| File "/usr/bin/tox", line 11, in <module> 21:55:46 <<| sys.exit(cmdline()) 21:55:46 <<| File "/usr/lib/python2.7/site-packages/tox/session.py", line 38, in main 21:55:46 <<| config = prepare(args) 21:55:46 <<| File "/usr/lib/python2.7/site-packages/tox/session.py", line 26, in prepare 21:55:46 <<| config = parseconfig(args) 21:55:46 <<| File "/usr/lib/python2.7/site-packages/tox/config.py", line 229, in parseconfig 21:55:46 <<| parseini(config, inipath) 21:55:46 <<| File "/usr/lib/python2.7/site-packages/tox/config.py", line 729, in __init__ 21:55:46 <<| self.make_envconfig(name, section, reader._subs, config) 21:55:46 <<| File "/usr/lib/python2.7/site-packages/tox/config.py", line 760, in make_envconfig 21:55:46 <<| res = meth(env_attr.name, env_attr.default) 21:55:46 <<| File "/usr/lib/python2.7/site-packages/tox/config.py", line 893, in getdict_setenv 21:55:46 <<| definitions = self._getdict(value, default=default, sep=sep) 21:55:46 <<| File "/usr/lib/python2.7/site-packages/tox/config.py", line 904, in _getdict 21:55:46 <<| name, rest = line.split('=', 1) 21:55:46 <<|ValueError: need more than 1 value to unpac 21:55:46 <<|k

Am i missing something ? This command was working for me before.

Thanks, Benny

tox -egenconfig to create fails to run

Hi , Installing latest code from tempest , installing eith pip test-requirements.txt and requirements.txt. When trying to create a temest.conf.sample file , get this error :

1:55:45 [prepare_tempest]
21:55:45 cougar09.scl.lab.tlv.redhat.com:2222|>>|cd /home/stack/tempest && source /home/stack/tempest/.venv/bin/activate && tox -egenconfig
21:55:46 <<|Traceback (most recent call last):
21:55:46 <<|  File "/usr/bin/tox", line 11, in <module>
21:55:46 <<|    sys.exit(cmdline())
21:55:46 <<|  File "/usr/lib/python2.7/site-packages/tox/session.py", line 38, in main
21:55:46 <<|    config = prepare(args)
21:55:46 <<|  File "/usr/lib/python2.7/site-packages/tox/session.py", line 26, in prepare
21:55:46 <<|    config = parseconfig(args)
21:55:46 <<|  File "/usr/lib/python2.7/site-packages/tox/config.py", line 229, in parseconfig
21:55:46 <<|    parseini(config, inipath)
21:55:46 <<|  File "/usr/lib/python2.7/site-packages/tox/config.py", line 729, in __init__
21:55:46 <<|    self.make_envconfig(name, section, reader._subs, config)
21:55:46 <<|  File "/usr/lib/python2.7/site-packages/tox/config.py", line 760, in make_envconfig
21:55:46 <<|    res = meth(env_attr.name, env_attr.default)
21:55:46 <<|  File "/usr/lib/python2.7/site-packages/tox/config.py", line 893, in getdict_setenv
21:55:46 <<|    definitions = self._getdict(value, default=default, sep=sep)
21:55:46 <<|  File "/usr/lib/python2.7/site-packages/tox/config.py", line 904, in _getdict
21:55:46 <<|    name, rest = line.split('=', 1)
21:55:46 <<|ValueError: need more than 1 value to unpac
21:55:46 <<|k

<<|k

Am i missing something ? This command was working for me before.

Thanks, Benny