Bug 262227

Summary: Autosave fails to create .tex.backup file on windows 7
Product: [Applications] kile Reporter: Peter <peter.vandendriessche>
Component: generalAssignee: Michel Ludwig <michel.ludwig>
Status: RESOLVED DUPLICATE    
Severity: minor    
Priority: NOR    
Version: 2.1b5   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Peter 2011-01-05 19:53:22 UTC
Version:           2.1b5 (using KDE 4.5.4) 
OS:                MS Windows

Autosaving the .tex.backup file doesn't work. I have not tested if it works if the .tex.backup file already existed, but in any case no .tex.backup file is created and a warning message is thrown:
    [Autosave] The file file://C:/Users/peter/Documents/My Dropbox/My Articles/10. mindist codes and minimal codewords/mindist.tex.backup could not be saved, check the permissions and free disk space.

Reproducible: Always

Steps to Reproduce:
Turn on autosave and wait. :-)

Actual Results:  
Files were saved during auto-save, but not .tex.backup file was created, instead an error was thrown.

Expected Results:  
.tex.backup file created an no error being thrown.

I don't know if this is relevant, but I just noted file:// only having two slashes, where I remember seeing it with 3 slashes before.
Comment 1 Michel Ludwig 2011-01-16 23:06:11 UTC
The problem seems to be here that 'KIO::NetAccess::del' reports that it couldn't delete a file although the deletion operations was successful nevertheless (see 'Manager::fileSaveAll' in 'kiledocmanager.cpp').

This issue is already tracked in bug 235625.

*** This bug has been marked as a duplicate of bug 235625 ***