No Accounts db found

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:

Any suggestion?

Hey @ruggierovc ,

Do you have Manager for Speckle installed on your Mac? If you do, did you add your account to Manager?

Yes, as I say in my question the account does exist on the web app and in the Speckle manager.

I also tried to remove the account and add it again, but still the same error

Hi,

do you have any feedback on this issue? I would love to test Speckle in our workflow, but this is a bit of a blocker. :slight_smile:

Thanks!
Ruggiero

Hey @ruggierovc,

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.

Best

Hi @oguzhan,

Accounts.db is in ./Library/Application Support/Speckle/Accounts.db, but not in .config/Speckle.

Actually there is not even a Speckle directory.

Thanks

Thanks for the info @ruggierovc, it was helpful.

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.

Best

1 Like

Hi @oguzhan,

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

Library/Application Support/Speckle/Accounts.db
Library/Application Support/Speckle/Accounts.db-shm
Library/Application Support/Speckle/Accounts.db-wal

and I could actually see my account data, but still SketchUp crashes when I try to initialise Speckle.

Hi @ruggierovc,

is the error message same as before? it would be helpful if you could share

Hi @oguzhan,

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.

Best

1 Like

Thanks @oguzhan, I appreciate it

I just deployed a new version (2.21.2) as hotfix, could you let me know whether the issue resolved or not?

Best

Hi @oguzhan

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.

I hope this helps for your next fix.