Archi Forum

Archi Plug-ins => coArchi => Topic started by: manonvanrooijen on October 10, 2023, 15:50:08 PM

Title: Error when importing Remote Model to Workspace
Post by: manonvanrooijen on October 10, 2023, 15:50:08 PM
Hi,

I am despreately trying to get coArchi to work.
I've set up an empty (private) repository on Github
I've followed the instructions on
https://github.com/archimatetool/archi-modelrepository-plugin/wiki/Setup-and-Configuration
and
https://github.com/archimatetool/archi-modelrepository-plugin/wiki/SSH-Authentication
and
https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account

When connecting through
git@github.com:[username/repository].git (copied from github)
I get the error Cannot read the array length because return value is null (screenshot)
Help would be much appreciated

error on #.png


Title: Re: Error when importing Remote Model to Workspace
Post by: Phil Beauvoir on October 10, 2023, 16:07:05 PM
Hi, does your .ssh folder exist with files in it?
Title: Re: Error when importing Remote Model to Workspace
Post by: Phil Beauvoir on October 10, 2023, 16:57:33 PM
Please check that your .ssh directory actually exists with the SSH key files in, and that the directory can be read.

I've released coArchi 0.8.9 which will safeguard against this. Download from here - https://www.archimatetool.com/plugins/#coArchi
Title: Re: Error when importing Remote Model to Workspace
Post by: manonvanrooijen on October 11, 2023, 06:47:21 AM
Hi, thank you for your advise.
I ended up redoing the entire setup, including the SSH becaue I got a few other error messages in addition to the one I initially published.
That seemed to have done the trick, I am up and running, thanks.