-
Notifications
You must be signed in to change notification settings - Fork 1
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
Unclean removal of sibling #44
Comments
For my actual data, I tried deleting then recreating the sibling as shown above then pushing again. However it's saying the push is not needed even though the data is not present in the RIA.
|
Hey @jennydaman, thanks for the detailed issue! The first issue you describe - the ria-sibling lingering around in the background - reproduces. It is not unfixable, but we don't have ready-made datalad commands to do that work. Generally you would either do a reconfiguration (with the git-annex command The The errors you mention also justify an apology - their on our list of known annoyances and we have plans to remove them, but didn't get to it yet. Sorry about them. The failure to push is curious, because the
Can you check whether this configuration exists for your sibling as well? My suspicion is that this configuration is missing, so it only pushes |
The reason for the KeyError lies here: When create-sibling-ria fails because the storage sibling already exists, it attempts a reconfiguration on its own. But then further down, it attempts to get the special remotes UUID from .git/config, which had been removed from there, and thus return the None that later sends the configuration command into a KeyError. |
@adswa thank you for the thorough explanation.
|
What is the problem?
I want to be able to completely reset the configuration of siblings for a dataset. However, the
datalad siblings remove
command does not cleanly remove all configurations for the dataset.What steps will reproduce the problem?
First, create an example dataset:
Next, I attempt to undo the effects of
datalad create-sibling-ria
:At this point, as expected
datalad siblings
reports that the only sibling ishere
:However, I am unable to recreate the sibling:
Moreover, a TypeError is encountered if you use
--existing reconfigure
:DataLad information
Additional context
The above is a minimal reproduction of the error I am encountering while trying to use
datalad
with my real data. I've encountered other problems related to removed siblings which are harder to reproduce. Some errors went away after rerunningdatalad create-sibling-ria
. Also, when I rundatalad clone ...
I get errors related to removed siblings:Here,
/neuro/labs/grantlab/research/Jennings/var/datalad_ria
is a valid Datalad RIA, whereas/neuro/labs/grantlab/research/Jennings/datalad_ria/innersp_fitting_data_analysis
was deletedHave you had any success using DataLad before?
No response
The text was updated successfully, but these errors were encountered: