[O] ob-python specify session error

2019-06-18 Thread stardiviner
#+begin_src python :session wxpy from wxpy import * #+end_src When I =[C-c C-c]= eval source block, I got following error: #+begin_example Debugger entered--Lisp error: (wrong-number-of-arguments (0 . 0) 1) py-toggle-shells("python") (cond ((and (eq 'python org-babel-python-mode) (fboundp '

Re: [O] ob-python specify :session error

2017-12-29 Thread numbch...@gmail.com
After Edebug: I found the problem location: - [ ] org-babel-execute:python #+begin_src emacs-lisp (session (org-babel-python-initiate-session (cdr (assq :session params #+end_src - [ ] org-babel-python-initiate-session - [ ] org-babel-python-session-buf

Re: [O] ob-python specify :session error

2017-12-29 Thread Nicolas Goaziou
"numbch...@gmail.com" writes: > Still get same error: >> org-babel-python-evaluate-session: Buffer *Python-*Python** does not > exist or has no process As demonstrated in my output, I cannot reproduce your problem, then. Regards,

Re: [O] ob-python specify :session error

2017-12-29 Thread numbch...@gmail.com
Still get same error: > org-babel-python-evaluate-session: Buffer *Python-*Python** does not exist or has no process [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 4

Re: [O] ob-python specify :session error

2017-12-29 Thread Nicolas Goaziou
Hello, stardiviner writes: > I have following org content: > > I define variable in Python inferior REPL (launched by [M-x run-python]) > > Python> name = "chris" > > #+begin_src python :session "*Python*" > print(name) > #+end_src > > But I got error: > > > org-babel-python-evaluate-session: B

[O] ob-python specify :session error

2017-12-29 Thread stardiviner
I have following org content: I define variable in Python inferior REPL (launched by [M-x run-python]) Python> name = "chris" #+begin_src python :session "*Python*" print(name) #+end_src But I got error: > org-babel-python-evaluate-session: Buffer *Python-*Python** does not exist or has no