Closed WhatDothLife closed 4 years ago
Yes, I suspect an issue occurs asynchronously, turn off asynchronous mode with (setq ssh-deploy-async 0)
while in the related buffer and try command again. You should see some kind of error, maybe a interactive question that can't be handled asynchronously via async.el
.
Other thing is that emacs have poor platform support for sftp, if the conmection is just FTP over SSH then try using SSH instead as protocol
I enabled asynchronous deployment in the first place, because synchronous deployment resulted in an error message. it reads as follows:
Uploading file ’/home/michael/projects/DeepHPM/Schrodinger2D_DeepHPM.py’ to ’/Schrodinger2D_DeepHPM.py’.. (synchronously)
ssh-deploy--upload-via-tramp: Opening output file: Permission denied, /Schrodinger2D_DeepHPM.py
Might this be due to the remote configuration?
Sounds like you lack permission on the remote host. Probably server configuration issue unless yor remote path is wrong
I changed by mind the expected message should be
Uploading file ’/home/michael/projects/DeepHPM/Schrodinger2D_DeepHPM.py’ to ’/sftp:s8179597@taurus.hrsk.tu-dresden.de:/home/h6/s8179597/DeepHPM/Schrodinger2D_DeepHPM.py’.. (synchronously)
I think doom is using a fork from this project, maybe it's using a different message. Anyway if your using the latest version of ssh-deploy your message should be as above, otherwise something is wrong with your paths.
I'm closing this since you're not answering my questions, please re-open if issue persists
I can't upload my project dir to the remote.
Setup of .dir-locals.el:
Problem
When I call
ssh-deploy-upload-handler
the echo area showsUploading file ’/home/respighi/projects/DeepHPM/Schrodinger2D_DeepHPM.py’ to ’/Schrodinger2D_DeepHPM.py’.. (asynchronously)
After this message the minibuffer stays silent. The file doesn't change on the remote. I also find it suspicious that for the remote only the relative path is shown.
More info
I'm using doom-emacs' upload module. The config-file can be found here.
Any idea how to fix this?