ersilia-os / ersilia

The Ersilia Model Hub, a repository of AI/ML models for infectious and neglected disease research.
https://ersilia.io
GNU General Public License v3.0
224 stars 148 forks source link

🐛 Bug: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly before end of the underlying stream #296

Closed Zainab-ik closed 2 years ago

Zainab-ik commented 2 years ago

Describe the bug.

Hi,

I'm unable to install the Ersilia python package. I tried running the command below twice git clone https://github.com/ersilia-os/ersilia.git

The resulting error showed

error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly before end of the underlying stream error: 2427 bytes of body are still expected fetch-pack: unexpected disconnect while reading sideband packet fatal: early EOF fatal: fetch-pack: invalid index-pack output

Describe the steps to reproduce the behavior

Expected behavior.

To create an Ersillia folder in my local machine

Screenshots.

image

Operating environment

Windows 11 (running on anaconda prompt)

Additional context

No response

Zainab-ik commented 2 years ago

Solution

The Ersilia folder happens to have a large size and the default git config buffer size is not sufficient to handle it. therefore, the post-buffer size needs to be increased and can be done using git config --global http.postBuffer 524288000

Thereafter, you can clone the repository again with git clone https://github.com/ersilia-os/ersilia.git

Screenshot result

image

Thanks.

Let me know if there are alternate solutions. Thanks

GemmaTuron commented 2 years ago

Thanks @Zainab-ik ! We hadn't encountered this issue before but it's useful to know. One question, are you running Ersilia simply on the anaconda distribution for windows?

Zainab-ik commented 2 years ago

@GemmaTuron I think I'm running it on anaconda distribution for windows. I'd like to ask if I need to download all the packages I have on windows on my WSL ubuntu too or linux to be able to run the command or I can just do them on the anaconda prompt? Thanks

GemmaTuron commented 2 years ago

You need to go to your WSL and install anaconda or miniconda there, and then clone ersilia's repository and install it. You do not need any other packages beforehand aside from Conda in the WSL.

Zainab-ik commented 2 years ago

Alright, I'd do that from my WSL

Zainab-ik commented 2 years ago

I did this on my WSL and it worked although it was slow. I guess the error is due to ersillia incompatibility with windows.

GemmaTuron commented 2 years ago

Hi @Zainab-ik , indeed Ersilia cannot run in windows, which is a limitation but we do not have the capacity currently to implement compatibility, we rather redirect people to WSL or Google Colab. I will close the issue since this is solved