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

mr.developer: git submodule init failed #179

Open
zopyx opened this issue Jan 13, 2016 · 3 comments
Open

mr.developer: git submodule init failed #179

zopyx opened this issue Jan 13, 2016 · 3 comments

Comments

@zopyx
Copy link

zopyx commented Jan 13, 2016

I am receiving a bunch of these messages from a Plone 4.3 buildout that is working on all machines except this one. Latest Plone 4.3, latest mr.developer

The related sources

xmldirector.demo = git [email protected]:xml-director/xmldirector.demo.git
xmldirector.crex = git [email protected]:xml-director/xmldirector.crex.git
pp.client-plone = git [email protected]:ajung/pp.client-plone.git
pp.client-python = git [email protected]:ajung/pp.client-python.git
plone.rest = git [email protected]:zopyx/plone.rest.git

can be cloned manually on the same box without issues.

How can on track this down?

[docker@vmd9666 xmldirector.plonecore]$ bin/buildout -c dev.cfg
mr.developer: Queued 'plone.rest' for checkout.
mr.developer: Queued 'pp.client-plone' for checkout.
mr.developer: Queued 'pp.client-python' for checkout.
mr.developer: Queued 'xmldirector.crex' for checkout.
mr.developer: Queued 'xmldirector.demo' for checkout.
mr.developer: Cloned 'plone.rest' with git.
mr.developer: git submodule init failed.
mr.developer:
mr.developer: Cloned 'xmldirector.crex' with git.
mr.developer: git submodule init failed.
mr.developer:
mr.developer: Cloned 'pp.client-python' with git.
mr.developer: git submodule init failed.
mr.developer:
mr.developer: Cloned 'xmldirector.demo' with git.
mr.developer: git submodule init failed.
mr.developer:
mr.developer: Cloned 'pp.client-plone' with git.
mr.developer: git submodule init failed.
mr.developer:
mr.developer: There have been errors, see messages above.

@fschulze
Copy link
Owner

Did you try git submodule init after cloning manually? Maybe you already see the error then.

Otherwise, try to add printing of stdout and stderr in the git_init_submodules function in git.py of mr.developer.

If you are sure that you don't need any submodules, you can also set update-git-submodules = never in the [buildout] section of your buildout config.

@zopyx
Copy link
Author

zopyx commented Jan 13, 2016 via email

@fschulze
Copy link
Owner

Maybe you could change the raise to raise GitError("git submodule init failed.\n%s" % stderr) to see the error message. In case you still want to track it down.

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

2 participants