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

failed to load config error #44

Closed
kne42 opened this issue Sep 10, 2020 · 2 comments
Closed

failed to load config error #44

kne42 opened this issue Sep 10, 2020 · 2 comments

Comments

@kne42
Copy link

kne42 commented Sep 10, 2020

Hi,

First of all thanks for putting in all the effort to develop/maintain this tool!

I was following your tutorial but was having trouble with some errors that look like this:

Failed load config for refs/heads/master from /var/folders/7n/d1xn4hp17sz58sf0rckg7jj40000gp/T/tmp0ximpy89/b1d75c24e401227ba3bb17aa9a6f71dd21eef641/docs/source

I've left it with default settings as well as trying the ones below but it keeps coming up with the same error:

smv_tag_whitelist = r'^v\d+\.\d+$'
smv_branch_whitelist = r'^master$'
smv_remote_whitelist = r'^upstream$'

I would greatly appreciate your help in debugging this!

Thanks :)

@dvdjlaw
Copy link

dvdjlaw commented Sep 16, 2020

EDIT: No longer applies for our use case as we're changing our .gitattributes and how we do releases.
In my case, I'm getting this error because the sphinx doc folder in our project is excluded from archives.

We have a .gitattributes file which excludes all docs using export-ignore. This is so that we don't include the docs in our releases. sphinx-multiversion uses git archive when making the copy and so it doesn't include these files during the build.
https://github.com/Holzhaus/sphinx-multiversion/blob/76dba73d0d4bebee3906176ed3f1f7dc58baec81/sphinx_multiversion/git.py#L149-L163

casperdcl added a commit to J-RN/sphinx-multiversion that referenced this issue Apr 4, 2021
casperdcl added a commit to J-RN/sphinx-multiversion that referenced this issue Jun 20, 2021
@BurningEnlightenment
Copy link
Member

Duplicate of #17

If you think that this is not the case, feel free to reopen and provide us with a reprex (reproducing example) or if possible a MCVE.

@BurningEnlightenment BurningEnlightenment closed this as not planned Won't fix, can't repro, duplicate, stale Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants