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

[Bug Report][1.5.0] --yaml does not support relative patch #52

Open
tai271828 opened this issue Nov 14, 2021 · 0 comments
Open

[Bug Report][1.5.0] --yaml does not support relative patch #52

tai271828 opened this issue Nov 14, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@tai271828
Copy link
Member

Description

--yaml /tmp/general-plots-en.yamls works.
--yaml ./general-plots-en.yamls does not work.

rg-cli version

1.5.0

Actual Behavior

Traceback (most recent call last):
  File "/home/tai271828/.local/share/virtualenvs/pycontw-postevent-report-generator-O9WfcvCq/bin/rg-cli", line 33, in <module>
    sys.exit(load_entry_point('pycontw-report-generator', 'console_scripts', 'rg-cli')())
  File "/home/tai271828/.local/share/virtualenvs/pycontw-postevent-report-generator-O9WfcvCq/lib/python3.7/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/home/tai271828/.local/share/virtualenvs/pycontw-postevent-report-generator-O9WfcvCq/lib/python3.7/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/home/tai271828/.local/share/virtualenvs/pycontw-postevent-report-generator-O9WfcvCq/lib/python3.7/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/tai271828/.local/share/virtualenvs/pycontw-postevent-report-generator-O9WfcvCq/lib/python3.7/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/home/tai271828/work-my-projects/pycontw-projects/demo-post-event-02/pycontw-postevent-report-generator/report_generator/controller/report_generator_cli.py", line 142, in main
    report_yaml = report_generatoryaml.read_yaml(yaml)
  File "/home/tai271828/work-my-projects/pycontw-projects/demo-post-event-02/pycontw-postevent-report-generator/report_generator/io/yaml.py", line 9, in read_yaml
    with open(input_yaml, "r") as stream:
FileNotFoundError: [Errno 2] No such file or directory: './general-plots-en.yamls'
@tai271828 tai271828 added the bug Something isn't working label Nov 14, 2021
@tai271828 tai271828 changed the title [Bug Report][1.5.0] --yaml does not support relavie patch [Bug Report][1.5.0] --yaml does not support relative patch Nov 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant