Comments (2)
chaos, version 1.15.1
This is the error I got when I entered
chaos report --help
Traceback (most recent call last):
File "/home/ubuntu/.venvs/chaostk/bin/chaos", line 8, in
sys.exit(cli())
File "/home/ubuntu/.venvs/chaostk/lib/python3.10/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/home/ubuntu/.venvs/chaostk/lib/python3.10/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/home/ubuntu/.venvs/chaostk/lib/python3.10/site-packages/click/core.py", line 1685, in invoke
super().invoke(ctx)
File "/home/ubuntu/.venvs/chaostk/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/ubuntu/.venvs/chaostk/lib/python3.10/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/home/ubuntu/.venvs/chaostk/lib/python3.10/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/ubuntu/.venvs/chaostk/lib/python3.10/site-packages/chaostoolkit/cli.py", line 103, in cli
configure_logger(
File "/home/ubuntu/.venvs/chaostk/lib/python3.10/site-packages/chaostoolkit/logging.py", line 82, in configure_logger
logzero.logfile(
File "/home/ubuntu/.venvs/chaostk/lib/python3.10/site-packages/logzero/init.py", line 440, in logfile
rotating_filehandler = RotatingFileHandler(filename, mode=mode, maxBytes=maxBytes, backupCount=backupCount, encoding=encoding)
File "/usr/lib/python3.10/logging/handlers.py", line 155, in init
BaseRotatingHandler.init(self, filename, mode, encoding=encoding,
File "/usr/lib/python3.10/logging/handlers.py", line 58, in init
logging.FileHandler.init(self, filename, mode=mode,
File "/usr/lib/python3.10/logging/init.py", line 1169, in init
StreamHandler.init(self, self._open())
File "/usr/lib/python3.10/logging/init.py", line 1201, in _open
return open_func(self.baseFilename, self.mode,
PermissionError: [Errno 13] Permission denied: '/chaostoolkit-documentation-code/tutorials/a-simple-walkthrough/chaostoolkit.log'
(chaostk) ubuntu@ip-172-31-40-39:/chaostoolkit-documentation-code/tutorials/a-simple-walkthrough$ chaos report --export-format=pdf journal.json report.pdf
Traceback (most recent call last):
File "/home/ubuntu/.venvs/chaostk/bin/chaos", line 8, in
sys.exit(cli())
File "/home/ubuntu/.venvs/chaostk/lib/python3.10/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/home/ubuntu/.venvs/chaostk/lib/python3.10/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/home/ubuntu/.venvs/chaostk/lib/python3.10/site-packages/click/core.py", line 1685, in invoke
super().invoke(ctx)
File "/home/ubuntu/.venvs/chaostk/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/ubuntu/.venvs/chaostk/lib/python3.10/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/home/ubuntu/.venvs/chaostk/lib/python3.10/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/ubuntu/.venvs/chaostk/lib/python3.10/site-packages/chaostoolkit/cli.py", line 103, in cli
configure_logger(
File "/home/ubuntu/.venvs/chaostk/lib/python3.10/site-packages/chaostoolkit/logging.py", line 82, in configure_logger
logzero.logfile(
File "/home/ubuntu/.venvs/chaostk/lib/python3.10/site-packages/logzero/init.py", line 440, in logfile
rotating_filehandler = RotatingFileHandler(filename, mode=mode, maxBytes=maxBytes, backupCount=backupCount, encoding=encoding)
File "/usr/lib/python3.10/logging/handlers.py", line 155, in init
BaseRotatingHandler.init(self, filename, mode, encoding=encoding,
File "/usr/lib/python3.10/logging/handlers.py", line 58, in init
logging.FileHandler.init(self, filename, mode=mode,
File "/usr/lib/python3.10/logging/init.py", line 1169, in init
StreamHandler.init(self, self._open())
File "/usr/lib/python3.10/logging/init.py", line 1201, in _open
return open_func(self.baseFilename, self.mode,
PermissionError: [Errno 13] Permission denied: '/chaostoolkit-documentation-code/tutorials/a-simple-walkthrough/chaostoolkit.log'
from chaostoolkit-reporting.
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.
from chaostoolkit-reporting.
Related Issues (20)
- Crash when trying to generate a report HOT 4
- Reporting crashes when trying to get the locale HOT 3
- Can you document the list of package for installing it on RedHat 7? HOT 2
- What about windows? HOT 1
- chaos report dependency error HOT 1
- Switch away from pandoc to a Python native exporter?
- Brew cask install method now invalid
- Couple of Doc Changes
- Copy Commands include Dollar Sign
- chaos-report.json was renamed
- Formatting Issues and Unclear Docker Commands
- Issue with Docker Report
- PDF Report is not generating
- Multiple Probes are not displayed in html report
- I can't use Chaostoolkit-Reporting because Snaptime is missing a License
- Provision to have custom report
- Getting error while generating report in RHEL8 linux instances HOT 2
- utcfromtimestamp is deprecated in Python 3.12
- Crash while generating PDF report
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chaostoolkit-reporting.