emacs-orgmode
[Top][All Lists]
Advanced

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

[PATCH] ob-python.el: Fix issue with sessions on remote machines


From: Christian Vanderwall
Subject: [PATCH] ob-python.el: Fix issue with sessions on remote machines
Date: Mon, 17 Aug 2020 11:47:38 -0700

The function `org-babel-python-evaluate-session' doesn't process temp
file names with `org-babel-process-file-name' before inserting them into
the Python code blocks. This causes a 'No such file' error when the
executing the code blocks on a remote directory.

The attached patch fixes this issue, allowing compilation of Python
source blocks with a remote directory, such as :dir /ssh:user@server:/.

This is my first patch ever, so please let me know if there's ways I can
improve.

Thanks!
-- 
Christian Vanderwall

Attachment: 0001-ob-python.el-Fix-issue-with-sessions-on-remote-machi.patch
Description: Text Data


reply via email to

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