PyCharm remote interpreter sync problem

Hi all!

I have a strange problem with remote interpreter in PyCharm.

I have configured everything and it seems to work well, but the problem is syncing: PyCharm uploads my files to remote server, but all the output files of my programs/scripts are written only on the remote host, not synced back to my computer.

I'm using SSH and SFTP.

1
6 comments
Avatar
Permanently deleted user

Nobody knows how to solve this?

0
Avatar
Permanently deleted user

This is also a problem for me!

0

It should work, I can't reproduce the issue on my side. Are the files being generated in the same path as the script you run? Can you provide example of the steps to reproduce the issue?

0
Avatar
Permanently deleted user

Reproduce steps:

1. Create a new project, add a remote SSH interpreter to another machine.

2. Use python script to create a file, for example:

import json


if __name__ == '__main__':
ad = {'a': 1}
with open('delme.json', 'w') as f:
json.dump(ad, f)

3. Run the script. The file appears on the remote machine (directory), but is not synced back.

0

Thank you, reproduced. To download the file to your local machine you can use "Download from" or "Sync" actions from the Tools > Deployment menu after the file has been generated. You can map a shortcut to one of those actions for a faster execution.

Regardless, I've created a feature request for you: https://youtrack.jetbrains.com/issue/PY-38053

Feel free to vote, follow, comment.

2
Avatar
Permanently deleted user

Hi Andrey, it works. Great! Personally I prefer "Sync" since it it more verbose.

Thanks also for the feature request created!.

0

Please sign in to leave a comment.