snipsco / snips-nlu-rs

Snips NLU rust implementation
https://snips.ai
Other
340 stars 56 forks source link

Can't install snips-nlu-lib due to authentication error fetching snips-nlu-resources module #11

Closed allisterb closed 6 years ago

allisterb commented 6 years ago

This is my Cargo.toml dependencies section:

[dependencies]
snips-nlu-lib = { git = "https://github.com/snipsco/snips-nlu-rs", branch = "master" }

This is the error I get when I try to build it:

C:\Projects\hello_cargo>cargo build
   Updating git repository `https://github.com/snipsco/snips-nlu-rs`
error: failed to load source for a dependency on `snips-nlu-lib`

Caused by:
  Unable to update https://github.com/snipsco/snips-nlu-rs

Caused by:
  failed to update submodule `snips-nlu-resources/snips-nlu-resources`

Caused by:
  failed to fetch submodule `snips-nlu-resources/snips-nlu-resources` from ssh://git@github.com/snipsco/snips-nlu-resources

Caused by:
  failed to authenticate when downloading repository
attempted ssh-agent authentication, but none of the usernames `git` succeeded

Caused by:
  error authenticating: failed connecting agent; class=Ssh (23)

It seems that there is an authentication issue with anonymous users accessing the snips-nlu-resources git repository.

klefevre commented 6 years ago

Hello, we prevented this issue by replacing the ssh submodule url by https url in this commit 0944e9b. Since we're not yet on crates.io I think your Cargo.lock isn't up-to-date. Please try to run cargo update or to delete your Cargo.lock and try again to build the crate.