emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Brenton Kenkel <brenton.kenkel@gmail.com>
To: emacs-orgmode@gnu.org
Subject: "org-nil" error in LaTeX export
Date: Wed, 09 Mar 2011 12:43:39 -0500	[thread overview]
Message-ID: <4D77BC4B.80809@gmail.com> (raw)

I am having a problem with exporting to LaTeX from org-mode. I am 
running org-mode 7.5 in Emacs 23.1.1 on 64-bit Ubuntu 10.10. (I am using 
the stable version, but the same error occurs when I use the development 
version from git.) When I run "C-c C-e d", I receive the error message 
"Cannot open load file: org-nil". The file I am using and the backtrace 
output are pasted below.

Best wishes,
Brenton Kenkel


-----------
begin file:
-----------

+TITLE: Test
#+AUTHOR: test author

* hello

export me

--------
end file
--------


----------------
begin backtrace:
----------------

Debugger entered--Lisp error: (file-error "Cannot open load file" "org-nil")
   require(org-nil nil)
   (let* ((backend-name ...) (f ...)) (require (intern ...) nil) 
(funcall f parameters))
   (save-current-buffer (set-buffer (get-buffer-create " org-mode-tmp")) 
(erase-buffer) (insert string) (setq case-fold-search t) (let (...) 
(remove-text-properties ... ... ...)) (org-export-kill-licensed-text) 
(let (...) (org-mode)) (setq case-fold-search t) 
(org-clone-local-variables source-buffer "^\\(org-\\|orgtbl-\\)") 
(org-install-letbind) (run-hooks (quote org-export-preprocess-hook)) 
(org-export-preprocess-apply-macros) (run-hooks (quote 
org-export-preprocess-after-macros-hook)) (untabify (point-min) 
(point-max)) (org-export-handle-include-files-recurse) (run-hooks (quote 
org-export-preprocess-after-include-files-hook)) 
(org-export-remove-archived-trees archived-trees) 
(org-export-remove-comment-blocks-and-subtrees) 
(org-export-handle-export-tags (plist-get parameters :select-tags) 
(plist-get parameters :exclude-tags)) (run-hooks (quote 
org-export-preprocess-after-tree-selection-hook)) 
(org-export-mark-list-end) (org-export-blocks-preprocess) 
(org-export-mark-list-properties) 
(org-export-replace-src-segments-and-examples) 
(org-export-protect-colon-examples) 
(org-export-convert-protected-spaces) (when (plist-get parameters 
:footnotes) (org-footnote-normalize nil t)) (setq target-alist 
(org-export-define-heading-targets target-alist)) (run-hooks (quote 
org-export-preprocess-after-headline-targets-hook)) 
(org-export-remember-html-container-classes) 
(org-export-remove-or-extract-drawers drawers (plist-get parameters 
:drawers)) (when (plist-get parameters :skip-before-1st-heading) 
(goto-char ...) (when ... ... ... ...)) (when (plist-get parameters 
:add-text) (goto-char ...) (insert ... "\n")) 
(org-export-remove-headline-metadata parameters) (setq target-alist 
(org-export-handle-invisible-targets target-alist)) (run-hooks (quote 
org-export-preprocess-before-selecting-backend-code-hook)) 
(org-export-select-backend-specific-text) 
(org-export-protect-quoted-subtrees) (org-export-remove-clock-lines) 
(org-export-protect-verbatim) (org-export-mark-blockquote-verse-center) 
(run-hooks (quote org-export-preprocess-after-blockquote-hook)) (unless 
(plist-get parameters :timestamps) (org-export-remove-timestamps)) (setq 
target-alist (org-export-attach-captions-and-attributes target-alist)) 
(org-export-mark-radio-links) (run-hooks (quote 
org-export-preprocess-after-radio-targets-hook)) 
(org-export-concatenate-multiline-links) (run-hooks (quote 
org-export-preprocess-before-normalizing-links-hook)) 
(org-export-normalize-links) ...)
   (with-current-buffer (get-buffer-create " org-mode-tmp") 
(erase-buffer) (insert string) (setq case-fold-search t) (let (...) 
(remove-text-properties ... ... ...)) (org-export-kill-licensed-text) 
(let (...) (org-mode)) (setq case-fold-search t) 
(org-clone-local-variables source-buffer "^\\(org-\\|orgtbl-\\)") 
(org-install-letbind) (run-hooks (quote org-export-preprocess-hook)) 
(org-export-preprocess-apply-macros) (run-hooks (quote 
org-export-preprocess-after-macros-hook)) (untabify (point-min) 
(point-max)) (org-export-handle-include-files-recurse) (run-hooks (quote 
org-export-preprocess-after-include-files-hook)) 
(org-export-remove-archived-trees archived-trees) 
(org-export-remove-comment-blocks-and-subtrees) 
(org-export-handle-export-tags (plist-get parameters :select-tags) 
(plist-get parameters :exclude-tags)) (run-hooks (quote 
org-export-preprocess-after-tree-selection-hook)) 
(org-export-mark-list-end) (org-export-blocks-preprocess) 
(org-export-mark-list-properties) 
(org-export-replace-src-segments-and-examples) 
(org-export-protect-colon-examples) 
(org-export-convert-protected-spaces) (when (plist-get parameters 
:footnotes) (org-footnote-normalize nil t)) (setq target-alist 
(org-export-define-heading-targets target-alist)) (run-hooks (quote 
org-export-preprocess-after-headline-targets-hook)) 
(org-export-remember-html-container-classes) 
(org-export-remove-or-extract-drawers drawers (plist-get parameters 
:drawers)) (when (plist-get parameters :skip-before-1st-heading) 
(goto-char ...) (when ... ... ... ...)) (when (plist-get parameters 
:add-text) (goto-char ...) (insert ... "\n")) 
(org-export-remove-headline-metadata parameters) (setq target-alist 
(org-export-handle-invisible-targets target-alist)) (run-hooks (quote 
org-export-preprocess-before-selecting-backend-code-hook)) 
(org-export-select-backend-specific-text) 
(org-export-protect-quoted-subtrees) (org-export-remove-clock-lines) 
(org-export-protect-verbatim) (org-export-mark-blockquote-verse-center) 
(run-hooks (quote org-export-preprocess-after-blockquote-hook)) (unless 
(plist-get parameters :timestamps) (org-export-remove-timestamps)) (setq 
target-alist (org-export-attach-captions-and-attributes target-alist)) 
(org-export-mark-radio-links) (run-hooks (quote 
org-export-preprocess-after-radio-targets-hook)) 
(org-export-concatenate-multiline-links) (run-hooks (quote 
org-export-preprocess-before-normalizing-links-hook)) 
(org-export-normalize-links) ...)
   (let* ((org-export-current-backend ...) (archived-trees ...) 
(inhibit-read-only t) (drawers org-drawers) (outline-regexp "\\*+ ") 
(source-buffer ...) target-alist rtn) (setq org-export-target-aliases 
nil org-export-preferred-target-alist nil org-export-id-target-alist nil 
org-export-code-refs nil) (with-current-buffer (get-buffer-create " 
org-mode-tmp") (erase-buffer) (insert string) (setq case-fold-search t) 
(let ... ...) (org-export-kill-licensed-text) (let ... ...) (setq 
case-fold-search t) (org-clone-local-variables source-buffer 
"^\\(org-\\|orgtbl-\\)") (org-install-letbind) (run-hooks ...) 
(org-export-preprocess-apply-macros) (run-hooks ...) (untabify ... ...) 
(org-export-handle-include-files-recurse) (run-hooks ...) 
(org-export-remove-archived-trees archived-trees) 
(org-export-remove-comment-blocks-and-subtrees) 
(org-export-handle-export-tags ... ...) (run-hooks ...) 
(org-export-mark-list-end) (org-export-blocks-preprocess) 
(org-export-mark-list-properties) 
(org-export-replace-src-segments-and-examples) 
(org-export-protect-colon-examples) 
(org-export-convert-protected-spaces) (when ... ...) (setq target-alist 
...) (run-hooks ...) (org-export-remember-html-container-classes) 
(org-export-remove-or-extract-drawers drawers ...) (when ... ... ...) 
(when ... ... ...) (org-export-remove-headline-metadata parameters) 
(setq target-alist ...) (run-hooks ...) 
(org-export-select-backend-specific-text) 
(org-export-protect-quoted-subtrees) (org-export-remove-clock-lines) 
(org-export-protect-verbatim) (org-export-mark-blockquote-verse-center) 
(run-hooks ...) (unless ... ...) (setq target-alist ...) 
(org-export-mark-radio-links) (run-hooks ...) 
(org-export-concatenate-multiline-links) (run-hooks ...) 
(org-export-normalize-links) ...) (kill-buffer " org-mode-tmp") rtn)
   org-export-preprocess-string(#("#+TITLE: Test\n#+AUTHOR: test 
author\n\n" 0 8 (fontified nil font-lock-fontified t) 8 9 (fontified 
nil) 9 13 (fontified nil font-lock-fontified t) 13 14 (fontified nil) 14 
23 (fontified nil font-lock-fontified t) 23 24 (fontified nil) 24 35 
(fontified nil font-lock-fontified t) 35 37 (fontified nil)) :for-LaTeX 
t :emph-multiline t :add-text nil :comments nil :skip-before-1st-heading 
nil :LaTeX-fragments nil :timestamps t :footnotes t)
   org-export-latex-first-lines((:latex-image-options "width=10em" 
:exclude-tags ("noexport") :select-tags ("export") :publishing-directory 
nil :timestamp nil :expand-quoted-html t :html-table-tag "<table 
border=\"2\" cellspacing=\"0\" cellpadding=\"6\" rules=\"groups\" 
frame=\"hsides\">" :xml-declaration (("html" . "<?xml version=\"1.0\" 
encoding=\"%s\"?>") ("php" . "<?php echo \"<?xml version=\\\"1.0\\\" 
encoding=\\\"%s\\\" ?>\"; ?>")) :html-postamble nil :html-preamble nil 
:html-extension "html" :inline-images maybe :convert-org-links t 
:agenda-style "" :style-extra "" :style "" :style-include-scripts t 
:style-include-default t :table-auto-headline t :tables t 
:time-stamp-file t :creator-info t :email-info nil :author-info t :email 
"brenton@veblen" ...) nil)
   org-export-as-latex(nil nil nil nil nil nil)
   org-export-as-pdf(nil)
   org-export-as-pdf-and-open(nil)
   call-interactively(org-export-as-pdf-and-open)
   (if (and bg (nth 2 ass) (not ...) (not ...)) (let (...) 
(set-process-sentinel p ...) (message "Background process \"%s\": 
started" p)) (if subtree-p (progn ... ...)) (call-interactively (nth 1 
ass)) (when (and bpos ...) (let ... ... ... ... ...)))
   (let* ((bg ...) (subtree-p ...) (help "[t]   insert the export option 
template\n[v]   limit export to visible part of outline tree\n[1] 
switch buffer/subtree export\n[SPC] publish enclosing subtree (with 
LaTeX_CLASS or EXPORT_FILE_NAME prop)\n\n[a/n/u] export as 
ASCII/Latin-1/UTF-8         [A/N/U] to temporary buffer\n\n[h] export as 
HTML      [H] to temporary buffer   [R] export region\n[b] export as 
HTML and open in browser\n\n[l] export as LaTeX     [L] to temporary 
buffer\n[p] export as LaTeX and process to PDF            [d] ... and 
open PDF file\n\n[D] export as DocBook   [V] export as DocBook, process 
to PDF, and open\n\n[j] export as TaskJuggler 
[J] ... and open\n\n[m] export as Freemind mind map\n[x] export as 
XOXO\n[g] export using Wes Hardaker's generic exporter\n\n[i] export 
current file as iCalendar file\n[I] export all agenda files as iCalendar 
files   [c] ...as one combined file\n\n[F] publish current file 
  [P] publish current project\n[X] publish a project...          [E] 
publish every projects") (cmds ...) r1 r2 ass (cpos ...) (cbuf ...) 
bpos) (save-excursion (save-window-excursion ... ... ... ... ... ...)) 
(redisplay) (and bpos (goto-char bpos)) (setq r2 (if ... ... r1)) 
(unless (setq ass ...) (error "No command associated with key %c" r1)) 
(if (and bg ... ... ...) (let ... ... ...) (if subtree-p ...) 
(call-interactively ...) (when ... ...)))
   org-export(nil)
   call-interactively(org-export nil nil)

-------------
end backtrace
-------------

             reply	other threads:[~2011-03-09 17:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-09 17:43 Brenton Kenkel [this message]
2011-03-09 17:53 ` "org-nil" error in LaTeX export Bastien
2011-03-09 18:14   ` Nick Dokos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D77BC4B.80809@gmail.com \
    --to=brenton.kenkel@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).