alander/org-taskjuggler3 — Issue #1: error while exporting
Author: mgalgs
Created: 2012-02-21 20:34:27+00:00
State: open

I'm getting an error while trying to export using taskjuggler3. I'm trying to export the org file found on http://orgmode.org/worg/org-tutorials/org-taskjuggler.html (using the "final" one towards the bottom of the page).

It's error'ing out somewhere aroung org-taskjuggler3.el:398

Debugger entered--Lisp error: (void-variable task)
(cons (cons "leaf-node" t) task)
(setq task (cons (cons "leaf-node" t) task))
(push (cons "leaf-node" t) task)
(cons (push (cons "leaf-node" t) task) new-tasks)
(setq new-tasks (cons (push ... task) new-tasks))
(push (push (cons "leaf-node" t) task) new-tasks)
(setq new-tasks (push (push ... task) new-tasks))
(setf new-tasks (push (push ... task) new-tasks))
(progn (setf new-tasks (push ... new-tasks)) (return-from org-taskjuggler-compute-task-leafiness))
(if (null levels) (progn (setf new-tasks ...) (return-from org-taskjuggler-compute-task-leafiness)))
(when (null levels) (setf new-tasks (push ... new-tasks)) (return-from org-taskjuggler-compute-task-leafiness))
(let ((levels ...) new-tasks) (when (null levels) (setf new-tasks ...) (return-from org-taskjuggler-compute-task-leafiness)) (dolist (task tasks) (setf levels ...) (when ... ... ...) (if ... ... ...)) (nreverse new-tasks))
org-taskjuggler-compute-task-leafiness(nil)
(let* ((projects ...) (globals ...) (tasks ...) (resources ...) (filename ...) (buffer ...) (org-export-taskjuggler-old-level 0) (default-flags ...) task resource) (unless projects (error "No project specified")) (unless tasks (error "No tasks specified")) (org-taskjuggler-fixup-project-list-with-good-defaults projects) (org-taskjuggler-fixup-resources-list-with-good-defaults resources) (org-taskjuggler-fixup-tasks-list-with-good-defaults tasks) (with-current-buffer buffer (erase-buffer) (org-taskjuggler-open-project ...) (insert org-export-taskjuggler-default-global-properties) (insert "\n") (when default-flags ...) (when ... ...) (dolist ... ...) (org-taskjuggler-close-maybe 1) (setq org-export-taskjuggler-old-level 0) (dolist ... ...) (org-taskjuggler-close-maybe 1) (org-taskjuggler-export-reports) (save-buffer) (or ... ...) (current-buffer)))
org-export-as-taskjuggler()
(buffer-file-name (org-export-as-taskjuggler))
(let* ((file-name ...) (process-name "tj3") (command ...) buffer) (setf buffer (compilation-start command t)))
org-export-as-taskjuggler-and-open()
call-interactively(org-export-as-taskjuggler-and-open)
org-export(nil)
call-interactively(org-export nil nil)