# Problem with launch created from git

**URL:** <https://community.wandb.ai/t/problem-with-launch-created-from-git/5822>\
**Category:** W&B Help\
**Tags:** wandb\
**Created:** [February 1, 2024, 4:12pm UTC](https://community.wandb.ai/t/problem-with-launch-created-from-git/5822 "2024-02-01T16:12:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![andruum](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@andruum](https://community.wandb.ai/u/andruum)\
**Post date:** [February 1, 2024, 4:12pm UTC](https://community.wandb.ai/t/problem-with-launch-created-from-git/5822/1 "2024-02-01T16:12:05Z")

</div>

Hi,

I think I experienced some bug :

I created a launch from git, with command like

```auto
wandb job create --project "<project-name>" --entity "<your-entity>" \ 
--name "<name-for-job>" git https://github.com/org-name/repo-name.git \ 
--entry-point "<path-to-script/code.py>"

```

Then couple of runs worked fine, agent received and processed. Then I commited some changes to the git repo and then I got this error:

```auto
           ^^^^^^^^^^^^^^^^^^^
  File "/home/andruum/.local/lib/python3.11/site-packages/git/db.py", line 44, in info
    hexsha, typename, size = self._git.get_object_header(bin_to_hex(binsha))
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/andruum/.local/lib/python3.11/site-packages/git/cmd.py", line 1461, in get_object_header
    return self.__get_object_header(cmd, ref)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/andruum/.local/lib/python3.11/site-packages/git/cmd.py", line 1447, in __get_object_header
    return self._parse_object_header(cmd.stdout.readline())
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/andruum/.local/lib/python3.11/site-packages/git/cmd.py", line 1408, in _parse_object_header
    raise ValueError("SHA %s could not be resolved, git returned: %r" % (tokens[0], header_line.strip()))
ValueError: SHA b'4269b5fefe22789cde69a2be295429f71536d3af' could not be resolved, git returned: b'4269b5fefe22789cde69a2be295429f71536d3af missing'

```

So, it seems like if commit for which launch was created is not the last one in the remote repo, then the agent is failing to launch it for some reason.

---

<div class="post-metadata">

**Author:** ![artsiom](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/artsiom/32/1001_2.png) [@artsiom](https://community.wandb.ai/u/artsiom)\
**Post date:** [February 6, 2024, 3:09pm UTC](https://community.wandb.ai/t/problem-with-launch-created-from-git/5822/2 "2024-02-06T15:09:46Z")

</div>

Hey @andruum, thank you for reporting this! looking into it

---

<div class="post-metadata">

**Author:** ![artsiom](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/artsiom/32/1001_2.png) [@artsiom](https://community.wandb.ai/u/artsiom)\
**Post date:** [February 13, 2024, 3:14pm UTC](https://community.wandb.ai/t/problem-with-launch-created-from-git/5822/3 "2024-02-13T15:14:44Z")

</div>

Hi @andruum! Apologies for the delay! Still looking into this concern

---

<div class="post-metadata">

**Author:** ![artsiom](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/artsiom/32/1001_2.png) [@artsiom](https://community.wandb.ai/u/artsiom)\
**Post date:** [February 16, 2024, 5:11pm UTC](https://community.wandb.ai/t/problem-with-launch-created-from-git/5822/4 "2024-02-16T17:11:46Z")

</div>

Hi @andruum! Could you please send us a link to the launch job you are using in wandb?

---

<div class="post-metadata">

**Author:** ![artsiom](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/artsiom/32/1001_2.png) [@artsiom](https://community.wandb.ai/u/artsiom)\
**Post date:** [February 20, 2024, 9:45pm UTC](https://community.wandb.ai/t/problem-with-launch-created-from-git/5822/5 "2024-02-20T21:45:36Z")

</div>

Hi! Wanted to follow up with you regarding this thread

---

<div class="post-metadata">

**Author:** ![artsiom](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/artsiom/32/1001_2.png) [@artsiom](https://community.wandb.ai/u/artsiom)\
**Post date:** [February 23, 2024, 9:17pm UTC](https://community.wandb.ai/t/problem-with-launch-created-from-git/5822/6 "2024-02-23T21:17:03Z")

</div>

Hi, since we have not heard back from you, we are going to close this request. If you would like to reopen the conversation, please let us know! Unfortunately, at the moment, we do not receive notifications if a thread reopens on Discourse. So, please feel free to create a new ticket regarding your concern if you’d like to continue the conversation.
