sketchucation logo sketchucation
    • Login
    1. Home
    2. 26delta
    3. Posts
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    2
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 6
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: [Plugin] !AdditionalPluginFolders - v5.4a - 27 Sep 20

      The problems with this plugin have been resolved. The culprit was the Rayelectron rendering package which contains a renamed Win32API.so file ('Win32API.so' vs 'win32api.so'). Now, onto the next problem...

      The windows.rb has problems with defining 'Window' as a superclass. Given that this is one of the original Sketchup ruby scripts, who's responsible for maintaining it?

      posted in Plugins
      2
      26delta
    • RE: [Code] Ruby LOAD PATHs script (Win32) : ver 3.0.1

      @dan rathbun said:

      The init function must is capitalized the same way the filename is.

      Therefor you MUST call require with the so file cap'd as it is in a directory listing:

      require("Win32API") # not "win32API" nor "win32api"

      This creates an interesting problem. The error was introduced by the Rayelectron package which works with a file named "win32api.so". Somehow, in all the confusion, my Win32API.so file got overwritten by win32api.so. The files are identical, but differently named.

      posted in Developers' Forum
      2
      26delta
    • RE: [Plugin] !AdditionalPluginFolders - v5.4a - 27 Sep 20

      @jim said:

      Mike, if you are attempting to include the full Ruby language in SketchUp then this is not the way to go. You need to use the same Ruby version as SketchUp for the compiled libraries (.so files) for binary compatibility.

      see this thread:

      http://forums.sketchucation.com/viewtopic.php?f=180&t=29412

      I've already responded to the other topic with the exact error message. I had to remove windows.rb due to failure to locate parametric.rb in order to define the Window superclass. It's beginning to look like a load sequence error in which certain required ruby scripts are loaded before they are required and then report as a failure to load because they are already loaded.

      posted in Plugins
      2
      26delta
    • RE: [Code] Ruby LOAD PATHs script (Win32) : ver 3.0.1

      Message from 000_AdditionalPluginFolders

      2 ERROR(S): The following plugins ha errors and may not be fully loaded

      PLUGIN: win32api.so
      FOLDER: C:\Program Files\Google\Google SketchUp 8\Plugins
      ERROR: 127: The specified procedure could not be found - Init_win32api
      C:\Program Files\Google\Google SketchUp 8\Plugins\win32api.so

      PLUGIN: win32api.so
      FOLDER: C:\Program Files\Google\Google SketchUp 8\Plugins
      ERROR: 127: The specified procedure could not be found - Init_win32api
      C:\Program Files\Google\Google SketchUp 8\Plugins\win32api.so

      posted in Developers' Forum
      2
      26delta
    • RE: [Plugin] !AdditionalPluginFolders - v5.4a - 27 Sep 20

      @tig said:

      If you move scripts [.rb/.rbs files] - and their subfolders of supporting files etc - out of the main Sketchup Plugins folder into another folder that has been added onto the $LOAD_PATH list [as with "000_AdditionalPluginFolders"], then they will still load/work OK, as they will auto-load like they used to from the main Sketchup Plugins folder.
      However, if the scripts ' require' some other file[s] to be preloaded [like 'parameters.rb' or 'win32api.so'] then any 'required' files also have to be in a folder included in $LOAD_PATH too. If it's not then you'll get a 'load error'.

      That's the rub. The .rb files ARE in the default Plugins folder.

      The major problem reported in errors 1 and 3 is that there is reference to a procedure 'Init_win32api' which (according to the Win32api.rdoc) does not exist. This may be causing the failure to recognize parameters.rb in error 2. I have reloaded Sketchup and the plugins to no avail.

      posted in Plugins
      2
      26delta
    • RE: [Plugin] !AdditionalPluginFolders - v5.4a - 27 Sep 20

      Ever since installing 000_AdditionalPlugiFolders, I have been getting error messages regarding win32api.so and the windows.rb and parameter.rb files. The first indicates that the procedure Init_win32api cannot be found in win32api.so.
      As far as I know, that procedure has never existed. The second error message indicates that the windows.rb cannot find the parameters.rb file and the third error message repeats the first. I'm at a loss.

      posted in Plugins
      2
      26delta
    • 1 / 1