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

Error when running in a git repo #13

Open
das74 opened this issue Jul 7, 2021 · 1 comment
Open

Error when running in a git repo #13

das74 opened this issue Jul 7, 2021 · 1 comment

Comments

@das74
Copy link

das74 commented Jul 7, 2021

When running the script in a local git repo with all MD files stored in docs/I get the error
raise InvalidGitRepositoryError(epath)
To solve this, I added search_parent_directories=True to the Repo object,
so that line 247 in markdown-to-confluence.py is now:
repo = git.Repo(args.git, search_parent_directories=True)
This seems to avoid the error, but now the script tries this:
Attempting to deploy docs/__pycache__/convert.cpython-39.pyc
which results in
Skipping docs/__pycache__/convert.cpython-39.pyc since it's not a supported format.
Do you have any hint what do do?

@robbrad
Copy link

robbrad commented Feb 7, 2022

Did you add and commit the docs folder? - I had the same until I did that

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

2 participants