You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing BeautifulSoup, pelican-import still fails:
sh: pandoc: command not found
Traceback (most recent call last):
File "/Users/akavlie/envs/kavlie.net/bin/pelican-import", line 283, in <module>
main(input_type, args.input, args.markup, args.output, dircat=args.dircat)
File "/Users/akavlie/envs/kavlie.net/bin/pelican-import", line 242, in main
fields2pelican(fields, out_markup, output_path, dircat=dircat)
File "/Users/akavlie/envs/kavlie.net/bin/pelican-import", line 223, in fields2pelican
with open(out_filename, 'r', encoding='utf-8') as fs:
File "/Users/akavlie/envs/kavlie.net/lib/python2.7/codecs.py", line 881, in open
file = __builtin__.open(filename, mode, buffering)
The docs mention the reliance on pandoc in passing, but do not mention the need to install it manually (which I assume is the case, as it's not a Python module).
Two suggestions:
The docs should give explicit instructions to install pandoc to use pelican-import, for formats other than dotclear.
The pelican-import script should abort with a friendly error if it can't find pandoc, rather than the traceback above.
The text was updated successfully, but these errors were encountered:
+1 on the proposed changes. Enhancing the documentation is probably the
best way to do this. We also can point users to the documentation when
prompting the error at them.
Do you want to work on a fix for this?
akavlie
added a commit
to akavlie/pelican
that referenced
this issue
Apr 13, 2012
Added Pandoc requirement to docs in the pull request.
I see that the code already handles missing Pandoc, and it seems to be working for me now. Why did I get the traceback above the other day? I have no idea.
After installing BeautifulSoup, pelican-import still fails:
The docs mention the reliance on pandoc in passing, but do not mention the need to install it manually (which I assume is the case, as it's not a Python module).
Two suggestions:
The text was updated successfully, but these errors were encountered: