Error cloning repository: Command '['hg', 'clone'

Hi All
I got this error in my local Galaxy 20.05:

galaxy.tool_shed.util.hg_util ERROR 2020-08-06 08:26:24,130 [p:4820,w:1,m:0] [uWSGIWorker1Core0] Error cloning repository: Command ‘[‘hg’, ‘clone’, ‘-r’, ‘21’, ‘https://toolshed.g2.bx.psu.edu/repos/devteam/fastqc’, ‘/Users/mushal/software/galaxy/database/shed_tools/toolshed.g2.bx.psu.edu/repos/devteam/fastqc/e7b2202befea/fastqc’]’ returned non-zero exit status 1.

Any help is appreciated. Thank you!

That looks like most likely a transient error, did you try it again? If not, can you verify that your Galaxy server is able to connect to the toolshed from the command line e.g. with curl https://toolshed.g2.bx.psu.edu/?

Thank you @nate,
Yes my server is able to connect to the toolsheds:

(galaxy) Mushals-MacBook-Pro:Desktop mushal$ curl https://toolshed.g2.bx.psu.edu/

@Mushal_Allam you’re still receiving the error after retrying?

Hi @nate, thank you for support.
I solved it by upgrade mercurial (hg) to v5.5 in .venv
sound like hg <v5.5 does not supports or works with python3.
Thanks again