Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hi, I Am Getting Following Error While Trying To Checkout A Gut Hub Rep. Error: Rpc Failed; Curl 56 Gnutls Recv Error (-54): Error In The Pull Function. Fatal: The Remote End Hung Up Unexpectedly Fatal: Early Eof Fatal: Index-Pack Failed Repository Cloni

Hi, I am getting following error while trying to checkout a gut hub rep.

error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Repository cloning failed: Command '['clone', ' https://github.com/Tessellate-Imaging/Monk_Object_Detection ', '/home/sathya/.trains/vcs-cache/Monk_Object_Detection.9acd17b1c7913311d02587a00832c06a/Monk_Object_Detection', '--quiet', '--recursive']' returned non-zero exit status 128.
trains_agent: ERROR: Failed cloning repository.

  
  
Posted 4 years ago
Votes Newest

Answers 23


thanks a lot.

  
  
Posted 4 years ago

Could you right click on the failed experiment , select reset and send it again for execution?
Could that error be a random network issue ?
(Basically this seems like a generic network error not actually related to the trains-agent)
Is the trains-agent running in docker mode or venv mode?

  
  
Posted 4 years ago

I will try again Understood Understood Thats what I had done already.

  
  
Posted 4 years ago

and trains server is on vernv mode

  
  
Posted 4 years ago

yes

  
  
Posted 4 years ago

I am getting it on WebUI when running the experiment.

  
  
Posted 4 years ago

So, at the high level, I have this code base on GIT and I am able to run them without trains interface. i.e. locally, What I want to do is use trains interface for experiments on the repo.
Please see the link to code I am trying to execute.

  
  
Posted 4 years ago

BTW: cool repository 🙂

  
  
Posted 4 years ago

Yeah. Simple git clone on that repo works well.

  
  
Posted 4 years ago

Oh.. Ok ok.

  
  
Posted 4 years ago

Okay this is indeed reported in the UI, but the trains-agent is running the experiment, and seems to be failing to clone the repository in question.
Seems like a "https" error, git is actually failing to clone the repository error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
Can you manually run the clone command on that machine ? I would guess there is some kind of firewall sitting in the middle of the https connection, and that is causing the git to fail.

  
  
Posted 4 years ago

Okay, so you want to take the jupyter notebook (aka colab) and have that experiment show on Trains, then use the Trains UI to launch it remotely on one of the machines running the trains-agent. Is that correct?

  
  
Posted 4 years ago

BTW: the cloning error is actually the wrong branch, if you take a look at your initial screenshot, you can see the line before last branch='default' which I assume should be branch='master' (The error itself is still weird, but I assume that this is what git is returning)

  
  
Posted 4 years ago

Yep

  
  
Posted 4 years ago

Okay
Try to reset the experiment and resend for execution, let me know if you still get the error, if you do, could you send a screen grap of the Execution tab? Trains supports either git repo, or standalone code (jupyter) but not a mixture of the two. This means that if you want to run the jupyter/colab the cloning will have to be part of the notebook itself (as you already have it). That said, due to the way CoLab works, Trains will log your execution history (as opposed to the entire jupyter notebook), this means that if you want your entire colab to be logged, you have to run the entire thing once Not to worry, you can also run a single cell then clone the experiment/edit the "uncommitted changes" and just copy paste the python code there. From here you should be able to send for execution using the trains-agentMake sense ?

  
  
Posted 4 years ago

image
image

  
  
Posted 4 years ago

What I have a doubt is github setting. Is the branch setting ok? there are no other branches on the repo

  
  
Posted 4 years ago

Tried running agin. Same issue.

  
  
Posted 4 years ago

Hi LonelyMoth90 , where exactly are you getting the error ? Is it trains-agent running your experiment ?

  
  
Posted 4 years ago

image

  
  
Posted 4 years ago

Hmm, you are missing the entry point in the execution (script path).
Also as I mentioned you can either have a git repo or script in the uncommitted changes, but not both (if you have a git repo then the uncommitted changes are the git diff)

  
  
Posted 4 years ago

Simple git clone on that repo works well

On the machine running the trains-agent ?

  
  
Posted 4 years ago
1K Views
23 Answers
4 years ago
8 months ago
Tags