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

Some markdown import errors are not caught #1201

Closed
ralsina opened this issue Apr 4, 2014 · 1 comment
Closed

Some markdown import errors are not caught #1201

ralsina opened this issue Apr 4, 2014 · 1 comment
Labels
Milestone

Comments

@ralsina
Copy link
Member

ralsina commented Apr 4, 2014

So without markdown installed, things look bad even when doing nikola --version. This was reported to the mailing list:


    ERROR:yapsy:Unable to import plugin: /home/maturano/Workspace/envs/nikola/local/lib/python2.7/site-packages/nikola/plugins/compile/markdown/mdx_nikola
    Traceback (most recent call last):
      File "/home/maturano/Workspace/envs/nikola/local/lib/python2.7/site-packages/yapsy/PluginManager.py", line 487, in loadPlugins
        candidate_module = imp.load_module(plugin_module_name,plugin_file,candidate_filepath+".py",("py","r",imp.PY_SOURCE))
      File "/home/maturano/Workspace/envs/nikola/local/lib/python2.7/site-packages/nikola/plugins/compile/markdown/mdx_nikola.py", line 30, in <module>
        from markdown.postprocessors import Postprocessor
    ImportError: No module named markdown.postprocessors
    ERROR:yapsy:Unable to import plugin: /home/maturano/Workspace/envs/nikola/local/lib/python2.7/site-packages/nikola/plugins/compile/markdown/mdx_podcast
    Traceback (most recent call last):
      File "/home/maturano/Workspace/envs/nikola/local/lib/python2.7/site-packages/yapsy/PluginManager.py", line 487, in loadPlugins
        candidate_module = imp.load_module(plugin_module_name,plugin_file,candidate_filepath+".py",("py","r",imp.PY_SOURCE))
      File "/home/maturano/Workspace/envs/nikola/local/lib/python2.7/site-packages/nikola/plugins/compile/markdown/mdx_podcast.py", line 43, in <module>
        from markdown.extensions import Extension
    ImportError: No module named markdown.extensions
    ERROR:yapsy:Unable to import plugin: /home/maturano/Workspace/envs/nikola/local/lib/python2.7/site-packages/nikola/plugins/compile/markdown/mdx_gist
    Traceback (most recent call last):
      File "/home/maturano/Workspace/envs/nikola/local/lib/python2.7/site-packages/yapsy/PluginManager.py", line 487, in loadPlugins
        candidate_module = imp.load_module(plugin_module_name,plugin_file,candidate_filepath+".py",("py","r",imp.PY_SOURCE))
      File "/home/maturano/Workspace/envs/nikola/local/lib/python2.7/site-packages/nikola/plugins/compile/markdown/mdx_gist.py", line 127, in <module>
        from markdown.inlinepatterns import Pattern
    ImportError: No module named markdown.inlinepatterns
    [2014-04-04T11:44:51Z] WARNING: Nikola: In order to USE_BUNDLES, you must install the "webassets" Python package.
    [2014-04-04T11:44:51Z] WARNING: Nikola: Setting USE_BUNDLES to False.
    Nikola v7.0.0-alpha
@ralsina ralsina added this to the v7.0.0 milestone Apr 4, 2014
@ralsina ralsina added the bug label Apr 4, 2014
@ralsina ralsina closed this as completed in 679ebba Apr 4, 2014
@maturanomx
Copy link

Works now 👍

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

No branches or pull requests

2 participants