osx - Pelican plugins not found -
i testing out pelican personal blog use stuck use of plugins.
apparently, pelicanconf.py
file not picking plugins.
here's snippet of pelicanconf.py
:
theme = '/users/namely/public/mypersonalworkspace/static_blog/static-blog/pelican-themes/pelican-bootstrap3' plugins_paths = ["./plugins","plugins","./pelican-plugins","pelican-plugins","/users/namely/public/mypersonalworkspace/static_blog/static-blog/pelican-plugins"] plugins = ["sitemap"]
my pelican setup theme correct since using theme correctly. somehow, not reading plugin directories. following folder structure:
static-blog/ content/ output/ pelican-plugins/ sitemap/ __init__.py sitemap.py readme.rst plugins/ sitemap.py pelican-themes/ pelican-bootstrap3/ # , pelican-bootstrap3's files pelicanconf.py publishconf.py develop_server.sh fabfile makefile
i using pelican 3.4, on macbook air ( osx 10.9.4 ), python version 2.7.5
i using list of directories plugin_paths
since directories didn't work ( either individually or in list, relative or absolute. ).
my pelican installation working fine since can run blog. it's plugins not working somehow. plugins, did git clone https://github.com/getpelican/pelican-plugins.
the error message received was:
error: can't find plugin `sitemap`: no module named sitemap
any advice great!
thank all!
it might simple typo in settings file. noted in docs, name of relevant setting plugin_paths
, whereas settings file appears contain plugins_paths
(note spurious s
).
Comments
Post a Comment