Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to use Helium on a remote machine through rmate? #116

Open
KangByungwoo opened this issue Jan 14, 2021 · 3 comments
Open
Labels

Comments

@KangByungwoo
Copy link

Hi,

I've been wondering if it's possible to have both jupyter notebook's interactive mode and sublime text's editing interface at the same time for a code/notebook on a remote machine, and it seems that Helium might provide such an environment.

My workflow is to edit locally and run remotely codes on a remote server using rmate. I tested if it is possible to execute a code that is locally open via rmate but saved on a remote server through Helium. There was a crucial problem: it seemed that Helium interprets this code as a local file (in /tmp folder where rmate temporarily saves the code in the local machine), and therefore it could not "import" python modules saved on the remote server. rmate doesn't suffer from such problems, because once I save the code, it immediately transfers through ssh to the remote server and update the code there. After that, I can run the updated code on the remote server.

Is there any way to work around the above problem?

@sschuhmann
Copy link
Collaborator

Hi,
I have not used rmate yet, but from what I've seen it uses a ssh connection to the remote server in order to transmit the file. However, Helium had support for ssh connections, which was disabled due to incompatibility with the windows versions used to connect to the server. Since it looks like sublime iso going to package the needed libraries in the next version, this feature might come back.

For now it might be possible to mount the file system locally and edit the file. Executing the code in Helium would not work at this time.

Hope I can find some time to look into the problems with Sublime 4, so a solution might be on it's way soon.

@KangByungwoo
Copy link
Author

KangByungwoo commented Feb 27, 2021 via email

@clemisch
Copy link

Any progress on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants