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: Failed loading extension #6

Closed
ebdavison opened this issue Sep 25, 2018 · 6 comments
Closed

Error: Failed loading extension #6

ebdavison opened this issue Sep 25, 2018 · 6 comments

Comments

@ebdavison
Copy link

I have installed mkdocs, inline_graphviz and graphviz. One of my systems works properly and generates the inline SVG. However, on two other systems with same installed packages, I get the following error:

$ mkdocs build
ERROR   -  Config value: 'markdown_extensions'. Error: Failed loading extension "inline_graphviz".

Aborted with 1 Configuration Errors!

Here is the mkdocs.yml file:

markdown_extensions:
    - inline_graphviz
site_name: relay01
nav:
    - Home: index.md
    - Files: files.md

@yexingok
Copy link

Hi @ebdavison

Have you solve the issue?

I use virtualenv to create a new python environment and have exactly the same issue,

@colinli
Copy link

colinli commented Dec 1, 2018

The same issue and seems not fixed yet. MKdocs 1.0.4 and Python 2.7

@colinli
Copy link

colinli commented Dec 1, 2018

This works for me:

markdown_extensions:
  - mdx_inline_graphviz

@yexingok
Copy link

@colinli thanks - this works for me as well 👍

@ebdavison
Copy link
Author

I will check this out.

@ebdavison
Copy link
Author

seems to work for me as well.
thanks

abliss added a commit to abliss/sandstorm that referenced this issue Jan 17, 2020
The `theme_dir` option changed to `theme.custom_dir` [1], and the extension
called `inline_graphviz` is apparently now called `mdx_inline_graphviz`[2] [3].

(Additionally, the `pages` option was renamed to `nav` which is not yet
breaking, but they threaten to break it in the future.)

)
1: https://www.mkdocs.org/about/release-notes/#theme_dir-configuration-option-fully-deprecated

2: sprin/markdown-inline-graphviz#6

3: sprin/markdown-inline-graphviz#9
abliss added a commit to abliss/sandstorm that referenced this issue Jan 17, 2020
The `theme_dir` option changed to `theme.custom_dir` [1], and the extension
called `inline_graphviz` is apparently now called `mdx_inline_graphviz`[2] [3].

(Additionally, the `pages` option was renamed to `nav` which is not yet
breaking, but they threaten to break it in the future.)

)
1: https://www.mkdocs.org/about/release-notes/#theme_dir-configuration-option-fully-deprecated

2: sprin/markdown-inline-graphviz#6

3: sprin/markdown-inline-graphviz#9
abliss added a commit to abliss/sandstorm that referenced this issue Jan 19, 2020
The `theme_dir` option changed to `theme.custom_dir` [1], and the extension
called `inline_graphviz` is apparently now called `mdx_inline_graphviz`[2] [3].

(Additionally, the `pages` option was renamed to `nav` which is not yet
breaking, but they threaten to break it in the future.)

The modifications to the readthedocs theme (from circa 0.17) have been ported
forwawrd to the theme as-of 1.0.4. This required renaming README.md to
readme.txt to avoid fouling the landing page autodetection.

Also, pinned the versions in the pip install commands, to reduce future surprise
breakage of this type.

1: https://www.mkdocs.org/about/release-notes/#theme_dir-configuration-option-fully-deprecated

2: sprin/markdown-inline-graphviz#6

3: sprin/markdown-inline-graphviz#9
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