Store credentials aren't saved #29

Open
opened 2023-05-31 09:07:42 +00:00 by adswa · 0 comments
adswa commented 2023-05-31 09:07:42 +00:00 (Migrated from github.com)

Leaving a quick note -- I believe we ran into this recently already and figured out the cause, but I couldn't yet find it.

When cloning from the ICF store, my credentials are queried for interactively, but they aren't automatically saved:

icf) adina@muninn in /tmp
# I have a URL substitution in place, thus the short URL
❱ datalad clone inm-icf://dl-Z03/P000624 a
Cloning:   0%|                             | 0.00/1.00 [00:00<?, ? candidates/s]Credential needed for access to https://data.inm-icf.de/dl-Z03/P000624_XDLRA--refs
user: a.wagner

password: 
password (repeat): 
[WARNING] You appear to have cloned an empty repository.                        
[WARNING] Cloned /tmp/a but could not find a branch with commits                
install(ok): /tmp/a (dataset)
datalad clone inm-icf://dl-Z03/P000624 a  19.36s user 14.31s system 0% cpu 1:00:29.43 total
(icf) adina@muninn in /tmp
❱ datalad credentials
crcns(user_password ✗): ...
xnat(user_password ✓): ...
hcp-s3(aws-s3 ✓): ...
kaggle(user_password ✗): ...
newprovider(user_password ✗): ...
upload.wikimedia.org(user_password ✗): ...
loris-demo(loris-token ✗): ...
NDA(nda-s3 ✗): ...
figshare(token ✓): ...
datalad-test-s3(aws-s3 ✗): ...
miNDAR(user_password ✗): ...
crawdad(user_password ✗): ...
nitrc(user_password ✓): ...
hcp-db(user_password ✓): ...
NSIDC(user_password ✗): ... 
api.osf.io(token ✓): ...
new-gini(token ✓): ...
demo-dataverse(token ✓): ...
new(token ✓): (credential) ...
webdav-a.wagner@fz-juelich.de-https://fz-juelich.sciebo.de/login?redirect_url=%252Ff%252F1216264329(user_password ✓): ...
github(secret ✓): ...
httbin-dummy(user_password ✓): ...
nitrc(user_password ✓): ...
dataverse(token ✓): ...
webdav-a.wagner@fz-juelich.de-https://fz-juelich.sciebo.de/sciebo(user_password ✓): ...
new-gini-gii(token ✓): ...
(icf) adina@muninn in /tmp
❱ pip freeze | grep datalad
datalad==0.18.4
datalad-next==1.0.0b2
Leaving a quick note -- I believe we ran into this recently already and figured out the cause, but I couldn't yet find it. When cloning from the ICF store, my credentials are queried for interactively, but they aren't automatically saved: ``` icf) adina@muninn in /tmp # I have a URL substitution in place, thus the short URL ❱ datalad clone inm-icf://dl-Z03/P000624 a Cloning: 0%| | 0.00/1.00 [00:00<?, ? candidates/s]Credential needed for access to https://data.inm-icf.de/dl-Z03/P000624_XDLRA--refs user: a.wagner password: password (repeat): [WARNING] You appear to have cloned an empty repository. [WARNING] Cloned /tmp/a but could not find a branch with commits install(ok): /tmp/a (dataset) datalad clone inm-icf://dl-Z03/P000624 a 19.36s user 14.31s system 0% cpu 1:00:29.43 total (icf) adina@muninn in /tmp ❱ datalad credentials crcns(user_password ✗): ... xnat(user_password ✓): ... hcp-s3(aws-s3 ✓): ... kaggle(user_password ✗): ... newprovider(user_password ✗): ... upload.wikimedia.org(user_password ✗): ... loris-demo(loris-token ✗): ... NDA(nda-s3 ✗): ... figshare(token ✓): ... datalad-test-s3(aws-s3 ✗): ... miNDAR(user_password ✗): ... crawdad(user_password ✗): ... nitrc(user_password ✓): ... hcp-db(user_password ✓): ... NSIDC(user_password ✗): ... api.osf.io(token ✓): ... new-gini(token ✓): ... demo-dataverse(token ✓): ... new(token ✓): (credential) ... webdav-a.wagner@fz-juelich.de-https://fz-juelich.sciebo.de/login?redirect_url=%252Ff%252F1216264329(user_password ✓): ... github(secret ✓): ... httbin-dummy(user_password ✓): ... nitrc(user_password ✓): ... dataverse(token ✓): ... webdav-a.wagner@fz-juelich.de-https://fz-juelich.sciebo.de/sciebo(user_password ✓): ... new-gini-gii(token ✓): ... (icf) adina@muninn in /tmp ❱ pip freeze | grep datalad datalad==0.18.4 datalad-next==1.0.0b2 ```
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
inm7/inm-icf-utilities#29
No description provided.