git annex init fails: git [Param "remote",Param "add" ... ] failed #4

Closed
opened 2021-06-29 10:34:55 +00:00 by mih · 2 comments
mih commented 2021-06-29 10:34:55 +00:00 (Migrated from github.com)
% datalad clone https://github.com/psychoinformatics-de/studyforrest-data-freesurfer
[INFO   ] scanning for unlocked files (this may take some time)                                                            
[INFO   ] Remote origin not usable by git-annex; setting annex-ignore                                                      
[INFO   ] error: remote mddatasrc already exists. 
[INFO   ] git [Param "remote",Param "add",Param "mddatasrc",Param "http://psydata.ovgu.de/studyforrest/freesurfer/.git"] failed
|   CallStack (from HasCallStack):
|     error, called at ./Git/Command.hs:42:17 in main:Git.Command 
install(ok): /tmp/studyforrest-data-freesurfer (dataset)                                                                   
datalad clone   8.79s user 3.01s system 46% cpu 25.146 total

It seems the special remote config was butchered (likely by me): https://github.com/psychoinformatics-de/studyforrest-data-freesurfer/blob/git-annex/remote.log contains two definitions with the same name and one is pointing to the wrong location (which doesn't have the files tracked here).

``` % datalad clone https://github.com/psychoinformatics-de/studyforrest-data-freesurfer [INFO ] scanning for unlocked files (this may take some time) [INFO ] Remote origin not usable by git-annex; setting annex-ignore [INFO ] error: remote mddatasrc already exists. [INFO ] git [Param "remote",Param "add",Param "mddatasrc",Param "http://psydata.ovgu.de/studyforrest/freesurfer/.git"] failed | CallStack (from HasCallStack): | error, called at ./Git/Command.hs:42:17 in main:Git.Command install(ok): /tmp/studyforrest-data-freesurfer (dataset) datalad clone 8.79s user 3.01s system 46% cpu 25.146 total ``` It seems the special remote config was butchered (likely by me): https://github.com/psychoinformatics-de/studyforrest-data-freesurfer/blob/git-annex/remote.log contains two definitions with the same name and one is pointing to the wrong location (which doesn't have the files tracked here).
mih commented 2021-06-29 11:58:49 +00:00 (Migrated from github.com)

I fixed it by manually correcting the configuration. Please have a try @chrhaeusler

I fixed it by manually correcting the configuration. Please have a try @chrhaeusler
chrhaeusler commented 2021-06-29 13:43:31 +00:00 (Migrated from github.com)

yes, works now!

yes, works now!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
studyforrest/data-freesurfer#4
No description provided.