syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.7k stars 4.9k forks source link

When open org file with python and elisp code, a error pop #10993

Closed zhenlei closed 4 years ago

zhenlei commented 6 years ago

Description :octocat:

When open org file with python and elisp code, a error pop

Reproduction guide :beetle:

Observed behaviour: :eyes: :broken_heart: backtrace error pop up

Expected behaviour: :heart: :smile: no error

System Info :computer:

Backtrace :paw_prints:

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
github-actions[bot] commented 4 years ago

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!