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

Cannot install because molokai color submodule fails to clone #654

Open
mpeters opened this issue Mar 29, 2016 · 3 comments
Open

Cannot install because molokai color submodule fails to clone #654

mpeters opened this issue Mar 29, 2016 · 3 comments

Comments

@mpeters
Copy link

mpeters commented Mar 29, 2016

An install of janus fails because the molokai submodule fails to clone:

Cloning into 'janus/vim/colors/molokai'...
remote: Counting objects: 11, done.
remote: Total 11 (delta 0), reused 0 (delta 0), pack-reused 11
Unpacking objects: 100% (11/11), done.
error: object 0500e432817c4b7493fabaa272dcc8fdad29908c:invalid author/committer line - bad time zone
fatal: Error in object
fatal: unpack-objects failed
Clone of 'https://github.com/vim-scripts/molokai.git' into submodule path 'janus/vim/colors/molokai' failed

Even doing a direct clone of that project by itself fails:

 git clone https://github.com/vim-scripts/molokai.git
Cloning into 'molokai'...
remote: Counting objects: 11, done.
remote: Total 11 (delta 0), reused 0 (delta 0), pack-reused 11
Unpacking objects: 100% (11/11), done.
error: object 0500e432817c4b7493fabaa272dcc8fdad29908c:invalid author/committer line - bad time zone
fatal: Error in object
fatal: unpack-objects failed

I know this isn't directly a janus issue (and molokai project doesn't seem to allow issues to be created), but it does prevent janus from being installed.

@mpeters
Copy link
Author

mpeters commented Mar 30, 2016

I also have this section in my ~/.gitconfig that contributes to the problem:

 [fetch]
         fsckobjects = true

So my git setup is extra strict (based on this advice - https://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01802.html) which makes this clone fail.

So you should add a -c fetch.fsckobjects=false option to the git clone so that it can be worked around during the install no matter what the user's git configuration is.

@mpeters
Copy link
Author

mpeters commented Mar 30, 2016

Well, it seems that adding that option to the top-level git clone doesn't quite work because it doesn't go down to the submodules... Not sure what the solution is there.

@mpeters mpeters closed this as completed Mar 30, 2016
@mpeters mpeters reopened this Mar 30, 2016
@kalbasit
Copy link
Member

kalbasit commented Aug 8, 2016

I think fetch.fsckobjects = true is way overkill. Not sure if there's a solution to this besides trying to unset it globally at the beginning of rake and reset it at the end.

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