Skip to content
This repository has been archived by the owner on Aug 11, 2023. It is now read-only.

No such file or directory: readthedocs.yml #429

Closed
matteobachetti opened this issue Sep 2, 2019 · 4 comments
Closed

No such file or directory: readthedocs.yml #429

matteobachetti opened this issue Sep 2, 2019 · 4 comments

Comments

@matteobachetti
Copy link

I'm creating a new package from the template using cookiecutter. If I answer 'n' to the question use_read_the_docs [y]:, the package creation fails with

Traceback (most recent call last):
  File "/tmp/tmp7k_e0rii.py", line 48, in <module>
    remove_file('readthedocs.yml')
  File "/tmp/tmp7k_e0rii.py", line 9, in remove_file
    os.remove(os.path.join(PROJECT_DIRECTORY, filepath))
FileNotFoundError: [Errno 2] No such file or directory: '/home/mbachett/software/IXPE/ixpehealth/readthedocs.yml'
ERROR: Stopping generation because post_gen_project hook script didn't exit successfully

@pllim

This comment has been minimized.

@Cadair
Copy link
Member

Cadair commented Sep 2, 2019

@pllim
Copy link
Member

pllim commented Sep 16, 2019

Looking at this again, I think it is a typo in the code. It is supposed to be looking for .readthedocs.yml, not readthedocs.yml.

@pllim pllim mentioned this issue Sep 16, 2019
@pllim
Copy link
Member

pllim commented Jan 31, 2020

Fixed in #438

@pllim pllim closed this as completed Jan 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants