There is a slight bug in the saving of files, in which when a file is saved the first time after it’s loaded, the following error message is displayed:
>>> The following I/O operation could not be completed:
>>> Cannot save: source path /Temp/videos doesn’t exists
This error occurs regardless if the file is loaded automatically when jEdit is launched or the file is loaded after jEdit is launched.
After this error occurs one time, each subsequent save works fine.
The bug appears to be caused by a combination of settings in the global options dialog. Under the “Saving & Backup” category, if the “Max number of backups” field is cleared to blank (no numbers) and both the “Backup filename prefix” and “Backup filename suffix” fields are also cleared to blank (no characters), then the error occurs.
It appears that when the “Max number of backups” field is blank it’s being interpreted as “1” (or non-zero) and since the prefix and suffix fields are also blank, the backup file name that's generated is the same as the original file name, which is apparently causing some sort of name collision. If the “Max number of backups” field is cleared to blank and either the “Backup filename prefix” or “Backup filename suffix” fields are set to something, then the save succeeds without an error message and a backup file is created. Setting the “Max number of backups” field to “0” solves this bug and prevents backup files from being created.
Recommend that if the “Max number of backups” field is blank it be interpreted as "0" (zero). Also recommend that if the “Max number of backups” field is greater than zero, either the “Backup filename prefix” or “Backup filename suffix” field be forced to something non-blank if both are currently blank. These changes will prevent this error from occurring. Although an easy workaround is to set the “Max number of backups” field to a valid number, the fact that this error can occur suggests the possibility of a file getting corrupted while saving, so the potential for problems ensuing from this bug could be more serious than it appears.
Farmer Dave ( farmerdave ) - 2012-10-04 08:17:50 PDT
Regressive (new to devel)
|status_id||Open||2012-10-07 00:21:49 PDT||jarekczek|
|close_date||-||2012-10-07 00:21:49 PDT||jarekczek|
|resolution_id||None||2012-10-07 00:21:49 PDT||jarekczek|
|File Added||454442: diff||2012-10-06 10:48:57 PDT||jarekczek|
|artifact_group_id||None||2012-10-05 12:19:38 PDT||ezust|
|priority||5||2012-10-04 09:03:32 PDT||jarekczek|
|assigned_to||nobody||2012-10-04 09:03:32 PDT||jarekczek|