Plugin Continuity
-
Downloaded it from the regular polygon site and installed it via SU's native installer and .rbz
After a lot of tinkering I realized that the .rbz was unpacking "load_keyframeanimation.rb" within a folder so SU wasn't recognizing the install. I placed this directly in the plugins folder and finally got Keyframe working without toolbar icons so that, after a couple hours of headscratching I can finally get back to work.
This may have been a regularpolygon issue but it feels like an unnecessarily convoluted trouble shooting process - I feel like a lone voice on this so have to assume that I'm missing something critical... Either that or the other people that are having issues aren't posting.
Is there documentation about how the plugin system is supposed to work?
Thanks for your help Box
-
It sounds like you have something screwed up in your SU installation. I download it from the site and installed it via the preferences window and it all works fine. Including the toolbar.
That .rb file you mention should reside in a subfolder.Have you used the defaults when installing SU2014 or did you make your own plugin folder?
What is the path to the plugin folder you are using? -
C:\Users"Username"\AppData\Roaming\SketchUp\SketchUp 2014\SketchUp\Plugins
Thanks for taking an interest - I feel like I'm going a little nuts but there must be something wrong....
-
Try deleting the folder called rp_keyframeanimation and the two files of the same name, one .rb the other .rbx. Then reinstall from the preferences window. Restart SU and see if it's working.
You should then need to input your license, so make sure you have it before you delete anything. -
It returns this Load Error:
Error Loading File rp_keyframeanimation.rb Error; #<SyntaxError; C;/Users/Ash/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/rp_keyframeanimation.rb;18; invalid multibyte char (UTF-8)>
-
Then works immediately when I move "load_keyframeanimation.rb" out of its subfolder - the toolbar icons are still absent
-
Sorry, it's beyond my tiny mind. It works exactly the opposite for me. If I move that file into plugins I get the error and a broken toolbar.
-
Thanks for your effort anyway - At least I can finish my project now.
-
That error shows a Ruby2 issue.
If you open the .rb in Notepad++.exe is its encoding listed as "UTF8-without-BOM" ?
If not the change its encoding to that and save it.
Retry and see if the error goes, repeats or it changes - e.g. it might now point to a line number with another error ?
If you are lucky then the re-encoding will have fixed it, but if not then some other syntax error[s] need[s] addressing - e.g. a common one ismethod (arguments)
- there can be no space between a method and the opening parenthesis around its arguments in Ruby2, so it'smethod(arguments)
- the previous Ruby warned about it, but still loaded the code, but now it simply breaks ! -
It won't save as "UTF8-without-BOM" I can hit "convert to UTF8-without-BOM" or "encode with UTF8-without-BOM" and save it but when I re-open the file it is back to ANSI......
I can get it to encode in just UTF8 but that doesn't fix anything
-
Do you want to PM me the .rb file and I'll look at it
Advertisement