[Plugin] Archiver.rb - update
-
Sounds like a Mac problem [again]. Works fine on PC. Please run it with the Ruby Console open and report the error you get. The .tmp file is made so that the original and newly named copy can swap over - that's failing...
-
here's the error message:
@unknownuser said:
Error: #<Errno::ENOENT: No such file or directory - \Users\jethro\Desktop\ARCHIVER_TEST>
/Library/Application Support/Google SketchUp 7/SketchUp/Tools/Archiver.rb:214:inopen' /Library/Application Support/Google SketchUp 7/SketchUp/Tools/Archiver.rb:214:in
entries'
/Library/Application Support/Google SketchUp 7/SketchUp/Tools/Archiver.rb:214:in `option'
/Library/Application Support/Google SketchUp 7/SketchUp/Tools/Archiver.rb:255that is after i have a model folder (ARCHIVER_TEST) with a couple of archives saved (they are in a folder created by the ruby called 'Archives' which resides inside the main folder.
it's looking like \ vs. / again?
-
It was \ versus / ! I suspected it - I have made an error in one step in the sub-routine for 'option'. I have just redone all of the path bits to ensure PC/Mac compatibility...
Here's v2.0 - it works OK on my PC AND should now work on your Mac too...
Sorry for the problem - I don't have access to a Mac to test this, so please report back...
For the latest version please see the PluginStore http://sketchucation.com/pluginstore?pln=Archiver
-
ok, that fixed it..
i only had a quick look at it as i'm about to leave for the day but it looks like there will only be one archives folder created now and i can view all the files related to the main folder via 'Open Archives'.
is that correct? if so, i like it!
i'll be able to check it out more thoroughly tonight but it's looking like a nice improvement.
thanks
-
Thanks TIG
-
Could it be this plugin could use an update for V2014? If I use the Archiver option in the file menu - the current file gets renamed to some 10 digit name.tmp and no copy is made to the Archiver sub-directory. Windows7 X64
-
@kaas said:
Could it be this plugin could use an update for V2014? If I use the Archiver option in the file menu - the current file gets renamed to some 10 digit name.tmp and no copy is made to the Archiver sub-directory. Windows7 X64
Archiver is one of a few scripts that doesn't work in v2014, because they completely changed how model.save works... It IS on my list of things to fix...
-
@tig said:
Archiver is one of a few scripts that doesn't work in v2014, because they completely changed how model.save works... It IS on my list of things to fix...
Great TIG. Much appreciated.
-
Version 2.1 is now available in the PluginStore - it is now made v2014 compatible...
http://sketchucation.com/pluginstore?pln=Archiver -
Version v2.2 is now available in the PluginStore:
http://sketchucation.com/pluginstore?pln=Archiver
It has some minor coding tweaks for cross-version compatibilities. -
Hi Tig,
Archiver is creating temp files in the directory where the *.skp model is.
The "Archive" folder is created, but there is nothing in there.
Changing the *.tmp extension to *.skp allows me to open the file ok.
Using Win XP 64 Bit Pro and Sketchup 8
Is that the way it is suppose to happen?
RegardsTerry
-
It's supposed to use the tmp file as stepping stone, then rename files so you end up where you started, but with a saved 'snapshot' skp too...
Anything unusual about the path where your SKP is, or its name etc ?
Works OK for me...
-
TIG,
Have tried it in basic directory in C:\ and the same happens.
Thought it may have been something to do with using DropBox, but that is not the case.
*.TMP files are created, but nothing in the archives folder.
See attached,
Regards
Terry
PS Is there any way of debugging the Ruby script from my end, if that can be of any assistance,
Regards
T
-
Using something like a Dropbox synced folder could be causing the issue...
What version of SketchUp are you using, OS etc? [scant User Profile info!]
Do you have FULL security permissions to read / write to the Model [SKP's] folder and the nested 'Archives' folder ?It works fine for me and many others, so clearly something is adrift...
If you run it with the Ruby Console open are there any error messages ?
-
I have exactly the same issue. The previous version still works fine on W7 x64 SU13.
-
Thanks for the Plugin
Can you please add an option thats create an Archive file automatically after a specified period of time?
Eg: Auto-Archive After every 15 minutes or auto-archive on each Auto-save (time set in preference> general)I would love this feature because most of the time I forget to Archive. And can't go back enough.
Thanks again.
Advertisement