Calling Whaat and Fredo!! new MAC issues (SOLVED)
-
Kanonbal,
Very difficult to diagnose, as I don't have any Mac, and furthermore, am not familiar with the subtle differences between the Mac OS X versions you struggle with.
What I can suggest however is that you do the following procedure:
- First deactivate the BezierSpline extension in Windows>Preferences>Extension
- Exit Sketchup
- Start Sketchup (you should not see any Bezierspline icons)
- Turn on the Ruby Console
- Go to Windows>Preferences>Extension and activate Bezierspline extension
- Watch out potential error messages in the Ruby console. If so, please post the extract.
By the way, did you have any similar issue with my other scripts (joint push pull, Tools on Surface)?
Fredo
-
fredo,
there is no bezierspline extension to be deactivated there. i started the script with the console open but there was no error message.
there is no problem with the icons for your other scripts, just the bezierspline one.
-
good morning everyone.
Edson, I have do have a Bezier curves extension to turn on and off in preferences.
Fredo, after doing as you suggested, I received the following in the Ruby console:
/Library/Application Support/Google SketchUp 7/SketchUp/Plugins/BZ_Dir_12/bezierspline_main.rb:472: warning: don't put space before argument parentheses
/Library/Application Support/Google SketchUp 7/SketchUp/Plugins/BZ_Dir_12/bezierspline_main.rb:539: warning: don't put space before argument parentheses
/Library/Application Support/Google SketchUp 7/SketchUp/Plugins/BZ_Dir_12/bezierspline_main.rb:576: warning: don't put space before argument parentheses
/Library/Application Support/Google SketchUp 7/SketchUp/Plugins/BZ_Dir_12/bezierspline_main.rb:576: warning: parenthesize argument(s) for future version
/Library/Application Support/Google SketchUp 7/SketchUp/Plugins/BZ_Dir_12/bezierspline_main.rb:631: warning: don't put space before argument parentheses
/Library/Application Support/Google SketchUp 7/SketchUp/Plugins/BZ_Dir_12/bezierspline_main.rb:795: warning: don't put space before argument parentheses
/Library/Application Support/Google SketchUp 7/SketchUp/Plugins/BZ_Dir_12/bezierspline_main.rb:1044: warning: don't put space before argument parentheses
/Library/Application Support/Google SketchUp 7/SketchUp/Plugins/BZ_Dir_12/bezierspline_main.rb:1408: warning: don't put space before argument parentheses
/Library/Application Support/Google SketchUp 7/SketchUp/Plugins/BZ_Dir_12/bezierspline_main.rb:1408: warning: parenthesize argument(s) for future version
/Library/Application Support/Google SketchUp 7/SketchUp/Plugins/BZ_Dir_12/bezierspline_main.rb:1445: warning: don't put space before argument parentheses
/Library/Application Support/Google SketchUp 7/SketchUp/Plugins/BZ_Dir_12/bezierspline_main.rb:1445: warning: parenthesize argument(s) for future version
/Library/Application Support/Google SketchUp 7/SketchUp/Plugins/BZ_Dir_12/bezierspline_main.rb:1555: warning: don't put space before argument parentheses
/Library/Application Support/Google SketchUp 7/SketchUp/Plugins/BZ_Dir_12/bezierspline_main.rb:2085: warning: don't put space before argument parentheses
/Library/Application Support/Google SketchUp 7/SketchUp/Plugins/libtraductor.rb:59: warning: don't put space before argument parentheses
/Library/Application Support/Google SketchUp 7/SketchUp/Plugins/libtraductor.rb:24: warning: already initialized constant PC_OR_MAC
/Library/Application Support/Google SketchUp 7/SketchUp/Plugins/libtraductor.rb:25: warning: already initialized constant LBT__DEF
/Library/Application Support/Google SketchUp 7/SketchUp/Plugins/libtraductor.rb:32: warning: already initialized constant VALID_ERROR
/Library/Application Support/Google SketchUp 7/SketchUp/Plugins/libtraductor.rb:33: warning: already initialized constant VALID_MIN
/Library/Application Support/Google SketchUp 7/SketchUp/Plugins/libtraductor.rb:34: warning: already initialized constant VALID_MAX
/Library/Application Support/Google SketchUp 7/SketchUp/Plugins/libtraductor.rb:35: warning: already initialized constant VALID_PATTERN
/Library/Application Support/Google SketchUp 7/SketchUp/Plugins/libtraductor.rb:174: warning: redefining constant Struct::DlgItem
/Library/Application Support/Google SketchUp 7/SketchUp/Plugins/libtraductor.rb:174: warning: already initialized constant DlgItem
undefined method bz_ask_extras for BZ__BezierClassic in file bezierspline_main.rb
undefined method bz_ask_extras for BZ__Polyline in file bezierspline_main.rb -
I tried the same procedure with Subdivide/smooth and there was nothing in the Ruby Console after turning on the extension.
Fredo, as Edson said, I am having no issues with your other scripts (JPP and TOS).
Thanks !
-
After further experimenting by Edson, we have found that the following scripts are also not showing their images in the toolbar buttons.
3D Shape Tool
Bool Tool
frontface
polarlineSo far, Bezier Shapes is the only one that is losing functionality and is also the only one that shows info in the Ruby Console when turning it's extension on.
-
Hi Guys,though I am not a scripter,what we were suggested by the SU dev. team was to disable dynamic components first (in the Preferences > Extensions) and try to see if this helps.
Could you also try these things out until Dale or Fredo comes back?
What I know is that BoolTools had been tested on the Mac before the release as well and apparently not every Mac user is affected.
-
Disabling Dynamic Components has no effect on the issues I am experiencing.
Again, all this started after upgrading from OS 10.5.5 to OS 10.5.6.
Everything worked perfectly in 10.5.5
And, these issues are in both SU6 and SU7, so something, somewhere, has gotten screwy in the new OS 10.5.6
-
Oddly enough I have updated and I am not having any issue with bool tools or subdivsmooth. The other I am not sure as do not have them loaded.
Scott
-
well, that's weird.
-
I thought so too chuck. Let me know if you need me to look at anything particular.
Scott
-
Hey Scott, here is my question.
Bezier Spline is the only plugin, so far, that is actually dropping functions now, as opposed to just losing the images in the toolbar buttons.
Any chance you would be willing to download and install it and see what is happening on your system?
You can find it here: BezierSplines
I eagerly await your results, and secretly hope it doesn't work for you either so at least we have some consistency across platforms.
Thanks.
-
Hi,
I have no clue of what is happening between the different versions of Mac system.
I assume you all use version 1.2 (i.e. script with a sub folder BZ_Dir_12).The loss of functionality is simply due to the fact that curves are loaded from files BZ__*.rb normally located in the subfolder BZ_Dir_12 (except Classic Bezier and Polyline, which are in the main file). For whatever reasons, the script fails at finding or loading these files.
In order to progress, could you type in the Ruby console the following command:
Bezierspline::BZ___SearchDirIt should precisely display the BZ__*.rb files which have to be loaded.
If not, then there is a problem, probably related to the file system on Mac and how it is called from SU.Thanks and happy new year
Fredo
PS: I am currently in a place where Internet access is not easy. So I apologize for delays in my answers.
-
Hi Fredo, thanks for keeping up with this.
I typed as you suggested in the Ruby Console.
All I got was [].
I tried three times and am attaching the resulting screenshot.
Thanks again, and please, for sure there are no apologizes necessary.
Merry Happy,
-
Chuck,
Sorry but I will not be able to test it until I get back to work on the 5th but will do so first thing.
Scott
-
thanks Scott.
This would only be a very minor inconvenience, except I use the whee out of the Uniform B-Spline, and I miss it very much.
-
@unknownuser said:
Hi Fredo, thanks for keeping up with this.
I typed as you suggested in the Ruby Console.
All I got was [].
I tried three times and am attaching the resulting screenshot.
Thanks again, and please, for sure there are no apologizes necessary.
Merry Happy,
Then, this is where the problem comes from. I don't now what has happened between the version of MacOS X however, which makes it not working any longer.
By the way, I assume you do have a folder BZ_Dir_12 in your Sketchup Plugins directory, and in this directory, you also have some ruby files like BZ__BSplineU.rb, BZ__Catmull.rb, etc...
Let's take things in order then. In the Ruby console, can you type the following commands (which are actually coded at lines 394-397 of bezierspline_main.rb):
-
sudir = Sketchup.find_support_file "Plugins"
This should give the Sketchup Plugins Directory -
bzfiles = File.join sudir, "BZ_Dir_12", "BZ__*.rb"
This should give you the path to the ruby files, so, normally
/Library/Application Support/Google SketchUp7/SketchUp/Plugins/BZ_Dir_12/BZ__*.rb -
lf = Dir[bzfiles]
This should give a list of ruby files BZ__*.rb containing the additional curves.
Something goes wrong between step 1 and step 3.
Thanks
Fred
-
-
Hi Fredo, good morning.
I am enclosing 4 screen shots.
The first is my plugins folder, with all the Bezier Spline plugins and folder structure visible.
The next three are the results of the three commands you wanted me to type into the Console.
Obviously, something isn't working with number three, as all I get is: []
Thanks!
-
Chuck,
Thanks.
This seems to be a problem with Ruby itself, and it may well affect other scripts.I still need you (and other Mac users with the same system) to do a few tests in the Ruby console:
- retype first
sudir = Sketchup.find_support_file "Plugins"
and then, line, by line,
2a)
bzfiles = File.join sudir, "BZ_Dir_12", "*" Dir[bzfiles]
2b)
bzfiles = File.join sudir, "BZ_Dir_12", "*.rb" Dir[bzfiles]
2c)
bzfiles = File.join sudir, "BZ_Dir_12", "BZ*.rb" Dir[bzfiles]
2d)
bzdir = File.join sudir, "BZ_Dir_12" dbz = Dir.new(bzdir) dbz.each { |f| puts "file #{f}" }
2e)
Dir["*"]
I hope we can sort it out, but it is definitely a bug in the Ruby runtime on this new version of MacOS X.
Fredo
-
Hi Fredo, good morning.
I am attaching a screenshot of the results of the new Console inputs.
Starting to sound like Apple messed something up, huh?
At least me get an error code this time, instead of [].
Thanks Fredo!
I wonder if the button graphics not showing up has something to do with this, too, though it is weird that Scott is not having the same issues.
-
Chuck,
This seems to be a problem with Sketchup on this new version of Mac OS, when returning the path to the Plugins folder.
Just to be sure, can you open again the Ruby console, and then copy / paste the following command
bzdir = Sketchup.find_support_file "Plugins" ; dbz = Dir.new(bzdir) ; dbz.each { |f| puts "file #{f}" }
If you get an error message, this means that the problem should be escalated to the SU Team as a bug on Mac.
By the way, if you still have SU6 on this version of Mac OS, could you do the same test and advise on the result.
Thanks
Fredo
Advertisement