Re: Backup failure w/ LyX 1.5.2
Dave Hewitt writes: From: Enrico Forestieri [EMAIL PROTECTED] Subject: Re: Backup failure w/ LyX 1.5.2 Date: Wed, 17 Oct 2007 19:37:28 + (UTC) Dave Hewitt writes: So you're saying you have timed backups set and, even with a valid backup path and having the document open past the time limit, you're not getting a backup file? Correct. Could this have something to do with the odd path that was given in the error message? LyX thought I wanted backups in 'backup' directory (which didn't exist), but the error message says: Cannot create backup file: C:/Program Files/LyX 1.5.2/backup/C:!Documents and Settings!dhewitt!Desktop!newfile1.lyx~. Please check... This is a bug. LyX should not use a filename containing ':' on Windows. The backup fails because the filename is invalid. Please, report it at http://bugzilla.lyx.org/ -- Enrico I was away for a couple days... apologies for the delay. Yes, Paul, the backup directory is still set as C:\Program Files\LyX 1.5.2\backup, and the backups now fail silently without error messages. Enrico, I'm wondering whether the backup file path and name were just a function of the folder not having been there, rather than a true bug in the path that LyX was using. Obviously that's a developer question and I don't have a clue. This relates to my answer to Paul - since I have no error messages anymore, I don't know what path is being used. If you think that LyX is still using that erred path, I can enter it in Bugzilla. It is a true bug. When you don't specify a backup directory, LyX stores the backup in the same directory as the file itself, appending a ~ char to the filename. When you specify a backup directory, LyX stores the backup in that directory using the the absolute path, mangled by replacing / with !, as the backup name. Now, on Windows absolute paths contain the : character, which is not replaced. This means that LyX is storing the backup in an alternate stream of the file named as the drive letter. Try the following. Open a terminal and type: echo foo .\a:b echo bar .\a:c Doing so, you just create a file named a in the current directory, having an empty unnamed stream and two named streams whose content is foo and bar. Indeed, you will see that a zero-length file named a exists, and if you type: more .\a:b or more .\a:c you will get the contents of the alternate streams of file a. This only works with NTFS and you should put .\ in front of a, otherwise a:b will be interpreted as the file b in the current directory of drive a:. -- Enrico
Re: Backup failure w/ LyX 1.5.2
Dave Hewitt writes: I uninstalled LyX, wiping the User Preferences as well, and then reinstalled with LyXWinInstaller-small. Overall, I got no error message about a backup like before when trying to save, so it was definitely something that had been retained in the User Prefs (probably partially why Uwe recommended blasting them with the reinstall). So, Enrico, I think this means no bug problem. I don't think so. It's now bug 4287 (http://bugzilla.lyx.org/show_bug.cgi?id=4287) -- Enrico
Re: Backup failure w/ LyX 1.5.2
Dave Hewitt writes: From: Enrico Forestieri [EMAIL PROTECTED] Subject: Re: Backup failure w/ LyX 1.5.2 Date: Wed, 17 Oct 2007 19:37:28 + (UTC) Dave Hewitt writes: So you're saying you have timed backups set and, even with a valid backup path and having the document open past the time limit, you're not getting a backup file? Correct. Could this have something to do with the odd path that was given in the error message? LyX thought I wanted backups in 'backup' directory (which didn't exist), but the error message says: Cannot create backup file: C:/Program Files/LyX 1.5.2/backup/C:!Documents and Settings!dhewitt!Desktop!newfile1.lyx~. Please check... This is a bug. LyX should not use a filename containing ':' on Windows. The backup fails because the filename is invalid. Please, report it at http://bugzilla.lyx.org/ -- Enrico I was away for a couple days... apologies for the delay. Yes, Paul, the backup directory is still set as C:\Program Files\LyX 1.5.2\backup, and the backups now fail silently without error messages. Enrico, I'm wondering whether the backup file path and name were just a function of the folder not having been there, rather than a true bug in the path that LyX was using. Obviously that's a developer question and I don't have a clue. This relates to my answer to Paul - since I have no error messages anymore, I don't know what path is being used. If you think that LyX is still using that erred path, I can enter it in Bugzilla. It is a true bug. When you don't specify a backup directory, LyX stores the backup in the same directory as the file itself, appending a ~ char to the filename. When you specify a backup directory, LyX stores the backup in that directory using the the absolute path, mangled by replacing / with !, as the backup name. Now, on Windows absolute paths contain the : character, which is not replaced. This means that LyX is storing the backup in an alternate stream of the file named as the drive letter. Try the following. Open a terminal and type: echo foo .\a:b echo bar .\a:c Doing so, you just create a file named a in the current directory, having an empty unnamed stream and two named streams whose content is foo and bar. Indeed, you will see that a zero-length file named a exists, and if you type: more .\a:b or more .\a:c you will get the contents of the alternate streams of file a. This only works with NTFS and you should put .\ in front of a, otherwise a:b will be interpreted as the file b in the current directory of drive a:. -- Enrico
Re: Backup failure w/ LyX 1.5.2
Dave Hewitt writes: I uninstalled LyX, wiping the User Preferences as well, and then reinstalled with LyXWinInstaller-small. Overall, I got no error message about a backup like before when trying to save, so it was definitely something that had been retained in the User Prefs (probably partially why Uwe recommended blasting them with the reinstall). So, Enrico, I think this means no bug problem. I don't think so. It's now bug 4287 (http://bugzilla.lyx.org/show_bug.cgi?id=4287) -- Enrico
Re: Backup failure w/ LyX 1.5.2
Dave Hewitt writes: > >From: Enrico Forestieri <[EMAIL PROTECTED]> > >Subject: Re: Backup failure w/ LyX 1.5.2 > >Date: Wed, 17 Oct 2007 19:37:28 + (UTC) > > > >Dave Hewitt writes: > > > >So you're saying you have timed backups set and, even with a valid backup > > > >path and having the document open past the time limit, you're not getting > > > >a backup file? > > > > > > Correct. Could this have something to do with the odd path that was given > > > in the error message? LyX thought I wanted backups in 'backup' directory > > > (which didn't exist), but the error message says: > > > > > > "Cannot create backup file: C:/Program Files/LyX 1.5.2/backup/C:!Documents > > > and Settings!dhewitt!Desktop!newfile1.lyx~. Please check..." > >This is a bug. LyX should not use a filename containing ':' on Windows. > >The backup fails because the filename is invalid. > >Please, report it at http://bugzilla.lyx.org/ > >-- > >Enrico > > I was away for a couple days... apologies for the delay. > > Yes, Paul, the backup directory is still set as C:\Program Files\LyX > 1.5.2\backup, and the backups now fail silently without error messages. > > Enrico, I'm wondering whether the backup file path and name were just a > function of the folder not having been there, rather than a true bug in the > path that LyX was using. Obviously that's a developer question and I don't > have a clue. This relates to my answer to Paul - since I have no error > messages anymore, I don't know what path is being used. If you think that > LyX is still using that erred path, I can enter it in Bugzilla. It is a true bug. When you don't specify a backup directory, LyX stores the backup in the same directory as the file itself, appending a ~ char to the filename. When you specify a backup directory, LyX stores the backup in that directory using the the absolute path, mangled by replacing / with !, as the backup name. Now, on Windows absolute paths contain the : character, which is not replaced. This means that LyX is storing the backup in an alternate stream of the file named as the drive letter. Try the following. Open a terminal and type: echo "foo" > .\a:b echo "bar" > .\a:c Doing so, you just create a file named "a" in the current directory, having an empty unnamed stream and two named streams whose content is "foo" and "bar". Indeed, you will see that a zero-length file named "a" exists, and if you type: more < .\a:b or more < .\a:c you will get the contents of the alternate streams of file "a". This only works with NTFS and you should put ".\" in front of "a", otherwise "a:b" will be interpreted as the file "b" in the current directory of drive "a:". -- Enrico
Re: Backup failure w/ LyX 1.5.2
Dave Hewitt writes: > I uninstalled LyX, wiping the User Preferences as well, and then > reinstalled with LyXWinInstaller-small. > > Overall, I got no error message about a backup like before when trying to > save, so it was definitely something that had been retained in the User > Prefs (probably partially why Uwe recommended blasting them with the > reinstall). So, Enrico, I think this means no bug problem. I don't think so. It's now bug 4287 (http://bugzilla.lyx.org/show_bug.cgi?id=4287) -- Enrico
Re: Backup failure w/ LyX 1.5.2
From: Enrico Forestieri [EMAIL PROTECTED] Subject: Re: Backup failure w/ LyX 1.5.2 Date: Wed, 17 Oct 2007 19:37:28 + (UTC) Dave Hewitt writes: So you're saying you have timed backups set and, even with a valid backup path and having the document open past the time limit, you're not getting a backup file? Correct. Could this have something to do with the odd path that was given in the error message? LyX thought I wanted backups in 'backup' directory (which didn't exist), but the error message says: Cannot create backup file: C:/Program Files/LyX 1.5.2/backup/C:!Documents and Settings!dhewitt!Desktop!newfile1.lyx~. Please check... This is a bug. LyX should not use a filename containing ':' on Windows. The backup fails because the filename is invalid. Please, report it at http://bugzilla.lyx.org/ -- Enrico I was away for a couple days... apologies for the delay. Yes, Paul, the backup directory is still set as C:\Program Files\LyX 1.5.2\backup, and the backups now fail silently without error messages. Enrico, I'm wondering whether the backup file path and name were just a function of the folder not having been there, rather than a true bug in the path that LyX was using. Obviously that's a developer question and I don't have a clue. This relates to my answer to Paul - since I have no error messages anymore, I don't know what path is being used. If you think that LyX is still using that erred path, I can enter it in Bugzilla. I will note that Uwe sent me an offline note that I needed to wipe off the LyX User Preferences as well before reinstalling with the small installer. I did not do that before, but am about to uninstall again and then reinstall. If the backup thing changes for the better (meaning that something in my User Preferences that were retained were at fault), I'll post about it. Thanks for all the help, Dave Hewitt
Re: Backup failure w/ LyX 1.5.2
I uninstalled LyX, wiping the User Preferences as well, and then reinstalled with LyXWinInstaller-small. Overall, I got no error message about a backup like before when trying to save, so it was definitely something that had been retained in the User Prefs (probably partially why Uwe recommended blasting them with the reinstall). So, Enrico, I think this means no bug problem. My User Prefs had indeed disappeared with the reinstall... the Backup directory path was empty in Tools - Prefs - Paths (though honestly I don't ever recall setting a path before, so perhaps there was a default for this path in the previous version of -- .\LyX 1.5.1\backup --, and now it comes blank?). The default apparently is for Backups to be on, as it was set for 5-min backups with the reinstall. With no path specified, where would they go? A file with an ending tilde (.lyx~) appeared in the current working directory after 5-min with an open document, but a #...# file was also there temporarily (I think it appeared earlier). The #...# file went away after I saved and closed LyX; the '.lyx~' file did not. Dave Hewitt
Re: Backup failure w/ LyX 1.5.2
From: Enrico Forestieri [EMAIL PROTECTED] Subject: Re: Backup failure w/ LyX 1.5.2 Date: Wed, 17 Oct 2007 19:37:28 + (UTC) Dave Hewitt writes: So you're saying you have timed backups set and, even with a valid backup path and having the document open past the time limit, you're not getting a backup file? Correct. Could this have something to do with the odd path that was given in the error message? LyX thought I wanted backups in 'backup' directory (which didn't exist), but the error message says: Cannot create backup file: C:/Program Files/LyX 1.5.2/backup/C:!Documents and Settings!dhewitt!Desktop!newfile1.lyx~. Please check... This is a bug. LyX should not use a filename containing ':' on Windows. The backup fails because the filename is invalid. Please, report it at http://bugzilla.lyx.org/ -- Enrico I was away for a couple days... apologies for the delay. Yes, Paul, the backup directory is still set as C:\Program Files\LyX 1.5.2\backup, and the backups now fail silently without error messages. Enrico, I'm wondering whether the backup file path and name were just a function of the folder not having been there, rather than a true bug in the path that LyX was using. Obviously that's a developer question and I don't have a clue. This relates to my answer to Paul - since I have no error messages anymore, I don't know what path is being used. If you think that LyX is still using that erred path, I can enter it in Bugzilla. I will note that Uwe sent me an offline note that I needed to wipe off the LyX User Preferences as well before reinstalling with the small installer. I did not do that before, but am about to uninstall again and then reinstall. If the backup thing changes for the better (meaning that something in my User Preferences that were retained were at fault), I'll post about it. Thanks for all the help, Dave Hewitt
Re: Backup failure w/ LyX 1.5.2
I uninstalled LyX, wiping the User Preferences as well, and then reinstalled with LyXWinInstaller-small. Overall, I got no error message about a backup like before when trying to save, so it was definitely something that had been retained in the User Prefs (probably partially why Uwe recommended blasting them with the reinstall). So, Enrico, I think this means no bug problem. My User Prefs had indeed disappeared with the reinstall... the Backup directory path was empty in Tools - Prefs - Paths (though honestly I don't ever recall setting a path before, so perhaps there was a default for this path in the previous version of -- .\LyX 1.5.1\backup --, and now it comes blank?). The default apparently is for Backups to be on, as it was set for 5-min backups with the reinstall. With no path specified, where would they go? A file with an ending tilde (.lyx~) appeared in the current working directory after 5-min with an open document, but a #...# file was also there temporarily (I think it appeared earlier). The #...# file went away after I saved and closed LyX; the '.lyx~' file did not. Dave Hewitt
Re: Backup failure w/ LyX 1.5.2
From: Enrico Forestieri <[EMAIL PROTECTED]> Subject: Re: Backup failure w/ LyX 1.5.2 Date: Wed, 17 Oct 2007 19:37:28 + (UTC) Dave Hewitt writes: > >So you're saying you have timed backups set and, even with a valid backup > >path and having the document open past the time limit, you're not getting > >a backup file? > > Correct. Could this have something to do with the odd path that was given > in the error message? LyX thought I wanted backups in 'backup' directory > (which didn't exist), but the error message says: > > "Cannot create backup file: C:/Program Files/LyX 1.5.2/backup/C:!Documents > and Settings!dhewitt!Desktop!newfile1.lyx~. Please check..." This is a bug. LyX should not use a filename containing ':' on Windows. The backup fails because the filename is invalid. Please, report it at http://bugzilla.lyx.org/ -- Enrico I was away for a couple days... apologies for the delay. Yes, Paul, the backup directory is still set as C:\Program Files\LyX 1.5.2\backup, and the backups now fail silently without error messages. Enrico, I'm wondering whether the backup file path and name were just a function of the folder not having been there, rather than a true bug in the path that LyX was using. Obviously that's a developer question and I don't have a clue. This relates to my answer to Paul - since I have no error messages anymore, I don't know what path is being used. If you think that LyX is still using that erred path, I can enter it in Bugzilla. I will note that Uwe sent me an offline note that I needed to wipe off the LyX User Preferences as well before reinstalling with the small installer. I did not do that before, but am about to uninstall again and then reinstall. If the backup thing changes for the better (meaning that something in my User Preferences that were retained were at fault), I'll post about it. Thanks for all the help, Dave Hewitt
Re: Backup failure w/ LyX 1.5.2
I uninstalled LyX, wiping the User Preferences as well, and then reinstalled with LyXWinInstaller-small. Overall, I got no error message about a backup like before when trying to save, so it was definitely something that had been retained in the User Prefs (probably partially why Uwe recommended blasting them with the reinstall). So, Enrico, I think this means no bug problem. My User Prefs had indeed disappeared with the reinstall... the Backup directory path was empty in Tools -> Prefs -> Paths (though honestly I don't ever recall setting a path before, so perhaps there was a default for this path in the previous version of -- .\LyX 1.5.1\backup --, and now it comes blank?). The default apparently is for Backups to be "on", as it was set for 5-min backups with the reinstall. With no path specified, where would they go? A file with an ending tilde (.lyx~) appeared in the current working directory after 5-min with an open document, but a #...# file was also there temporarily (I think it appeared earlier). The #...# file went away after I saved and closed LyX; the '.lyx~' file did not. Dave Hewitt
Re: Backup failure w/ LyX 1.5.2
Paul A. Rubin [EMAIL PROTECTED] writes: That's what I get ... sometimes ... (I have timed backups deselected, but apparently there are untimed backups triggered by alignment of the planets or something). When you explicitly save. JMarc
Re: Backup failure w/ LyX 1.5.2
Dave Hewitt writes: So you're saying you have timed backups set and, even with a valid backup path and having the document open past the time limit, you're not getting a backup file? Correct. Could this have something to do with the odd path that was given in the error message? LyX thought I wanted backups in 'backup' directory (which didn't exist), but the error message says: Cannot create backup file: C:/Program Files/LyX 1.5.2/backup/C:!Documents and Settings!dhewitt!Desktop!newfile1.lyx~. Please check... This is a bug. LyX should not use a filename containing ':' on Windows. The backup fails because the filename is invalid. Please, report it at http://bugzilla.lyx.org/ -- Enrico
Re: Backup failure w/ LyX 1.5.2
Paul A. Rubin [EMAIL PROTECTED] writes: That's what I get ... sometimes ... (I have timed backups deselected, but apparently there are untimed backups triggered by alignment of the planets or something). When you explicitly save. JMarc
Re: Backup failure w/ LyX 1.5.2
Dave Hewitt writes: So you're saying you have timed backups set and, even with a valid backup path and having the document open past the time limit, you're not getting a backup file? Correct. Could this have something to do with the odd path that was given in the error message? LyX thought I wanted backups in 'backup' directory (which didn't exist), but the error message says: Cannot create backup file: C:/Program Files/LyX 1.5.2/backup/C:!Documents and Settings!dhewitt!Desktop!newfile1.lyx~. Please check... This is a bug. LyX should not use a filename containing ':' on Windows. The backup fails because the filename is invalid. Please, report it at http://bugzilla.lyx.org/ -- Enrico
Re: Backup failure w/ LyX 1.5.2
"Paul A. Rubin" <[EMAIL PROTECTED]> writes: > That's what I get ... sometimes ... (I have timed backups deselected, > but apparently there are untimed backups triggered by alignment of the > planets or something). When you explicitly save. JMarc
Re: Backup failure w/ LyX 1.5.2
Dave Hewitt writes: > >So you're saying you have timed backups set and, even with a valid backup > >path and having the document open past the time limit, you're not getting > >a backup file? > > Correct. Could this have something to do with the odd path that was given > in the error message? LyX thought I wanted backups in 'backup' directory > (which didn't exist), but the error message says: > > "Cannot create backup file: C:/Program Files/LyX 1.5.2/backup/C:!Documents > and Settings!dhewitt!Desktop!newfile1.lyx~. Please check..." This is a bug. LyX should not use a filename containing ':' on Windows. The backup fails because the filename is invalid. Please, report it at http://bugzilla.lyx.org/ -- Enrico
Backup failure w/ LyX 1.5.2
Whenever I try to save LyX documents (File - Save or Ctrl-S), I get a Backup Failure notification (image attached). After I hit OK, the Save option in the File menu is grayed out, indicating that the file has been saved. When I reopen the file, it looks fine, so the file itself is saving OK. Apparently LyX is (was, below) only having a problem accessing the backup directory. In Tools - Preferences - Paths, my backup directory is given as C:\Program Files\LyX 1.5.2\backup, but no directory called 'backup' was created with the installation. I created a new folder in that location and named it 'backup', and (not surprisingly) everything now works fine. I'm just curious as to whether this is the most appropriate solution? If so, why was there no 'backup' directory created in the first place when LyX defaults to that path for backups? And, no files of any type are appearing in this new backup directory I created, so where are these backups going (i.e., what is the purpose of this folder)? Finally, are any of the other paths in the Preferences likely to be affected in this way? Dave Hewitt dhewitt[at]vims.eduattachment: backupfailure.gif
Re: Backup failure w/ LyX 1.5.2
Dave Hewitt wrote: Whenever I try to save LyX documents (File - Save or Ctrl-S), I get a Backup Failure notification (image attached). After I hit OK, the Save option in the File menu is grayed out, indicating that the file has been saved. When I reopen the file, it looks fine, so the file itself is saving OK. Apparently LyX is (was, below) only having a problem accessing the backup directory. In Tools - Preferences - Paths, my backup directory is given as C:\Program Files\LyX 1.5.2\backup, but no directory called 'backup' was created with the installation. I created a new folder in that location and named it 'backup', and (not surprisingly) everything now works fine. I'm just curious as to whether this is the most appropriate solution? Matter of taste, I guess. I don't rely on LyX for backups (I do that outside LyX). If so, why was there no 'backup' directory created in the first place when LyX defaults to that path for backups? A better question is why LyX had that path. My copy has the backup path blank, but then it inherited settings from earlier versions rather than being a first install. And, no files of any type are appearing in this new backup directory I created, so where are these backups going (i.e., what is the purpose of this folder)? Maybe there aren't any. Do you have Tools - Preferences... - Look and feel - User interface - Backup documents turned on? Finally, are any of the other paths in the Preferences likely to be affected in this way? Don't have an answer to that one, but I suspect it's unlikely. /Paul
Re: Backup failure w/ LyX 1.5.2
Dave Hewitt wrote: Whenever I try to save LyX documents (File - Save or Ctrl-S), I get a Backup Failure notification (image attached). After I hit OK, the Save option in the File menu is grayed out, indicating that the file has been saved. When I reopen the file, it looks fine, so the file itself is saving OK. Apparently LyX is (was, below) only having a problem accessing the backup directory. In Tools - Preferences - Paths, my backup directory is given as C:\Program Files\LyX 1.5.2\backup, but no directory called 'backup' was created with the installation. I created a new folder in that location and named it 'backup', and (not surprisingly) everything now works fine. I'm just curious as to whether this is the most appropriate solution? Matter of taste, I guess. I don't rely on LyX for backups (I do that outside LyX). If so, why was there no 'backup' directory created in the first place when LyX defaults to that path for backups? A better question is why LyX had that path. My copy has the backup path blank, but then it inherited settings from earlier versions rather than being a first install. Maybe since I left User Preferences intact when I updated to LyX 1.5.2, there was a default to include that path in LyX 1.5.1 (the first version I used). And, no files of any type are appearing in this new backup directory I created, so where are these backups going (i.e., what is the purpose of this folder)? Maybe there aren't any. Do you have Tools - Preferences... - Look and feel - User interface - Backup documents turned on? Yes, and I recall that files with little tildes at the end (backups, presumably) appeared in the same directory as the file was located when I was using LyX 1.5.1. There would almost always be a file with the same name and an added tilde each place I had a LyX document. Finally, are any of the other paths in the Preferences likely to be affected in this way? Don't have an answer to that one, but I suspect it's unlikely. /Paul Dave Hewitt
Re: Backup failure w/ LyX 1.5.2
Dave Hewitt wrote: And, no files of any type are appearing in this new backup directory I created, so where are these backups going (i.e., what is the purpose of this folder)? Maybe there aren't any. Do you have Tools - Preferences... - Look and feel - User interface - Backup documents turned on? Yes, and I recall that files with little tildes at the end (backups, presumably) appeared in the same directory as the file was located when I was using LyX 1.5.1. There would almost always be a file with the same name and an added tilde each place I had a LyX document. That's what I get ... sometimes ... (I have timed backups deselected, but apparently there are untimed backups triggered by alignment of the planets or something). There are also #filename# copies that get dumped under certain circumstances (less than graceful exit from LyX?), again in the source directory. So you're saying you have timed backups set and, even with a valid backup path and having the document open past the time limit, you're not getting a backup file? /Paul
Re: Backup failure w/ LyX 1.5.2
Marc, the directory is set to: C:\Program Files\LyX 1.5.2\backup (Recall that I created this folder to make it available and stop the error messages on every save instance.) Dave Hewitt wrote: And, no files of any type are appearing in this new backup directory I created, so where are these backups going (i.e., what is the purpose of this folder)? Maybe there aren't any. Do you have Tools - Preferences... - Look and feel - User interface - Backup documents turned on? Yes, and I recall that files with little tildes at the end (backups, presumably) appeared in the same directory as the file was located when I was using LyX 1.5.1. There would almost always be a file with the same name and an added tilde each place I had a LyX document. That's what I get ... sometimes ... (I have timed backups deselected, but apparently there are untimed backups triggered by alignment of the planets or something). There are also #filename# copies that get dumped under certain circumstances (less than graceful exit from LyX?), again in the source directory. Marc indicated that the files with tildes are the just-prior saved version (an at-the-time-of-last-opening backup, if you will). So those aren't the backups. But, like you Paul, I get the #...# files in the same directory as I'm working in. I get those files regularly when LyX has a document open, like a backup. So I'm confused about what those are (they're not going to the 'backup' directory, if they are backups). So you're saying you have timed backups set and, even with a valid backup path and having the document open past the time limit, you're not getting a backup file? Correct. Could this have something to do with the odd path that was given in the error message? LyX thought I wanted backups in 'backup' directory (which didn't exist), but the error message says: Cannot create backup file: C:/Program Files/LyX 1.5.2/backup/C:!Documents and Settings!dhewitt!Desktop!newfile1.lyx~. Please check... (It seems odd that this is an error for backup creation, and the file it wants to make has a tilde on it, which I've been told is not a backup.) /Paul Dave Hewitt
Re: Backup failure w/ LyX 1.5.2
Do either of you have RCS installed and running on your systems? http://www.gnu.org/software/rcs This is the RCS system accessible via LyX under File-Version Control The system doesn't have a GUI to work within. It's command line driven. I'm using LyX on Debian Linux Sid and OS X 10.4.10 - Marc On Oct 16, 2007, at 3:40 PM, Dave Hewitt wrote: Marc, the directory is set to: C:\Program Files\LyX 1.5.2\backup (Recall that I created this folder to make it available and stop the error messages on every save instance.) Dave Hewitt wrote: And, no files of any type are appearing in this new backup directory I created, so where are these backups going (i.e., what is the purpose of this folder)? Maybe there aren't any. Do you have Tools - Preferences... - Look and feel - User interface - Backup documents turned on? Yes, and I recall that files with little tildes at the end (backups, presumably) appeared in the same directory as the file was located when I was using LyX 1.5.1. There would almost always be a file with the same name and an added tilde each place I had a LyX document. That's what I get ... sometimes ... (I have timed backups deselected, but apparently there are untimed backups triggered by alignment of the planets or something). There are also #filename# copies that get dumped under certain circumstances (less than graceful exit from LyX?), again in the source directory. Marc indicated that the files with tildes are the just-prior saved version (an at-the-time-of-last-opening backup, if you will). So those aren't the backups. But, like you Paul, I get the #...# files in the same directory as I'm working in. I get those files regularly when LyX has a document open, like a backup. So I'm confused about what those are (they're not going to the 'backup' directory, if they are backups). So you're saying you have timed backups set and, even with a valid backup path and having the document open past the time limit, you're not getting a backup file? Correct. Could this have something to do with the odd path that was given in the error message? LyX thought I wanted backups in 'backup' directory (which didn't exist), but the error message says: Cannot create backup file: C:/Program Files/LyX 1.5.2/backup/C:! Documents and Settings!dhewitt!Desktop!newfile1.lyx~. Please check... (It seems odd that this is an error for backup creation, and the file it wants to make has a tilde on it, which I've been told is not a backup.) /Paul Dave Hewitt
Re: Backup failure w/ LyX 1.5.2
Marc Driftmeyer wrote: Do either of you have RCS installed and running on your systems? Not I. /Paul
Re: Backup failure w/ LyX 1.5.2
Dave Hewitt wrote: Marc indicated that the files with tildes are the just-prior saved version (an at-the-time-of-last-opening backup, if you will). So those aren't the backups. But, like you Paul, I get the #...# files in the same directory as I'm working in. I get those files regularly when LyX has a document open, like a backup. So I'm confused about what those are (they're not going to the 'backup' directory, if they are backups). Perhaps they're for File - Revert? So you're saying you have timed backups set and, even with a valid backup path and having the document open past the time limit, you're not getting a backup file? Correct. Could this have something to do with the odd path that was given in the error message? LyX thought I wanted backups in 'backup' directory (which didn't exist), but the error message says: Cannot create backup file: C:/Program Files/LyX 1.5.2/backup/C:!Documents and Settings!dhewitt!Desktop!newfile1.lyx~. Please check... (It seems odd that this is an error for backup creation, and the file it wants to make has a tilde on it, which I've been told is not a backup.) I'm guessing, since I don't do backups myself, but I suspect LyX wants to modify the file name -- lest you back up to the document folder and try to use the same name. So the tilde decoration doesn't surprise me. As to why you're still not getting backups, that's another question. I take it that, after creating C:\Program Files\LyX 1.5.2\backup you still have that set as the backup path? Do you still get the same error message, or do backups fail silently? /Paul /Paul Dave Hewitt
Backup failure w/ LyX 1.5.2
Whenever I try to save LyX documents (File - Save or Ctrl-S), I get a Backup Failure notification (image attached). After I hit OK, the Save option in the File menu is grayed out, indicating that the file has been saved. When I reopen the file, it looks fine, so the file itself is saving OK. Apparently LyX is (was, below) only having a problem accessing the backup directory. In Tools - Preferences - Paths, my backup directory is given as C:\Program Files\LyX 1.5.2\backup, but no directory called 'backup' was created with the installation. I created a new folder in that location and named it 'backup', and (not surprisingly) everything now works fine. I'm just curious as to whether this is the most appropriate solution? If so, why was there no 'backup' directory created in the first place when LyX defaults to that path for backups? And, no files of any type are appearing in this new backup directory I created, so where are these backups going (i.e., what is the purpose of this folder)? Finally, are any of the other paths in the Preferences likely to be affected in this way? Dave Hewitt dhewitt[at]vims.eduattachment: backupfailure.gif
Re: Backup failure w/ LyX 1.5.2
Dave Hewitt wrote: Whenever I try to save LyX documents (File - Save or Ctrl-S), I get a Backup Failure notification (image attached). After I hit OK, the Save option in the File menu is grayed out, indicating that the file has been saved. When I reopen the file, it looks fine, so the file itself is saving OK. Apparently LyX is (was, below) only having a problem accessing the backup directory. In Tools - Preferences - Paths, my backup directory is given as C:\Program Files\LyX 1.5.2\backup, but no directory called 'backup' was created with the installation. I created a new folder in that location and named it 'backup', and (not surprisingly) everything now works fine. I'm just curious as to whether this is the most appropriate solution? Matter of taste, I guess. I don't rely on LyX for backups (I do that outside LyX). If so, why was there no 'backup' directory created in the first place when LyX defaults to that path for backups? A better question is why LyX had that path. My copy has the backup path blank, but then it inherited settings from earlier versions rather than being a first install. And, no files of any type are appearing in this new backup directory I created, so where are these backups going (i.e., what is the purpose of this folder)? Maybe there aren't any. Do you have Tools - Preferences... - Look and feel - User interface - Backup documents turned on? Finally, are any of the other paths in the Preferences likely to be affected in this way? Don't have an answer to that one, but I suspect it's unlikely. /Paul
Re: Backup failure w/ LyX 1.5.2
Dave Hewitt wrote: Whenever I try to save LyX documents (File - Save or Ctrl-S), I get a Backup Failure notification (image attached). After I hit OK, the Save option in the File menu is grayed out, indicating that the file has been saved. When I reopen the file, it looks fine, so the file itself is saving OK. Apparently LyX is (was, below) only having a problem accessing the backup directory. In Tools - Preferences - Paths, my backup directory is given as C:\Program Files\LyX 1.5.2\backup, but no directory called 'backup' was created with the installation. I created a new folder in that location and named it 'backup', and (not surprisingly) everything now works fine. I'm just curious as to whether this is the most appropriate solution? Matter of taste, I guess. I don't rely on LyX for backups (I do that outside LyX). If so, why was there no 'backup' directory created in the first place when LyX defaults to that path for backups? A better question is why LyX had that path. My copy has the backup path blank, but then it inherited settings from earlier versions rather than being a first install. Maybe since I left User Preferences intact when I updated to LyX 1.5.2, there was a default to include that path in LyX 1.5.1 (the first version I used). And, no files of any type are appearing in this new backup directory I created, so where are these backups going (i.e., what is the purpose of this folder)? Maybe there aren't any. Do you have Tools - Preferences... - Look and feel - User interface - Backup documents turned on? Yes, and I recall that files with little tildes at the end (backups, presumably) appeared in the same directory as the file was located when I was using LyX 1.5.1. There would almost always be a file with the same name and an added tilde each place I had a LyX document. Finally, are any of the other paths in the Preferences likely to be affected in this way? Don't have an answer to that one, but I suspect it's unlikely. /Paul Dave Hewitt
Re: Backup failure w/ LyX 1.5.2
Dave Hewitt wrote: And, no files of any type are appearing in this new backup directory I created, so where are these backups going (i.e., what is the purpose of this folder)? Maybe there aren't any. Do you have Tools - Preferences... - Look and feel - User interface - Backup documents turned on? Yes, and I recall that files with little tildes at the end (backups, presumably) appeared in the same directory as the file was located when I was using LyX 1.5.1. There would almost always be a file with the same name and an added tilde each place I had a LyX document. That's what I get ... sometimes ... (I have timed backups deselected, but apparently there are untimed backups triggered by alignment of the planets or something). There are also #filename# copies that get dumped under certain circumstances (less than graceful exit from LyX?), again in the source directory. So you're saying you have timed backups set and, even with a valid backup path and having the document open past the time limit, you're not getting a backup file? /Paul
Re: Backup failure w/ LyX 1.5.2
Marc, the directory is set to: C:\Program Files\LyX 1.5.2\backup (Recall that I created this folder to make it available and stop the error messages on every save instance.) Dave Hewitt wrote: And, no files of any type are appearing in this new backup directory I created, so where are these backups going (i.e., what is the purpose of this folder)? Maybe there aren't any. Do you have Tools - Preferences... - Look and feel - User interface - Backup documents turned on? Yes, and I recall that files with little tildes at the end (backups, presumably) appeared in the same directory as the file was located when I was using LyX 1.5.1. There would almost always be a file with the same name and an added tilde each place I had a LyX document. That's what I get ... sometimes ... (I have timed backups deselected, but apparently there are untimed backups triggered by alignment of the planets or something). There are also #filename# copies that get dumped under certain circumstances (less than graceful exit from LyX?), again in the source directory. Marc indicated that the files with tildes are the just-prior saved version (an at-the-time-of-last-opening backup, if you will). So those aren't the backups. But, like you Paul, I get the #...# files in the same directory as I'm working in. I get those files regularly when LyX has a document open, like a backup. So I'm confused about what those are (they're not going to the 'backup' directory, if they are backups). So you're saying you have timed backups set and, even with a valid backup path and having the document open past the time limit, you're not getting a backup file? Correct. Could this have something to do with the odd path that was given in the error message? LyX thought I wanted backups in 'backup' directory (which didn't exist), but the error message says: Cannot create backup file: C:/Program Files/LyX 1.5.2/backup/C:!Documents and Settings!dhewitt!Desktop!newfile1.lyx~. Please check... (It seems odd that this is an error for backup creation, and the file it wants to make has a tilde on it, which I've been told is not a backup.) /Paul Dave Hewitt
Re: Backup failure w/ LyX 1.5.2
Do either of you have RCS installed and running on your systems? http://www.gnu.org/software/rcs This is the RCS system accessible via LyX under File-Version Control The system doesn't have a GUI to work within. It's command line driven. I'm using LyX on Debian Linux Sid and OS X 10.4.10 - Marc On Oct 16, 2007, at 3:40 PM, Dave Hewitt wrote: Marc, the directory is set to: C:\Program Files\LyX 1.5.2\backup (Recall that I created this folder to make it available and stop the error messages on every save instance.) Dave Hewitt wrote: And, no files of any type are appearing in this new backup directory I created, so where are these backups going (i.e., what is the purpose of this folder)? Maybe there aren't any. Do you have Tools - Preferences... - Look and feel - User interface - Backup documents turned on? Yes, and I recall that files with little tildes at the end (backups, presumably) appeared in the same directory as the file was located when I was using LyX 1.5.1. There would almost always be a file with the same name and an added tilde each place I had a LyX document. That's what I get ... sometimes ... (I have timed backups deselected, but apparently there are untimed backups triggered by alignment of the planets or something). There are also #filename# copies that get dumped under certain circumstances (less than graceful exit from LyX?), again in the source directory. Marc indicated that the files with tildes are the just-prior saved version (an at-the-time-of-last-opening backup, if you will). So those aren't the backups. But, like you Paul, I get the #...# files in the same directory as I'm working in. I get those files regularly when LyX has a document open, like a backup. So I'm confused about what those are (they're not going to the 'backup' directory, if they are backups). So you're saying you have timed backups set and, even with a valid backup path and having the document open past the time limit, you're not getting a backup file? Correct. Could this have something to do with the odd path that was given in the error message? LyX thought I wanted backups in 'backup' directory (which didn't exist), but the error message says: Cannot create backup file: C:/Program Files/LyX 1.5.2/backup/C:! Documents and Settings!dhewitt!Desktop!newfile1.lyx~. Please check... (It seems odd that this is an error for backup creation, and the file it wants to make has a tilde on it, which I've been told is not a backup.) /Paul Dave Hewitt
Re: Backup failure w/ LyX 1.5.2
Marc Driftmeyer wrote: Do either of you have RCS installed and running on your systems? Not I. /Paul
Re: Backup failure w/ LyX 1.5.2
Dave Hewitt wrote: Marc indicated that the files with tildes are the just-prior saved version (an at-the-time-of-last-opening backup, if you will). So those aren't the backups. But, like you Paul, I get the #...# files in the same directory as I'm working in. I get those files regularly when LyX has a document open, like a backup. So I'm confused about what those are (they're not going to the 'backup' directory, if they are backups). Perhaps they're for File - Revert? So you're saying you have timed backups set and, even with a valid backup path and having the document open past the time limit, you're not getting a backup file? Correct. Could this have something to do with the odd path that was given in the error message? LyX thought I wanted backups in 'backup' directory (which didn't exist), but the error message says: Cannot create backup file: C:/Program Files/LyX 1.5.2/backup/C:!Documents and Settings!dhewitt!Desktop!newfile1.lyx~. Please check... (It seems odd that this is an error for backup creation, and the file it wants to make has a tilde on it, which I've been told is not a backup.) I'm guessing, since I don't do backups myself, but I suspect LyX wants to modify the file name -- lest you back up to the document folder and try to use the same name. So the tilde decoration doesn't surprise me. As to why you're still not getting backups, that's another question. I take it that, after creating C:\Program Files\LyX 1.5.2\backup you still have that set as the backup path? Do you still get the same error message, or do backups fail silently? /Paul /Paul Dave Hewitt
Backup failure w/ LyX 1.5.2
Whenever I try to save LyX documents (File -> Save or Ctrl-S), I get a Backup Failure notification (image attached). After I hit OK, the Save option in the File menu is grayed out, indicating that the file has been saved. When I reopen the file, it looks fine, so the file itself is saving OK. Apparently LyX is (was, below) only having a problem accessing the backup directory. In Tools -> Preferences -> Paths, my backup directory is given as C:\Program Files\LyX 1.5.2\backup, but no directory called 'backup' was created with the installation. I created a new folder in that location and named it 'backup', and (not surprisingly) everything now works fine. I'm just curious as to whether this is the most appropriate solution? If so, why was there no 'backup' directory created in the first place when LyX defaults to that path for backups? And, no files of any type are appearing in this new backup directory I created, so where are these backups going (i.e., what is the purpose of this folder)? Finally, are any of the other paths in the Preferences likely to be affected in this way? Dave Hewitt dhewitt[at]vims.edu<>
Re: Backup failure w/ LyX 1.5.2
Dave Hewitt wrote: Whenever I try to save LyX documents (File -> Save or Ctrl-S), I get a Backup Failure notification (image attached). After I hit OK, the Save option in the File menu is grayed out, indicating that the file has been saved. When I reopen the file, it looks fine, so the file itself is saving OK. Apparently LyX is (was, below) only having a problem accessing the backup directory. In Tools -> Preferences -> Paths, my backup directory is given as C:\Program Files\LyX 1.5.2\backup, but no directory called 'backup' was created with the installation. I created a new folder in that location and named it 'backup', and (not surprisingly) everything now works fine. I'm just curious as to whether this is the most appropriate solution? Matter of taste, I guess. I don't rely on LyX for backups (I do that outside LyX). If so, why was there no 'backup' directory created in the first place when LyX defaults to that path for backups? A better question is why LyX had that path. My copy has the backup path blank, but then it inherited settings from earlier versions rather than being a first install. And, no files of any type are appearing in this new backup directory I created, so where are these backups going (i.e., what is the purpose of this folder)? Maybe there aren't any. Do you have Tools -> Preferences... -> Look and feel -> User interface -> Backup documents turned on? Finally, are any of the other paths in the Preferences likely to be affected in this way? Don't have an answer to that one, but I suspect it's unlikely. /Paul
Re: Backup failure w/ LyX 1.5.2
Dave Hewitt wrote: Whenever I try to save LyX documents (File -> Save or Ctrl-S), I get a Backup Failure notification (image attached). After I hit OK, the Save option in the File menu is grayed out, indicating that the file has been saved. When I reopen the file, it looks fine, so the file itself is saving OK. Apparently LyX is (was, below) only having a problem accessing the backup directory. In Tools -> Preferences -> Paths, my backup directory is given as C:\Program Files\LyX 1.5.2\backup, but no directory called 'backup' was created with the installation. I created a new folder in that location and named it 'backup', and (not surprisingly) everything now works fine. I'm just curious as to whether this is the most appropriate solution? Matter of taste, I guess. I don't rely on LyX for backups (I do that outside LyX). If so, why was there no 'backup' directory created in the first place when LyX defaults to that path for backups? A better question is why LyX had that path. My copy has the backup path blank, but then it inherited settings from earlier versions rather than being a first install. Maybe since I left User Preferences intact when I updated to LyX 1.5.2, there was a default to include that path in LyX 1.5.1 (the first version I used). And, no files of any type are appearing in this new backup directory I created, so where are these backups going (i.e., what is the purpose of this folder)? Maybe there aren't any. Do you have Tools -> Preferences... -> Look and feel -> User interface -> Backup documents turned on? Yes, and I recall that files with little tildes at the end (backups, presumably) appeared in the same directory as the file was located when I was using LyX 1.5.1. There would almost always be a file with the same name and an added tilde each place I had a LyX document. Finally, are any of the other paths in the Preferences likely to be affected in this way? Don't have an answer to that one, but I suspect it's unlikely. /Paul Dave Hewitt
Re: Backup failure w/ LyX 1.5.2
Dave Hewitt wrote: And, no files of any type are appearing in this new backup directory I created, so where are these backups going (i.e., what is the purpose of this folder)? Maybe there aren't any. Do you have Tools -> Preferences... -> Look and feel -> User interface -> Backup documents turned on? Yes, and I recall that files with little tildes at the end (backups, presumably) appeared in the same directory as the file was located when I was using LyX 1.5.1. There would almost always be a file with the same name and an added tilde each place I had a LyX document. That's what I get ... sometimes ... (I have timed backups deselected, but apparently there are untimed backups triggered by alignment of the planets or something). There are also #filename# copies that get dumped under certain circumstances (less than graceful exit from LyX?), again in the source directory. So you're saying you have timed backups set and, even with a valid backup path and having the document open past the time limit, you're not getting a backup file? /Paul
Re: Backup failure w/ LyX 1.5.2
Marc, the directory is set to: C:\Program Files\LyX 1.5.2\backup (Recall that I created this folder to make it available and stop the error messages on every save instance.) Dave Hewitt wrote: And, no files of any type are appearing in this new backup directory I created, so where are these backups going (i.e., what is the purpose of this folder)? Maybe there aren't any. Do you have Tools -> Preferences... -> Look and feel -> User interface -> Backup documents turned on? Yes, and I recall that files with little tildes at the end (backups, presumably) appeared in the same directory as the file was located when I was using LyX 1.5.1. There would almost always be a file with the same name and an added tilde each place I had a LyX document. That's what I get ... sometimes ... (I have timed backups deselected, but apparently there are untimed backups triggered by alignment of the planets or something). There are also #filename# copies that get dumped under certain circumstances (less than graceful exit from LyX?), again in the source directory. Marc indicated that the files with tildes are the just-prior saved version (an at-the-time-of-last-opening backup, if you will). So those aren't the backups. But, like you Paul, I get the #...# files in the same directory as I'm working in. I get those files regularly when LyX has a document open, like a backup. So I'm confused about what those are (they're not going to the 'backup' directory, if they are backups). So you're saying you have timed backups set and, even with a valid backup path and having the document open past the time limit, you're not getting a backup file? Correct. Could this have something to do with the odd path that was given in the error message? LyX thought I wanted backups in 'backup' directory (which didn't exist), but the error message says: "Cannot create backup file: C:/Program Files/LyX 1.5.2/backup/C:!Documents and Settings!dhewitt!Desktop!newfile1.lyx~. Please check..." (It seems odd that this is an error for backup creation, and the file it wants to make has a tilde on it, which I've been told is not a backup.) /Paul Dave Hewitt
Re: Backup failure w/ LyX 1.5.2
Do either of you have RCS installed and running on your systems? http://www.gnu.org/software/rcs This is the RCS system accessible via LyX under File->Version Control The system doesn't have a GUI to work within. It's command line driven. I'm using LyX on Debian Linux Sid and OS X 10.4.10 - Marc On Oct 16, 2007, at 3:40 PM, Dave Hewitt wrote: Marc, the directory is set to: C:\Program Files\LyX 1.5.2\backup (Recall that I created this folder to make it available and stop the error messages on every save instance.) Dave Hewitt wrote: And, no files of any type are appearing in this new backup directory I created, so where are these backups going (i.e., what is the purpose of this folder)? Maybe there aren't any. Do you have Tools -> Preferences... -> Look and feel -> User interface -> Backup documents turned on? Yes, and I recall that files with little tildes at the end (backups, presumably) appeared in the same directory as the file was located when I was using LyX 1.5.1. There would almost always be a file with the same name and an added tilde each place I had a LyX document. That's what I get ... sometimes ... (I have timed backups deselected, but apparently there are untimed backups triggered by alignment of the planets or something). There are also #filename# copies that get dumped under certain circumstances (less than graceful exit from LyX?), again in the source directory. Marc indicated that the files with tildes are the just-prior saved version (an at-the-time-of-last-opening backup, if you will). So those aren't the backups. But, like you Paul, I get the #...# files in the same directory as I'm working in. I get those files regularly when LyX has a document open, like a backup. So I'm confused about what those are (they're not going to the 'backup' directory, if they are backups). So you're saying you have timed backups set and, even with a valid backup path and having the document open past the time limit, you're not getting a backup file? Correct. Could this have something to do with the odd path that was given in the error message? LyX thought I wanted backups in 'backup' directory (which didn't exist), but the error message says: "Cannot create backup file: C:/Program Files/LyX 1.5.2/backup/C:! Documents and Settings!dhewitt!Desktop!newfile1.lyx~. Please check..." (It seems odd that this is an error for backup creation, and the file it wants to make has a tilde on it, which I've been told is not a backup.) /Paul Dave Hewitt
Re: Backup failure w/ LyX 1.5.2
Marc Driftmeyer wrote: Do either of you have RCS installed and running on your systems? Not I. /Paul
Re: Backup failure w/ LyX 1.5.2
Dave Hewitt wrote: Marc indicated that the files with tildes are the just-prior saved version (an at-the-time-of-last-opening backup, if you will). So those aren't the backups. But, like you Paul, I get the #...# files in the same directory as I'm working in. I get those files regularly when LyX has a document open, like a backup. So I'm confused about what those are (they're not going to the 'backup' directory, if they are backups). Perhaps they're for File -> Revert? So you're saying you have timed backups set and, even with a valid backup path and having the document open past the time limit, you're not getting a backup file? Correct. Could this have something to do with the odd path that was given in the error message? LyX thought I wanted backups in 'backup' directory (which didn't exist), but the error message says: "Cannot create backup file: C:/Program Files/LyX 1.5.2/backup/C:!Documents and Settings!dhewitt!Desktop!newfile1.lyx~. Please check..." (It seems odd that this is an error for backup creation, and the file it wants to make has a tilde on it, which I've been told is not a backup.) I'm guessing, since I don't do backups myself, but I suspect LyX wants to modify the file name -- lest you back up to the document folder and try to use the same name. So the tilde decoration doesn't surprise me. As to why you're still not getting backups, that's another question. I take it that, after creating C:\Program Files\LyX 1.5.2\backup you still have that set as the backup path? Do you still get the same error message, or do backups fail silently? /Paul /Paul Dave Hewitt