Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.8.0: tox is failing #219

Open
kloczek opened this issue Oct 28, 2021 · 2 comments
Open

0.8.0: tox is failing #219

kloczek opened this issue Oct 28, 2021 · 2 comments

Comments

@kloczek
Copy link

kloczek commented Oct 28, 2021

I'm not sure what is wrong here. May I ask for some advice?
Python 3.8.12, tox 3.24.4

+ /usr/bin/tox --skip-missing-interpreters
GLOB sdist-make: /home/tkloczko/rpmbuild/BUILD/sphinx-bootstrap-theme-0.8.0/setup.py
py create: /home/tkloczko/rpmbuild/BUILD/sphinx-bootstrap-theme-0.8.0/.tox/py
ERROR: invocation failed (exit code 1), logfile: /home/tkloczko/rpmbuild/BUILD/sphinx-bootstrap-theme-0.8.0/.tox/py/log/py-0.log
================================================================================ log start =================================================================================
RuntimeError: failed to build image wheel because:
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/virtualenv/seed/embed/via_app_data/via_app_data.py", line 51, in _install
    key = Path(installer_class.__name__) / wheel.path.stem
AttributeError: 'NoneType' object has no attribute 'path'


================================================================================= log end ==================================================================================
ERROR: InvocationError for command /usr/bin/python3 -m virtualenv --no-download --python /usr/bin/python3 py (exited with code 1)
lint create: /home/tkloczko/rpmbuild/BUILD/sphinx-bootstrap-theme-0.8.0/.tox/lint
ERROR: invocation failed (exit code 1), logfile: /home/tkloczko/rpmbuild/BUILD/sphinx-bootstrap-theme-0.8.0/.tox/lint/log/lint-0.log
================================================================================ log start =================================================================================
RuntimeError: failed to build image wheel because:
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/virtualenv/seed/embed/via_app_data/via_app_data.py", line 51, in _install
    key = Path(installer_class.__name__) / wheel.path.stem
AttributeError: 'NoneType' object has no attribute 'path'


================================================================================= log end ==================================================================================
ERROR: InvocationError for command /usr/bin/python3 -m virtualenv --no-download --python /usr/bin/python3 lint (exited with code 1)
_________________________________________________________________________________ summary __________________________________________________________________________________
ERROR:   py: InvocationError for command /usr/bin/python3 -m virtualenv --no-download --python /usr/bin/python3 py (exited with code 1)
ERROR:   lint: InvocationError for command /usr/bin/python3 -m virtualenv --no-download --python /usr/bin/python3 lint (exited with code 1)
@svenevs
Copy link
Collaborator

svenevs commented Oct 28, 2021

Well that's not a very helpful error message. Are you packaging an rpm? Can you try tox -e dist? I doubt that fixes it but that is the packaging utility. Maybe it will give a different error?

@kloczek
Copy link
Author

kloczek commented Oct 28, 2021

Yes I'm packagin your module as rpm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants