Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation fail on updating submodule #8

Closed
allanj opened this issue Feb 28, 2017 · 7 comments
Closed

Installation fail on updating submodule #8

allanj opened this issue Feb 28, 2017 · 7 comments

Comments

@allanj
Copy link
Collaborator

allanj commented Feb 28, 2017

I try to build it following the installation guided.
But seems I can not update the lib submodule

Admins-MacBook-Air:UDepLambda 1001981$ git submodule update --init --recursive lib
Cloning into '/Users/allanjie/Documents/workspace/UDepLambda/lib'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@bitbucket.org:sivareddyg/udeplambda-lib.git' into submodule path
'/Users/allanjie/Documents/workspace/UDepLambda/lib' failed
Failed to clone 'lib'. Retry scheduled
Cloning into '/Users/allanjie/Documents/workspace/UDepLambda/lib'...
Warning: Permanently added the RSA host key for IP address '104.192.143.2' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@bitbucket.org:sivareddyg/udeplambda-lib.git' into submodule path
'/Users/allanjie/Documents/workspace/UDepLambda/lib' failed
Failed to clone 'lib' a second time, aborting
Admins-MacBook-Air:UDepLambda 1001981$

@sivareddyg
Copy link
Owner

Thanks @allanj. I pushed a fix now.

Can you verify if this is working now. Just pull the recent commit and try the steps again. Please close the issue if this is resolved.

@allanj
Copy link
Collaborator Author

allanj commented Feb 28, 2017

I just pull and see the changed in .gitmodule file. But it is still showing the same error.

@sivareddyg
Copy link
Owner

My bad, the required repo was private. I made it public.

Some Troubleshooting:

If you get this error

(gnome-ssh-askpass:6221): Gtk-WARNING **: cannot open display:
Clone of 'https://sivareddyg@bitbucket.org/sivareddyg/udeplambda-lib.git' into submodule path 'lib' failed

try using this command:

unset SSH_ASKPASS

If it asks for password use empty password. Some machines may give this error after entering empty password. Ignore it. You will have required files downloaded.

error: pathspec 'lib_data/ud-models-v1.3' did not match any file(s) known to git.

Any luck?

@hienvuhuy
Copy link
Collaborator

hienvuhuy commented Feb 28, 2017

@sivareddyg : thanks for your response.

Sorry, my bad

@sivareddyg
Copy link
Owner

@hvhvhh I think you are either using

git submodule update --init --recursive

or

git submodule update --init --recursive data/WebQuestions

Instead please download the modules you require. What command did you use?

WebQuestions in multiple languages is not released yet for public use. I am waiting for permission from Google. Please wait on this.

@hienvuhuy
Copy link
Collaborator

@sivareddyg : thank you for you reply. It is a small error on my local file. Your new code is okay now and I can get fully your libs.

P/s: thanks for your information of WebQuestions. 👍

@allanj
Copy link
Collaborator Author

allanj commented Mar 1, 2017

@sivareddyg I restarted the whole installation from git clone and it works now (BUILD SUCCESSFUL).

@allanj allanj closed this as completed Mar 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants