Skip to content
New issue

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

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

Already on GitHub? # to your account

Inelegant failure after first install #1

Closed
nedbat opened this issue Aug 4, 2020 · 1 comment
Closed

Inelegant failure after first install #1

nedbat opened this issue Aug 4, 2020 · 1 comment

Comments

@nedbat
Copy link
Owner

nedbat commented Aug 4, 2020

  • Install scriv 0.8.0
  • Run "scriv create"
  • Look:
$ scriv create
Creating changelog.d/20200804_133229_nedbat.rst
Traceback (most recent call last):
  File "/usr/local/virtualenvs/webhooks/bin/scriv", line 8, in <module>
    sys.exit(cli())
  File "/usr/local/virtualenvs/webhooks/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/virtualenvs/webhooks/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/virtualenvs/webhooks/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/virtualenvs/webhooks/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/virtualenvs/webhooks/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/virtualenvs/webhooks/lib/python3.8/site-packages/scriv/create.py", line 60, in create
    with open(file_path, "w") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'changelog.d/20200804_133229_nedbat.rst'
@nedbat
Copy link
Owner Author

nedbat commented Aug 9, 2020

Fixed in 351ba2e.

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

No branches or pull requests

1 participant