I am following tutorial on https://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.html. I move point to the end of this line and press C-x C-e to load org-publish:
(require 'org-publish) It worked yesterday. Now it gets this backtrace:
Debugger entered--Lisp error: (file-missing "Cannot open load file" "No such file or directory" "org-publish") require(org-publish) eval((require 'org-publish) nil) elisp--eval-last-sexp(nil) #f(compiled-function (eval-last-sexp-arg-internal) "Evaluate sexp before point; print value in the echo area.\nInteractively, with a non `-' prefix argument, print output into\ncurrent buffer.\n\nNormally, this function truncates long output according to the\nvalue of the variables `eval-expression-print-length' and\n`eval-expression-print-level'. With a prefix argument of zero,\nhowever, there is no such truncation. Such a prefix argument\nalso causes integers to be printed in several additional formats\n(octal, hexadecimal, and character when the prefix argument is\n-1 or the integer is `eval-expression-print-maximum-character' or\nless).\n\nIf `eval-expression-debug-on-error' is non-nil, which is the default,\nthis command arranges for all errors to enter the debugger." (interactive "P") #<bytecode 0x1f84db>)(nil) #f(compiled-function (&rest _it) #<bytecode 0x25ee78d>)() eval-sexp-fu-flash-doit-simple(#f(compiled-function (&rest _it) #<bytecode 0x25ee78d>) #f(compiled-function (&rest args2) #<bytecode 0x21bb4b1>) #f(compiled-function (&rest args2) #<bytecode 0x21ba8b1>)) eval-sexp-fu-flash-doit(#f(compiled-function (&rest _it) #<bytecode 0x25ee78d>) #f(compiled-function (&rest args2) #<bytecode 0x21bb4b1>) #f(compiled-function (&rest args2) #<bytecode 0x21ba8b1>)) esf-flash-doit(#f(compiled-function (&rest _it) #<bytecode 0x25ee78d>) #f(compiled-function (&rest args2) #<bytecode 0x21bb4b1>) #f(compiled-function (&rest args2) #<bytecode 0x21ba8b1>) #f(compiled-function (&rest args2) #<bytecode 0x21ba0b1>)) ad-Advice-eval-last-sexp(#f(compiled-function (eval-last-sexp-arg-internal) "Evaluate sexp before point; print value in the echo area.\nInteractively, with a non `-' prefix argument, print output into\ncurrent buffer.\n\nNormally, this function truncates long output according to the\nvalue of the variables `eval-expression-print-length' and\n`eval-expression-print-level'. With a prefix argument of zero,\nhowever, there is no such truncation. Such a prefix argument\nalso causes integers to be printed in several additional formats\n(octal, hexadecimal, and character when the prefix argument is\n-1 or the integer is `eval-expression-print-maximum-character' or\nless).\n\nIf `eval-expression-debug-on-error' is non-nil, which is the default,\nthis command arranges for all errors to enter the debugger." (interactive "P") #<bytecode 0x1f84db>) nil) apply(ad-Advice-eval-last-sexp #f(compiled-function (eval-last-sexp-arg-internal) "Evaluate sexp before point; print value in the echo area.\nInteractively, with a non `-' prefix argument, print output into\ncurrent buffer.\n\nNormally, this function truncates long output according to the\nvalue of the variables `eval-expression-print-length' and\n`eval-expression-print-level'. With a prefix argument of zero,\nhowever, there is no such truncation. Such a prefix argument\nalso causes integers to be printed in several additional formats\n(octal, hexadecimal, and character when the prefix argument is\n-1 or the integer is `eval-expression-print-maximum-character' or\nless).\n\nIf `eval-expression-debug-on-error' is non-nil, which is the default,\nthis command arranges for all errors to enter the debugger." (interactive "P") #<bytecode 0x1f84db>) nil) eval-last-sexp(nil) funcall-interactively(eval-last-sexp nil) call-interactively(eval-last-sexp nil nil) command-execute(eval-last-sexp) How to troubleshoot? I don't understand the error message and I don't know Lisp.
UPDATE 1:
org-publish is not listed in list-packages.
UPDATE 2:
The tutorial uses two different "require".
(require 'ox-publish) (require 'org-publish)
org-publishis not in yourload-path.ox-publish.elin itslispdirectory but noorg-publish.el. Try to replace(require 'org-publish)with(require 'ox-publish).(require ox-publish)just as @Tobias has suggested.org-publish-project-alistabove, modified the paths for my setup, added a simple org file to the specifiedbase-directoryand didM-x org-publish RET org RETwith no errors. Moreover, there was a corresponding html file in the publishing directory afterwards.