xcodebuild / blog-admin

Write blog in emacs with hexo/org-page/nikola
GNU General Public License v2.0
229 stars 24 forks source link

nikola backend failed to scan files... w/Nikola v.7.7.8 #29

Closed nyamada closed 8 years ago

nyamada commented 8 years ago

I'm not quite sure about what is supposed to happen, but I do know that

nikola -Pd fails with Nikola v.7.7.8 since -P is not a valid option flag and so scan-posts needs to be changed in the following fashion (perhaps?) -- have no idea what -P used to do...

(defun -scan-posts () "Scan posts of nikola" (when (-posts-dir-changed) (message "Scanning posts...") (let* ((resize-mini-windows nil) ;; Don't show output in mini-buffer (command (format "cd %s && %s status -d" blog-admin-backend-path blog-admin-backend-nikola-executable)) (output-buffer-name "blog-admin-backend-nikola-output") (output (shell-command command output-buffer-name output-buffer-name)) draft-paths published-paths)

nyamada commented 8 years ago

Never mind ...I didn't get that nikola status accepts a -P flag in github master branch... I had nikola installed via pip install.

punchagan commented 8 years ago

Closing this issue. If you have other issues setting it up, feel free to open a new issue.