Skip to main content
added 210 characters in body
Source Link

All of a sudden, today, I have started having problems uploading files with Sublime Text and the SFTP plugin. There have been no sytem changes, new programs installed or suchlike. I was using it yesterday - all was fine. I used it today - anf this problem popped up, seemingly from nowhere.

About 50% of the time I try to upload, I get the error: failure (File in use by another process).

Most people encountering this error message are having trouble saving files, but I have no problem with that. Just with uploading.

This is seemingly random - I might get it 5 times in a row, and then 5 times it will work ok. Then it works once, and fails twice, etc. etc. Therefore I don't think it's a consistent delay, or a case of the SFTP process 'holding on' to files for X seconds too long every time.

I have tried rebooting. I have tried un/re installing ST and the SFTP plugin. The error persists.

I then used Process Explorer to investigate. It

It is showing the plugin_host.exe file as holding onto the file. (My understanding is that plugin_host.exe is kind of a 'generic plugin manager' for sublime).

  SFTP is the only plugin I use, so that appears to confirm it's a problem with that plugin, as opposed to ST itself.

But I don't knowhave no idea what next stepsstep to take next in debugging this problem.

Any pointers or advice in how I might proceed would be greatly appreciated.

enter image description here

All of a sudden, today, I have started having problems uploading files with Sublime Text and the SFTP plugin.

About 50% of the time I try to upload, I get the error: failure (File in use by another process).

Most people encountering this error message are having trouble saving files, but I have no problem with that. Just with uploading.

This is seemingly random - I might get it 5 times in a row, and then 5 times it will work ok. Then it works once, and fails twice, etc. etc. Therefore I don't think it's a consistent delay, or a case of the SFTP process 'holding on' to files for X seconds too long every time.

I have tried rebooting. I have tried un/re installing ST and the SFTP plugin. The error persists.

I then used Process Explorer to investigate. It is showing the plugin_host.exe file as holding onto the file. (My understanding is that plugin_host.exe is kind of a 'generic plugin manager' for sublime).

  SFTP is the only plugin I use, so that appears to confirm it's a problem with that plugin.

But I don't know what next steps to take in debugging this problem.

Any pointers or advice in how I might proceed would be greatly appreciated.

enter image description here

All of a sudden, today, I have started having problems uploading files with Sublime Text and the SFTP plugin. There have been no sytem changes, new programs installed or suchlike. I was using it yesterday - all was fine. I used it today - anf this problem popped up, seemingly from nowhere.

About 50% of the time I try to upload, I get the error: failure (File in use by another process).

Most people encountering this error message are having trouble saving files, but I have no problem with that. Just with uploading.

This is seemingly random - I might get it 5 times in a row, and then 5 times it will work ok. Then it works once, and fails twice, etc. etc. Therefore I don't think it's a consistent delay, or a case of the SFTP process 'holding on' to files for X seconds too long every time.

I have tried rebooting. I have tried un/re installing ST and the SFTP plugin. The error persists.

I then used Process Explorer to investigate.

It is showing the plugin_host.exe file as holding onto the file. (My understanding is that plugin_host.exe is kind of a 'generic plugin manager' for sublime). SFTP is the only plugin I use, so that appears to confirm it's a problem with that plugin, as opposed to ST itself.

But I have no idea what step to take next in debugging this problem.

Any pointers or advice in how I might proceed would be greatly appreciated.

enter image description here

Source Link

How to debug 'File in use by another process' error in Sublime Text

All of a sudden, today, I have started having problems uploading files with Sublime Text and the SFTP plugin.

About 50% of the time I try to upload, I get the error: failure (File in use by another process).

Most people encountering this error message are having trouble saving files, but I have no problem with that. Just with uploading.

This is seemingly random - I might get it 5 times in a row, and then 5 times it will work ok. Then it works once, and fails twice, etc. etc. Therefore I don't think it's a consistent delay, or a case of the SFTP process 'holding on' to files for X seconds too long every time.

I have tried rebooting. I have tried un/re installing ST and the SFTP plugin. The error persists.

I then used Process Explorer to investigate. It is showing the plugin_host.exe file as holding onto the file. (My understanding is that plugin_host.exe is kind of a 'generic plugin manager' for sublime).

SFTP is the only plugin I use, so that appears to confirm it's a problem with that plugin.

But I don't know what next steps to take in debugging this problem.

Any pointers or advice in how I might proceed would be greatly appreciated.

enter image description here