Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kill openpilot before starting setup #52

Open
alexsielicki opened this issue Jun 3, 2021 · 3 comments
Open

Kill openpilot before starting setup #52

alexsielicki opened this issue Jun 3, 2021 · 3 comments

Comments

@alexsielicki
Copy link

Just installed emu and during initial clone of openpilot I get an error. See below for copy of terminal.

`
root@localhost:/data$ emu fork list
To set up emu fork management we will clone commaai/openpilot into /data/openpilot
Confirm you would like to continue
[Y/n]: Y

Cloning commaai/openpilot into /data/openpilot, please wait...
Cloning into '/data/openpilot'...
remote: Enumerating objects: 45323, done.
remote: Counting objects: 100% (346/346), done.
remote: Compressing objects: 100% (152/152), done.
remote: Total 45323 (delta 225), reused 275 (delta 190), pack-reused 44977
Receiving objects: 100% (45323/45323), 1.43 GiB | 2.47 MiB/s, done.
Resolving deltas: 100% (25529/25529), done.
error: Untracked working tree file '.overlay_init' would be overwritten by merge.
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'

❌ Error while cloning, please try again`

@alexsielicki
Copy link
Author

FYI, I got around this by deleting /data/openpilot/.overlay_init while emu was cloning

@sshane
Copy link
Member

sshane commented Jun 5, 2021

Meant to reply, but I think you need to kill openpilot before starting the setup; updated wrote a file to the same directory git was cloning into. Might want to do this automatically in the future, but see if killing openpilot first works

@sshane sshane changed the title Error during initial clone Kill openpilot before starting setup Jun 5, 2021
@alexsielicki
Copy link
Author

Thanks, I'll try that next time I'm using emu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants