-
Notifications
You must be signed in to change notification settings - Fork 176
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
pytm --report gives an error #224
Comments
Hi The problem is that you run the command with the file What you need to do is download a template file from https://github.com/izar/pytm/tree/master/docs . |
Try docs rather than /docs ? |
@ccc17as Were you able to make it work? |
Or try python3 tm.py --report ./docs/baseline.md |
Running on a Mac. I could execute the dfd and sequence flow diagram but when trying to generate a report I get the below error,
python3 tm.py --report /docs/baseline.md
Traceback (most recent call last):
File "/tm.py", line 127, in
tm.process()
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pytm/pytm.py", line 1062, in process
print(self.report(result.report))
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pytm/pytm.py", line 1003, in report
with open(template_path) as file:
^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/docs/baseline.md'
The text was updated successfully, but these errors were encountered: