IntelliJ cannot read /open script saved on remote host
I have been using IntelliJ for my development work in Python. I started using this Jetbrain product only 6 months ago, so obviously my expertise on this application is not that great. I would say a beginner to Intermediate rank. I run python on remote host ( unix server) using IntelliJ. The setup is up and running with the script run smoothly in the console. I have to select the chunks of code I want to run and execute in console. However when I tried to run the same script (saved on the same remote server) using Alt+Shift+f10 I get this error
ssh://userID@servername.net:22/Python/Interpreter/path/python3.6 -u <e4e59851-2bd7-4356-8c75-5cfe5babcdf2>/home/script/location/Pyscript
Last login: Sun Mar 24 11:02:47 2019 from IPaddress
/Python/Interpreter/path/python3.6: can't open file '<e4e59851-2bd7-4356-8c75-5cfe5babcdf2>/home/script/location/Pyscript': [Errno 2] No such file or directory
Process finished with exit code 2
Wonder is there any other step I may have to perform in order for IntelliJ run Pyscript remotely ? Is this a issue with IDE or Am I missing something important here?
Any help is much appreciated
Please sign in to leave a comment.
Please check your path mappings in project interpreter settings, ensure they are correct. Try to manually sync the file by right-clicking and selecting from a Deployment menu. Is it uploaded to your remote path?
Thank you. It seems like the application is not fetching the location of file automatically unless I manually set the path of the script file.