psychoinformatics-de / knowledge-base

Sources for the psyinf knowledge base
https://knowledge-base.psychoinformatics.de
Other
0 stars 3 forks source link

Failure to clone project from the OSF #102

Closed adswa closed 1 year ago

adswa commented 1 year ago

Origin: private email

Hi, Thanks for your work. I'm trying to use the datalad-osf. I followed the instruction here (http://docs.datalad.org/projects/osf/en/latest/) but I can not import a dataset using the clone or install. I have the following message:

ubuntu@ip-172-26-7-124:~$ datalad install osf://8brgv/
Cloning:   0%|                                        | 0.00/1.00 [00:00<?, ? candidates/s]
Please enter password for encrypted keyring:
[WARNING] You appear to have cloned an empty repository.                                  
[WARNING] Cloned /home/ubuntu/8brgv but could not find a branch with commits  

My response:

Hi, I looked at the OSF project 8brgv, and it looks like this is a regular OSF project, not a DataLad dataset pushed to OSF. If this is true, DataLad has no way to clone it (there wouldn't be a repository to clone, see the last bullet point in http://docs.datalad.org/projects/osf/en/latest/intro.html#what-can-i-not-use-this-extension-for).

If it is a published datalad dataset, though, could open an issue at https://github.com/datalad/datalad-osf and include the following additional info:

  • software versions (output of datalad wtf)
  • Command and output when you created the sibling and pushed it

Thanks! Adina

TODO (not necessarily to be performed in this order)

adswa commented 1 year ago

Until I hear otherwise, I will assume that the problem was indeed that the user tried to clone a non-DataLad repo from the OSF. As it is documented that this won't work, I'm closing the issue as already addressed for others and responded to the specific user