# Importing a dataset from a Renku URL in renkulab UI

**URL:** <https://renku.discourse.group/t/importing-a-dataset-from-a-renku-url-in-renkulab-ui/83>\
**Category:** RenkuLab\
**Created:** [6 April 2020 08:41 UTC](https://renku.discourse.group/t/importing-a-dataset-from-a-renku-url-in-renkulab-ui/83 "2020-04-06T08:41:21Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![jen-thomas](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/jen-thomas/32/55_2.png) [@jen-thomas](https://renku.discourse.group/u/jen-thomas)\
**Post date:** [6 April 2020 08:41 UTC](https://renku.discourse.group/t/importing-a-dataset-from-a-renku-url-in-renkulab-ui/83/1 "2020-04-06T08:41:21Z")

</div>

Morning All,

I was trying out importing a dataset from a Renku project using its URL, through the UI in Renkulab but I’m not succeeding, so I wondered if you could help please.

I pasted [https://renkulab.io/datasets/b3488658-480d-4b3e-99ce-789c9b037542](https://renkulab.io/datasets/b3488658-480d-4b3e-99ce-789c9b037542) into the Import Dataset field, but get the following error:

Dataset import failed: Invalid parameter value for [https://renkulab.io/datasets/b3488658-480d-4b3e-99ce-789c9b037542:](https://renkulab.io/datasets/b3488658-480d-4b3e-99ce-789c9b037542:) Cannot clone remote projects: [git@renkulab.io](mailto:git@renkulab.io):ACE-ASAID/cruise-track-legs0-4.git [https://renkulab.io/gitlab/ACE-ASAID/cruise-track-legs0-4.git](https://renkulab.io/gitlab/ACE-ASAID/cruise-track-legs0-4.git)

I guess the first thing is: I’m not sure if I created that dataset correctly from the files that already existed within the Renku project.

And the second: am I using the correct URL here?

Thanks very much in advance for your help.

---

<div class="post-metadata">

**Author:** ![emmjab](https://avatars.discourse-cdn.com/v4/letter/e/ed8c4c/32.png) [@emmjab](https://renku.discourse.group/u/emmjab)\
**Post date:** [6 April 2020 09:07 UTC](https://renku.discourse.group/t/importing-a-dataset-from-a-renku-url-in-renkulab-ui/83/2 "2020-04-06T09:07:04Z")

</div>

Hi @jen-thomas, thanks for your question!

For the second part, I believe that is the correct URL.

For a corollary of the first part: have you set up an ssh key for your account (in settings in [renkulab.io/gitlab](http://renkulab.io/gitlab))? If not & if the project with the datasets (and the dataset itself) still exists, it might not be able to clone for this reason.

If you’ve got the ssh key set up already, then someone else from the team will chime in 😄

Best,  
Emma

---

<div class="post-metadata">

**Author:** ![jen-thomas](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/jen-thomas/32/55_2.png) [@jen-thomas](https://renku.discourse.group/u/jen-thomas)\
**Post date:** [6 April 2020 09:13 UTC](https://renku.discourse.group/t/importing-a-dataset-from-a-renku-url-in-renkulab-ui/83/3 "2020-04-06T09:13:30Z")

</div>

Yep I have the SSH keys set up 🙂

---

<div class="post-metadata">

**Author:** ![mohammad-sdsc](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/mohammad-sdsc/32/79_2.png) [@mohammad-sdsc](https://renku.discourse.group/u/mohammad-sdsc)\
**Post date:** [6 April 2020 09:13 UTC](https://renku.discourse.group/t/importing-a-dataset-from-a-renku-url-in-renkulab-ui/83/4 "2020-04-06T09:13:36Z")

</div>

Hi @jen-thomas,

The issue is that Renku cannot clone the project that contains this dataset. Can you try to see if you can clone the project in the same environment that you run Renku (although in a different directory) by running these commands:  
`git clone git@renkulab.io:ACE-ASAID/cruise-track-legs0-4.git `  
or  
`git clone https://renkulab.io/gitlab/ACE-ASAID/cruise-track-legs0-4.git`?

The first command fails if you don’t have an ssh key set up (as suggested by @emmjab).

---

<div class="post-metadata">

**Author:** ![jen-thomas](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/jen-thomas/32/55_2.png) [@jen-thomas](https://renku.discourse.group/u/jen-thomas)\
**Post date:** [6 April 2020 09:44 UTC](https://renku.discourse.group/t/importing-a-dataset-from-a-renku-url-in-renkulab-ui/83/5 "2020-04-06T09:44:01Z")

</div>

Thanks @emmjab and @mohammad-sdsc for your help.

`git clone git@renkulab.io:ACE-ASAID/cruise-track-legs0-4.git ` works on my local machine.

But I’ve tried this within a terminal in jupyterlab within the Renku UI and that doesn’t work:

```
git clone git@renkulab.io:ACE-ASAID/cruise-track-legs0-4.git 
Cloning into 'cruise-track-legs0-4'...
fatal: unable to fork

git clone https://renkulab.io/gitlab/ACE-ASAID/cruise-track-legs0-4.git
Cloning into 'cruise-track-legs0-4'...
Username for 'https://renkulab.io': jenny.thomas@epfl.ch
Password for 'https://jenny.thomas@epfl.ch@renkulab.io': 
remote: HTTP Basic: Access denied
fatal: Authentication failed for 'https://renkulab.io/gitlab/ACE-ASAID/cruise-track-legs0-4.git/'

```

I was trying the original dataset import in the Renku UI: [https://renkulab.io/projects/ACE-ASAID/gebco-depth-along-cruise-track-5min-resolution/datasets/import](https://renkulab.io/projects/ACE-ASAID/gebco-depth-along-cruise-track-5min-resolution/datasets/import), pasting this URL: [https://renkulab.io/datasets/b3488658-480d-4b3e-99ce-789c9b037542](https://renkulab.io/datasets/b3488658-480d-4b3e-99ce-789c9b037542)

Both the dataset that I am trying to import and the destination are in projects that are private:  
[https://renkulab.io/projects/ACE-ASAID/cruise-track-legs0-4](https://renkulab.io/projects/ACE-ASAID/cruise-track-legs0-4) and [https://renkulab.io/projects/ACE-ASAID/gebco-depth-along-cruise-track-5min-resolution](https://renkulab.io/projects/ACE-ASAID/gebco-depth-along-cruise-track-5min-resolution)  
so I don’t know if there are ssh key problems because of that?

Is there another way that I would be able to get around the problem to carry on with working on the project?

---

<div class="post-metadata">

**Author:** ![jsam](https://avatars.discourse-cdn.com/v4/letter/j/a183cd/32.png) [@jsam](https://renku.discourse.group/u/jsam)\
**Post date:** [6 April 2020 09:58 UTC](https://renku.discourse.group/t/importing-a-dataset-from-a-renku-url-in-renkulab-ui/83/6 "2020-04-06T09:58:27Z")

</div>

Hey Jen,

Thank you for your report. I’ve created a ticket to enable this for the future and you can track the progress for it [here](https://github.com/SwissDataScienceCenter/renku-python/issues/1113). It should come soon-ish, so you will be able to do this with newer version of renku.

Best,  
Sam

---

<div class="post-metadata">

**Author:** ![jen-thomas](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/jen-thomas/32/55_2.png) [@jen-thomas](https://renku.discourse.group/u/jen-thomas)\
**Post date:** [6 April 2020 10:05 UTC](https://renku.discourse.group/t/importing-a-dataset-from-a-renku-url-in-renkulab-ui/83/7 "2020-04-06T10:05:33Z")

</div>

Hi @jsam ok thanks - that’s the same issue I was having with trying to import a restricted dataset from Zenodo then 🙂

Ok so for the meantime, it would be easiest for me to download and upload the dataset files that I need then do you reckon?

---

<div class="post-metadata">

**Author:** ![rrrrrok](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/rrrrrok/32/117_2.png) [@rrrrrok](https://renku.discourse.group/u/rrrrrok)\
**Post date:** [15 April 2020 08:14 UTC](https://renku.discourse.group/t/importing-a-dataset-from-a-renku-url-in-renkulab-ui/83/8 "2020-04-15T08:14:18Z")

</div>

oops this seems to have gone unanswered for a while - did you manage in the end @jen-thomas or is this still causing problems?

---

<div class="post-metadata">

**Author:** ![jen-thomas](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/jen-thomas/32/55_2.png) [@jen-thomas](https://renku.discourse.group/u/jen-thomas)\
**Post date:** [15 April 2020 08:41 UTC](https://renku.discourse.group/t/importing-a-dataset-from-a-renku-url-in-renkulab-ui/83/9 "2020-04-15T08:41:38Z")

</div>

Morning @rrrrrok. Thanks for your reply.

I just downloaded and uploaded the files in the end. It looks like the ticket that @jsam pointed me to has it covered. We’re busy importing lots of the data from private Renku repos (and some restricted datasets from Zenodo) at the moment to finish off the project, so we’ll just go with the downloading and uploading until the new version is ready 🙂

Does that sound like the best way to go for now?

---

<div class="post-metadata">

**Author:** ![rrrrrok](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/rrrrrok/32/117_2.png) [@rrrrrok](https://renku.discourse.group/u/rrrrrok)\
**Post date:** [15 April 2020 08:45 UTC](https://renku.discourse.group/t/importing-a-dataset-from-a-renku-url-in-renkulab-ui/83/10 "2020-04-15T08:45:26Z")

</div>

yes, sounds good to me.
