mr.developer icon indicating copy to clipboard operation
mr.developer copied to clipboard

mr.developer: git submodule init failed

Open zopyx opened this issue 10 years ago • 3 comments

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.

zopyx avatar Jan 13 '16 18:01 zopyx

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.

fschulze avatar Jan 13 '16 18:01 fschulze

I am not using submodules but update-git-submodules = never resolved the problem on this box.

zopyx avatar Jan 13 '16 18:01 zopyx

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.

fschulze avatar Jan 13 '16 18:01 fschulze