Sketchucation Tools error on MacBook

Sketchucation Tools error on MacBook

Postby hambuild » Fri Nov 18, 2022 7:00 pm

Hello All-
I'm using SketchUp 2021 on a MacBook Pro running Catalina. I've tried to install Sketchucation Tools several times and get this message when I open SU.

Error Loading File SketchUcation.rb
Error: #<Errno::ENOENT: No such file or directory - getcwd>
/Users/name/Library/Application
Support/SketchUp 2021/SketchUp/Plugins/
Sketchucation.rb:61:in 'pwd'
/Users/name/Library/Application
Support/SketchUp 2021/SketchUp/Plugins/
Sketchucation.rb:61:in '<Module:SCF>'
/Users/name/Library/Application
Support/SketchUp 2021/SketchUp/Plugins/
Sketchucation.rb:17:in 'top (required)>'
I have Sketchucation Tools successfully installed and running on a windows machine. Is that the issue? Am I only allowed 1 seat of SCF at a time? If so, I understand and will comply. :thumb:
Thank you!
0

hambuild 
 

Re: Sketchucation Tools error on MacBook

Postby TIG » Mon Nov 21, 2022 5:48 pm

This is because there's a weird error with Ruby interpreters on some MAC's...

The loader file Sketchucation.rb tries to set up the 'TEMP' folder as it loads.
But as a fallback it currently uses Dir.pwd to set at least some folder if the other more likely folder-paths fail.
We will remove this in the next update of the toolset, even if the MAC error is not fixed, as it was a bit 'belt-and-braces' and that path was very very unlikely to be needed.

Here's a fix you can make before we issue an update, note that because if will break the current 'signing code', you will need your Extension Manager > Loading Policy set to 'Unrestricted' to let it load properly...

Open the file ../Plugins/Sketchucation.rb in a plain-text-editor [not a wordprocessor].
Find line #60 and edit that, and line #61 below it...

It originally says:
'/tmp',
Dir.pwd

change it to read:
'/tmp'#,
#Dir.pwd

with two added # symbols to stop the text following them being read...
0
TIG
User avatar
TIG 
Global Moderator
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Extensions & Applications Discussions

Who is online

Users browsing this forum: No registered users and 1 guest