<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 12/09/2019 20:13, Jeremy Stanley wrote:<br>
<blockquote type="cite"
cite="mid:20190912181305.w2mibfrmmqdstmdn@yuggoth.org">[...]
<pre class="moz-quote-pre" wrap="">
This looks like a corrupt/mismatched existing virtualenv tox is
trying to reuse: <a class="moz-txt-link-freetext" href="https://github.com/pypa/virtualenv/issues/1213">https://github.com/pypa/virtualenv/issues/1213</a>
You might try forcing tox to recreate the virtualenv from scratch
with the -r option like `tox -r -e docs` and see if it gets any
farther.
</pre>
</blockquote>
<br>
No more luck.<br>
I am afraid that such pain is not going to motivate anyone to write
documentation.<br>
Is there any simpler way to check how a page would look before
commiting it in Gerrrit ?<br>
<br>
Dominig<br>
<br>
dominig@dominig-t480:~/starlingx/git/docs> rm -rf env &&
virtualenv -ppython3 env<br>
Running virtualenv with interpreter /usr/bin/python3<br>
Using base prefix '/usr'<br>
New python executable in
/home/dominig/starlingx/git/docs/env/bin/python3<br>
Also creating executable in
/home/dominig/starlingx/git/docs/env/bin/python<br>
Installing setuptools, pip, wheel...done.<br>
dominig@dominig-t480:~/starlingx/git/docs> tox -r -e
docs <br>
docs create: /home/dominig/starlingx/git/docs/.tox/docs<br>
ERROR: invocation failed (exit code 1), logfile:
/home/dominig/starlingx/git/docs/.tox/docs/log/docs-0.log<br>
ERROR: actionid: docs<br>
msg:
getenv
<br>
cmdargs: ['/usr/bin/python3', '-m', 'virtualenv', '--python',
'/usr/bin/python3',
'docs']
<br>
<br>
Already using interpreter
/usr/bin/python3
<br>
Using base prefix
'/usr'
<br>
New python executable in
/home/dominig/starlingx/git/docs/.tox/docs/bin/python3
<br>
Also creating executable in
/home/dominig/starlingx/git/docs/.tox/docs/bin/python<br>
Installing setuptools, pip, wheel...<br>
Complete output from command
/home/dominig/starli...tox/docs/bin/python3 - setuptools pip wheel:<br>
Traceback (most recent call last):<br>
File "<stdin>", line 9, in <module><br>
File "/usr/lib64/python3.6/pkgutil.py", line 624, in get_data<br>
importlib._bootstrap._load(spec))<br>
File "<frozen importlib._bootstrap>", line 684, in _load<br>
File "<frozen importlib._bootstrap>", line 656, in
_load_unlocked<br>
File "<frozen importlib._bootstrap>", line 626, in
_load_backward_compatible<br>
File
"/usr/lib/python3.6/site-packages/virtualenv_support/pip-19.1.1-py2.py3-none-any.whl/pip/_vendor/requests/__init__.py",
line 94, in <module><br>
File "<frozen importlib._bootstrap>", line 971, in
_find_and_load<br>
File "<frozen importlib._bootstrap>", line 955, in
_find_and_load_unlocked<br>
File "<frozen importlib._bootstrap>", line 656, in
_load_unlocked<br>
File "<frozen importlib._bootstrap>", line 626, in
_load_backward_compatible<br>
File
"/usr/lib/python3.6/site-packages/virtualenv_support/pip-19.1.1-py2.py3-none-any.whl/pip/_internal/__init__.py",
line 40, in <module><br>
File "<frozen importlib._bootstrap>", line 971, in
_find_and_load<br>
File "<frozen importlib._bootstrap>", line 955, in
_find_and_load_unlocked<br>
File "<frozen importlib._bootstrap>", line 656, in
_load_unlocked<br>
File "<frozen importlib._bootstrap>", line 626, in
_load_backward_compatible<br>
File
"/usr/lib/python3.6/site-packages/virtualenv_support/pip-19.1.1-py2.py3-none-any.whl/pip/_internal/cli/autocompletion.py",
line 8, in <module><br>
File "<frozen importlib._bootstrap>", line 971, in
_find_and_load<br>
File "<frozen importlib._bootstrap>", line 955, in
_find_and_load_unlocked<br>
File "<frozen importlib._bootstrap>", line 656, in
_load_unlocked<br>
File "<frozen importlib._bootstrap>", line 626, in
_load_backward_compatible<br>
File
"/usr/lib/python3.6/site-packages/virtualenv_support/pip-19.1.1-py2.py3-none-any.whl/pip/_internal/cli/main_parser.py",
line 12, in <module><br>
File "<frozen importlib._bootstrap>", line 971, in
_find_and_load<br>
<blockquote type="cite"
cite="mid:20190912181305.w2mibfrmmqdstmdn@yuggoth.org"> </blockquote>
<br>
<blockquote type="cite"
cite="mid:20190912181305.w2mibfrmmqdstmdn@yuggoth.org"> <br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Starlingx-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Starlingx-discuss@lists.starlingx.io">Starlingx-discuss@lists.starlingx.io</a>
<a class="moz-txt-link-freetext" href="http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss">http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss</a>
</pre>
</blockquote>
File "<frozen importlib._bootstrap>", line 955, in
_find_and_load_unlocked<br>
File "<frozen importlib._bootstrap>", line 656, in
_load_unlocked<br>
File "<frozen importlib._bootstrap>", line 626, in
_load_backward_compatible<br>
File
"/usr/lib/python3.6/site-packages/virtualenv_support/pip-19.1.1-py2.py3-none-any.whl/pip/_internal/commands/__init__.py",
line 6, in <module><br>
File "<frozen importlib._bootstrap>", line 971, in
_find_and_load<br>
File "<frozen importlib._bootstrap>", line 955, in
_find_and_load_unlocked<br>
File "<frozen importlib._bootstrap>", line 656, in
_load_unlocked<br>
File "<frozen importlib._bootstrap>", line 626, in
_load_backward_compatible<br>
File
"/usr/lib/python3.6/site-packages/virtualenv_support/pip-19.1.1-py2.py3-none-any.whl/pip/_internal/commands/completion.py",
line 6, in <module><br>
File "<frozen importlib._bootstrap>", line 971, in
_find_and_load<br>
File "<frozen importlib._bootstrap>", line 955, in
_find_and_load_unlocked<br>
File "<frozen importlib._bootstrap>", line 656, in
_load_unlocked<br>
File "<frozen importlib._bootstrap>", line 626, in
_load_backward_compatible<br>
File
"/usr/lib/python3.6/site-packages/virtualenv_support/pip-19.1.1-py2.py3-none-any.whl/pip/_internal/cli/base_command.py",
line 20, in <module><br>
File "<frozen importlib._bootstrap>", line 971, in
_find_and_load<br>
File "<frozen importlib._bootstrap>", line 955, in
_find_and_load_unlocked<br>
File "<frozen importlib._bootstrap>", line 656, in
_load_unlocked<br>
File "<frozen importlib._bootstrap>", line 626, in
_load_backward_compatible<br>
File
"/usr/lib/python3.6/site-packages/virtualenv_support/pip-19.1.1-py2.py3-none-any.whl/pip/_internal/download.py",
line 368, in <module><br>
AttributeError: module 'pip._vendor.requests' has no attribute
'Session'<br>
----------------------------------------<br>
...Installing setuptools, pip, wheel...done.<br>
Traceback (most recent call last):<br>
File "/usr/lib64/python3.6/runpy.py", line 193, in
_run_module_as_main<br>
"__main__", mod_spec)<br>
File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code<br>
exec(code, run_globals)<br>
File "/usr/lib/python3.6/site-packages/virtualenv.py", line 2328,
in <module><br>
main()<br>
File "/usr/lib/python3.6/site-packages/virtualenv.py", line 713,
in main<br>
symlink=options.symlink)<br>
File "/usr/lib/python3.6/site-packages/virtualenv.py", line 945,
in create_environment<br>
download=download,<br>
File "/usr/lib/python3.6/site-packages/virtualenv.py", line 901,
in install_wheel<br>
call_subprocess(cmd, show_stdout=False, extra_env=env,
stdin=SCRIPT)<br>
File "/usr/lib/python3.6/site-packages/virtualenv.py", line 797,
in call_subprocess<br>
% (cmd_desc, proc.returncode))<br>
OSError: Command /home/dominig/starli...tox/docs/bin/python3 -
setuptools pip wheel failed with error code 1<br>
<br>
ERROR: Error creating virtualenv. Note that some special characters
(e.g. ':' and unicode symbols) in paths are not supported by
virtualenv. Error details: InvocationError('/usr/bin/python3 -m
virtualenv --python /usr/bin/python3 docs (see
/home/dominig/starlingx/git/docs/.tox/docs/log/docs-0.log)', 1)<br>
__________________________________________________________________________________________
summary
__________________________________________________________________________________________<br>
ERROR: docs: Error creating virtualenv. Note that some special
characters (e.g. ':' and unicode symbols) in paths are not supported
by virtualenv. Error details: InvocationError('/usr/bin/python3 -m
virtualenv --python /usr/bin/python3 docs (see
/home/dominig/starlingx/git/docs/.tox/docs/log/docs-0.log)', 1)<br>
dominig@dominig-t480:~/starlingx/git/docs> <br>
<br>
<pre class="moz-signature" cols="72">--
Dominig ar Foll
Senior Software Architect
Intel Open Source Technology Centre</pre>
</body>
</html>