-
Notifications
You must be signed in to change notification settings - Fork 11
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
Repot generation crashes with message to reach out to author #44
Comments
chaos, version 1.15.1 This is the error I got when I entered Traceback (most recent call last): |
How have you installed the reporting extension and have you set up the underlying required libraries which python cannot pull in? These are documented as additional install steps. There somethings pip just cannot pull in and install for you. These are requirements that may use other technologies, languages or packaging solutions. In this case you need to install cairo and pandoc your self locally for ctk-reporting to work as it cant install these for you. Alternatively and my preferred approach is to just run this through docker as the docker image has all the required binaries and packages installed for you. check out the using a docker image section. |
When I generated the report I got the following error:
Warning: entry point could not be loaded. Contact its author for help.
Traceback (most recent call last):
File "/home/ubuntu/.venvs/chaostk/lib/python3.10/site-packages/click_plugins/core.py", line 37, in decorator
group.add_command(entry_point.load())
File "/usr/lib/python3.10/importlib/metadata/init.py", line 171, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 992, in _find_and_load_unlocked
File "", line 241, in _call_with_frames_removed
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/ubuntu/.venvs/chaostk/lib/python3.10/site-packages/chaosreport/init.py", line 15, in
import cairosvg
File "/home/ubuntu/.venvs/chaostk/lib/python3.10/site-packages/cairosvg/init.py", line 26, in
from . import surface # noqa isort:skip
File "/home/ubuntu/.venvs/chaostk/lib/python3.10/site-packages/cairosvg/surface.py", line 9, in
import cairocffi as cairo
File "/home/ubuntu/.venvs/chaostk/lib/python3.10/site-packages/cairocffi/init.py", line 47, in
cairo = dlopen(
File "/home/ubuntu/.venvs/chaostk/lib/python3.10/site-packages/cairocffi/init.py", line 44, in dlopen
raise OSError(error_message) # pragma: no cover
OSError: no library called "cairo-2" was found
no library called "cairo" was found
no library called "libcairo-2" was found
cannot load library 'libcairo.so.2': libcairo.so.2: cannot open shared object file: No such file or directory. Additionally, ctypes.util.find_library() did not manage to locate a library called 'libcairo.so.2'
cannot load library 'libcairo.2.dylib': libcairo.2.dylib: cannot open shared object file: No such file or directory. Additionally, ctypes.util.find_library() did not manage to locate a library called 'libcairo.2.dylib'
cannot load library 'libcairo-2.dll': libcairo-2.dll: cannot open shared object file: No such file or directory. Additionally, ctypes.util.find_library() did not manage to locate a library called 'libcairo-2.dll'
The text was updated successfully, but these errors were encountered: