Autosave issue on Mac
-
Have just had SKP Pro8 crash after considerable amount of work on a large project that was already a named & operating .SKP file.Problem being there is no Autosave file that can be found - anywhere! Have checked all the normal areas for Autosave etc on my HD, have done a Finder search on the HD + User etc. Autosave>Preferences is set to "5 mins" as backup. All that exists is the original file prior to amendments etc. Does anyone have any suggestions or is there any known issues. Using iMac 2.7GHz Intel Core Core i5 - OSX 10.7.5 - SKP Pro 8.0.15157. Thanks
-
If you open 'Ruby Console' in Sketchup and paste in the following then edit the file name, it will return the path.
@find_my_path =(
mdfind "kMDItemDisplayName == AutoSave_CHANGE_THIS.skp")
you could also look for an
**Autosave_**Autosave_%(#0040FF)[CHANGE_THIS].skp"
version or a%(#0040FF)[CHANGE_THIS]**~**.skp"
john
-
Thanks John, No luck so far, I tried the ruby Console, my file was named CW New Floor 9-2-11~.skp, do I maintain the "_" after Autosave. By the way I did get a lot of information re "Tools/SolarNorth/solarnorth_loader.rb:47" was not to sure of the significance of this. The situation is that I'm now not sure of how well my SKP Autosave is working!
-
this should find it by name
@my_path =(`mdfind "kMDItemDisplayName == AutoSave_CW New Floor 9-2-11~.skp"`)
or look for all Autosaved copies
@my_path =(`mdfind "kMDItemDisplayName == AutoSave_*~.skp"`)
or for all copies (the ~ indicates you were working on a copy)
@my_path =(`mdfind "kMDItemDisplayName == *~.skp"`)
@unknownuser said:
By the way I did get a lot of information re "Tools/SolarNorth/solarnorth_loader.rb:47" was not to sure of the significance of this.
maybe it users
@find_my_path
so I changed that....good luck
john -
Where the PC names it files 'Autosave_filename' the mac puts ~ at the end of the file name (filename~.skp) and those files are the back ups as well
-
@tobobo said:
Where the PC names it files 'Autosave_filename' the mac puts ~ at the end of the file name (filename~.skp) and those files are the back ups as well
No
on a mac SU will make 'Autosave_filename' if you choose to autosave in SU Preferencesand SU will make 'filename~.skp' if you select make backup in SU Preferences, although when and where can be a bit illusive. I believe these ~ backups are only made during 'some' crashes.
Ideally, you should never use 'tilde' ( ~ ) character in your own filenames for SU, nor should you use the backup file for actual drawing, but re-save it with the original name and/or your own identifier. i.e. '_v2', '_from_backup', etc....
john
-
Thanks for the input, your Console code worked in the respect that all previous Autosave files were displayed but unfortunately not the recent autosave file (if one exists) that has vanished. Have resigned to re-working the project!! My main concern now being, does my SKP Autosave actually work. The previous day I had updated OSX 10.7.4 to 10.7.5 because I was having issues with another piece of software that had been rectified with the update. Is there a short test for the SKP Autosave feature because I do rely on it.
-
@skeerc said:
unfortunately not the recent autosave file (if one exists) that has vanished.
I had problems on one project where I was accidentally working on the ( ~ ) versions and ended up with Autosave_Autosave_Filename~~.skp before getting completely lost as to which copy was the latest...
@unknownuser said:
The previous day I had updated OSX 10.7.4 to 10.7.5 because I was having issues with another piece of software that had been rectified with the update.
If you can, Mountain Lion fixes lots of issues that Lion has. Especially with SU.
@unknownuser said:
Is there a short test for the SKP Autosave feature because I do rely on it.
SU >> Preferences >> General and set Autosave to 1 (you want a quickish test)
SU >> File >> New
SU >> File >> Save (name it autoTest)draw a cube and colour it pink
after a minute paste this into Ruby Console
@my_path =(`mdfind "kMDItemDisplayName == AutoSave_autoTest.skp"`)
re-try until you get a path returned, may be 2 or more goes... i.e. more than a minute.
when you have a path paste in this
file= @my_path.to_s
then
system %(open #{file})
your cube should be pink in the 'AutoSave_autoTest.skp' >> Close it
in 'autoTest.skp' repaint purple.
wait a minute then, click on 'Ruby Console' input box and hit your 'UP' arrow >> then return/enterclose if not purple and repeat, timings seem a bit erratic, but it works...
I normally do a 'Save a copy as' with a prefix, each session so I can always go back to a previous version.
john
-
Thanks, Shall consider Mountain Lion & run the suggested tests for Autosave. Normally do rename files etc but will be a little more diligent in the future! Much appreciate the level of input.
Advertisement