I am struggling to get the SketchUp connector working (I have not tried other connectors).
I am using SketchUp 2023 on macos M1 (Sonoma 14.7.1)
I keep getting this error. I have followed the suggestion to create a json file in ~/.config/Speckle/Accounts/Accounts.json, but with no success.
The account does exist on the web app and in the Speckle manager
Loading Speckle Connector v2.21.1 from build
Error: #<IOError: No Accounts db found. Please read the guide for different options for adding your account:
https://speckle.guide/user/manager.html#adding-accounts>
/Users/veda/Library/Application Support/SketchUp 2023/SketchUp/Plugins/speckle_connector/src/accounts/accounts.rb:13:in `load_accounts'
/Users/veda/Library/Application Support/SketchUp 2023/SketchUp/Plugins/speckle_connector/src/actions/initialize_speckle.rb:19:in `update_state'
/Users/veda/Library/Application Support/SketchUp 2023/SketchUp/Plugins/speckle_connector/src/app/speckle_connector_app.rb:51:in `update_state!'
/Users/veda/Library/Application Support/SketchUp 2023/SketchUp/Plugins/speckle_connector/src/commands/initialize_speckle.rb:37:in `initialize_speckle'
/Users/veda/Library/Application Support/SketchUp 2023/SketchUp/Plugins/speckle_connector/src/commands/initialize_speckle.rb:28:in `_run'
/Users/veda/Library/Application Support/SketchUp 2023/SketchUp/Plugins/speckle_connector/src/commands/command.rb:22:in `block in run'
/Users/veda/Library/Application Support/SketchUp 2023/SketchUp/Plugins/speckle_connector/src/commands/command.rb:33:in `with_observers_disabled'
/Users/veda/Library/Application Support/SketchUp 2023/SketchUp/Plugins/speckle_connector/src/commands/command.rb:21:in `run'
/Users/veda/Library/Application Support/SketchUp 2023/SketchUp/Plugins/speckle_connector/src/commands/menu_command_handler.rb:12:in `block in sketchup_command'
Error: #<IOError: No Accounts db found. Please read the guide for different options for adding your account:
My only guess, somehow your accounts stored in different places for a reason. Could you check your .congif/Speckle/Accounts.db file exists in your user’s home directory or not. Otherwise it would be helpful to provide info where they are stored, you can search globally to Accounts.db to spot it.
We will solve the source of the problem but copy pasting the Accounts.db into .config/Speckle/ should temporarily unblock you for this case. I will update you here when we released a new version with the hotfix.
I tried to copy Accounts.db to .config/Speckle. Unfortunately now Sketchup crashes when I try to initialise Speckle. I can paste the crash report here if needed (it is very long).
I noticed that Accounts.db was actually empty (opening it with sqlite3), so I copied the 3 files
SketchUp crashes so the windows literally disappear and it is not possible to look at the error in the Ruby console. I can try to get the crash report once I have access to the mac later today.
That doesn’t sound good. Tbh, we have been mostly focusing on Next-Gen development but we do not have mac support yet for Sketchup, so I will try to have hotfix for v2 Sketchup end of today.
Unfortunately I get the same error as in the original message.
However, I managed to get it to work. I first tried to start from scratch, deleting everything in every directory except the actual manager application. It did not help.
I then copied everything from Library/Application Support/Speckle to .config/Speckle and it started to work.