
Not touched nikola for long time, the org-mode plugin need to be upgrade, after upgrade, error happends when build:
Traceback (most recent call last):
File "/local/workspace/baolonglin.github.io/plugins/orgmode/orgmode.py", line 74, in compile
subprocess.check_call(command)
File "/app/python/3.5.5/lib/python3.5/subprocess.py", line 271, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['emacs', '--batch', '-l', '/localworkspace/baolonglin.github.io/plugins/orgmode/init.el', '--eval', '(nikola-html-export "/local/workspace/baolonglin.github.io/posts/cargo-the-ssl-certificate-is-invalid.org" "/local/workspace/baolonglin.github.io/cache/posts/cargo-the-ssl-certificate-is-invalid.html")']' returned non-zero exit status 255
Execute the command external, get error like:
Created img-url link. Please install htmlize from https://github.com/hniksic/emacs-htmlize
Check the init.el under the plugins/orgmode, it has:
(require 'package)
(setq package-load-list '((htmlize t)))
(package-initialize)
But my emacs has htmlize installed, use the installed one, comment out those lines add below:
(if (file-directory-p "~/.emacs.d/elpa-27.0")
(let ((default-directory "~/.emacs.d/elpa-27.0"))
(normal-top-level-add-subdirs-to-load-path)))
(require 'htmlize)




近期评论