Closed zhenlei closed 4 years ago
When open org file with python and elisp code, a error pop
Start Emacs
Create a org file with below content:
the example of unit test function:
def test_multiply_3_4(): assert multiply(3, 4) == 12
nose the config of spacemacs is in python layer, config.el file.
(defvar python-test-runner 'nose)
open the org file
Observed behaviour: :eyes: :broken_heart: backtrace error pop up
Expected behaviour: :heart: :smile: no error
(helm auto-completion emacs-lisp git neotree org python c-c++ shell-scripts html gtags cscope semantic evil-commentary imenu-list)
Debugger entered--Lisp error: (error "Process Python Internal[ *org-src-fontification:python-mode*] not running") process-send-string(#<process Python Internal[ *org-src-fontification:python-mode*]> "import sys;print ('\\n'.join(sys.path))") comint-send-string(#<process Python Internal[ *org-src-fontification:python-mode*]> "import sys;print ('\\n'.join(sys.path))") python-shell-send-string("import sys;print ('\\n'.join(sys.path))" #<process Python Internal[ *org-src-fontification:python-mode*]>) python-shell-send-string-no-output("import sys;print ('\\n'.join(sys.path))" #<process Python Internal[ *org-src-fontification:python-mode*]>) python-shell-internal-send-string("import sys;print ('\\n'.join(sys.path))") #f(compiled-function () #<bytecode 0x5905cb5>)() ad-Advice-semantic-python-get-system-include-path(#f(compiled-function () #<bytecode 0x5905cb5>)) apply(ad-Advice-semantic-python-get-system-include-path #f(compiled-function () #<bytecode 0x5905cb5>) nil) sema
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!
Description :octocat:
When open org file with python and elisp code, a error pop
Reproduction guide :beetle:
Start Emacs
Create a org file with below content:
the example of unit test function:
+BEGIN_SRC python
def test_multiply_3_4(): assert multiply(3, 4) == 12
+END_SRC
nose the config of spacemacs is in python layer, config.el file.
+BEGIN_SRC elisp
(defvar python-test-runner 'nose)
+END_SRC
open the org file
Observed behaviour: :eyes: :broken_heart: backtrace error pop up
Expected behaviour: :heart: :smile: no error
System Info :computer:
Backtrace :paw_prints: