emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] python sessions


From: Andreas Röhler
Subject: Re: [O] python sessions
Date: Tue, 26 Mar 2013 07:29:45 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130307 Thunderbird/17.0.4

Am 25.03.2013 22:37, schrieb Eric Schulte:
running into this, func def seems missing:

Debugger entered--Lisp error: (void-function org-babel-result-cond)

My guess is that you have a mixed install.  You are mostly running the
Org-mode which ships with Emacs (in which `org-babel-result-cond' is not
defined), but you are running the version of ob-python.el from the
master branch (which expects `org-babel-result-cond' to be defined).

This is an increasingly common problem.  Maybe the following can help.
http://orgmode.org/worg/org-faq.html#keeping-current-with-Org-mode-development



Hmm, don't see there anything to change wrt to the issue.

Have in my init

(defun ar-load-feature-org-mode ()
  (interactive)
  (add-to-list 'load-path "MY_PATH/feature-org-mode")
  (add-to-list 'load-path "MY_PATH/feature-org-mode/lisp")
  (find-file "MY_PATH/feature-org-mode/lisp/ob-python.el")
  (load "MY_PATH/feature-org-mode/lisp/org-compat.el" nil t)
  (load "MY_PATH/feature-org-mode/lisp/ob-comint.el" nil t)
  (load "MY_PATH/feature-org-mode/lisp/ob-emacs-lisp.el" nil t)
  (load "MY_PATH/feature-org-mode/lisp/org.el" nil t)
  (load "MY_PATH/feature-org-mode/lisp/ob-eval.el" nil t)
  (load "MY_PATH/feature-org-mode/lisp/ob.el" nil t)
  (load "MY_PATH/feature-org-mode/lisp/ob-python.el")
  ;; (load "MY_PATH/feature-org-mode/testing/org-test-ob-consts.el" nil t)
  ;; (load "MY_PATH/feature-org-mode/testing/org-test.el" nil t)
  (load-this-directory "MY_PATH/feature-org-mode/lisp")
  (org-babel-do-load-languages
   'org-babel-load-languages
   '(
     (sh . t)
     (python . t))))

Maybe should unload existing org-mode first.
Checking for existing features yields:

org-agenda      org-bbdb        org-bibtex      org-compat
org-docview     org-entities    org-exp         org-exp-blocks
org-faces       org-footnote    org-gnus        org-html
org-info        org-infojs      org-irc         org-jsinfo
org-list        org-loaddefs    org-macs        org-mew
org-mhe         org-pcomplete   org-rmail       org-src
org-version     org-vm  org-w3m         org-wl

;;;;;;;;

Thanks,

Andreas



reply via email to

[Prev in Thread] Current Thread [Next in Thread]