Bug 262091 - saving file over sftp stops working after a while
Summary: saving file over sftp stops working after a while
Status: RESOLVED WORKSFORME
Alias: None
Product: kio
Classification: Unmaintained
Component: sftp (other bugs)
Version First Reported In: 0.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Andreas Schneider
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2011-01-04 17:10 UTC by Pascal Niklaus
Modified: 2018-10-27 03:42 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Niklaus 2011-01-04 17:10:25 UTC
Version:           0.2 (using KDE 4.5.1) 
OS:                Linux

I use sftp to edit files on a remote server. In the past, I never had any problems doing this. 

I now get error messages when attempting to save a file open in kate. Saving works well for a while, but then I keep getting error messages saying "Could not write to <filename>.part". I presume there is a problem with the underlying file operations using sftp. When trying "Save As" over sftp, the file dialog completely looks up and I have to kill kate. 

When restarting kate, everything works ok for a while and then the problem starts over again.

I understand this is not a very specific and am happy to provide more information if I can. What I notices is that I get the following message when kate is started in the command line, not sure if this is related:

kate(4517)/kio (KIOJob) KIO::TransferJob::slotMimetype: mimetype() emitted again, or after sending first data!; job URL = KUrl("....sftp link...")



Reproducible: Always

Steps to Reproduce:
open file over sftp, edit it and save it from time to time.



OS: Linux (i686) release 2.6.35-24-generic-pae
Compiler: cc
Comment 1 axiomx11 2011-05-26 16:56:29 UTC
I'm still getting this behavior with KDE 4.6.2 and Kate 3.6.2.

I have a feeling that the sftp connection is timing out somehow, and not automatically reconnecting like it should.
Comment 2 axiomx11 2011-06-01 14:44:16 UTC
Workaround: Refresh the file view in Dolphin twice.  Open a new file from the remote directory.  This will fail.  Open the same new file again.  It should open.  Then your original file, which wouldn't save should save again.
Comment 3 Dominik Haumann 2012-03-22 21:42:26 UTC
Sounds like an issue with the connection, hence, reassign to kio.
Comment 4 Dominik Haumann 2012-03-22 21:42:56 UTC
Pascal, have you tried fish? Or other protocols?
Comment 5 Dawit Alemayehu 2013-05-26 17:44:34 UTC
Is this issue still relevant in more recent version of KDE (v4.10) or higher ?
Comment 6 Andrew Crouthamel 2018-09-24 02:23:14 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Andrew Crouthamel 2018-10-27 03:42:08 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!