Sketchup on linux with wine
-
hi all, i've had some success running sketchup 7 on linux mint 8 using wine. i'm experiencing some odd behaviour with plugins, however. on my pc, i loaded dim_angle.rb into my plugins folder and it runs fine. i tried the same thing on my netbook using the same software, and the plugin does not load. instead, i get the message, 'Error Loading File dim_angle.rb
C:/Program Files/Google/Google SketchUp 7/Plugins/dim_angle.rb:2: syntax errorThe code related to click 3 points was reused here from an original
^
C:/Program Files/Google/Google SketchUp 7/Plugins/dim_angle.rb:11: syntax error
require 'sketchupclass DimAngleTool' my knowledge of ruby is almost nil, but , this being the case, could anyone venture a guess as to why i am experiencing this difficulty on only one computer? or, better yet, i'd love some insight into the4 mechanics of locating syntax errors. thank you, bob eback -
I'm not sure, but I think someone before mentioned some issues with new line characters that acted unexpected. You might find something if you search the forum for wine.
-
@thomthom said:
I'm not sure, but I think someone before mentioned some issues with new line characters that acted unexpected.
Try opening the rb file in a good editor, setting the newline (end of line) character to UNIX (instead of Mac or WIN,) and resave the file.
Also sometimes, block comments =begin ... =end have problems (and I avoid using them and replace them with a '#' pound character at the start of each line.) My editor (Notepad++,) uses the pound characters when I use the block comment menu command on a highted multiline block of text.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement