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

I wanted clonning repository, but recieved the error #39

Open
imranskiy11 opened this issue Sep 14, 2022 · 2 comments
Open

I wanted clonning repository, but recieved the error #39

imranskiy11 opened this issue Sep 14, 2022 · 2 comments

Comments

@imranskiy11
Copy link

error: invalid path 'experiments/results/correlation_dotprods/_LabelMe/all_results?.csv'

@maxkapur
Copy link

I have the same issue on Windows 10. This error happens immediately after running git clone and doesn't involve the setup.py script.

(Swig is installed and on the path. Numpy is also installed via pip.)

> git clone https://github.com/dblalock/bolt.git 
Cloning into 'bolt'...
remote: Enumerating objects: 7681, done.                                                                     
remote: Counting objects: 100% (33/33), done.                                                        
remote: Compressing objects: 100% (26/26), done.                                        
remote: Total 7681 (delta 8), reused 27 (delta 6), pack-reused 7648Receiving objects: 100% (7681/7681), 346.15 MiB | 1.14 MiB/s
Receiving objects: 100% (7681/7681), 346.48 MiB | 1.21 MiB/s, done.
Resolving deltas: 100% (2237/2237), done.
error: invalid path 'experiments/results/correlation_dotprods/_LabelMe/all_results?.csv'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

The cloned bolt directory is completely empty. Running git status in bolt/ reveals that somehow the repository has cannibalized itself: Every file is marked as deleted.

On branch master
Your branch is up to date with 'origin/master'.

Changes to be committed:
  (use "git restore --staged <file>..." to unstage)
	deleted:    .gitattributes
	deleted:    .gitignore
	deleted:    .gitmodules
	deleted:    BUILD.md
	deleted:    LICENSE.md
	deleted:    README.md
	deleted:    assets/blalock-maddness-poster.png
	deleted:    assets/bolt-slides.pdf
	deleted:    assets/bolt-theory.pdf
	deleted:    assets/bolt.jpg
	deleted:    assets/snn-maddness.pdf
	deleted:    build.sh
	deleted:    clean.sh
	deleted:    cpp/.gitignore
	deleted:    cpp/BUILD
	deleted:    cpp/CMakeLists.txt
	deleted:    cpp/WORKSPACE
	deleted:    cpp/quantize/catch.hpp
... (truncated due to Github comment character limit)

@clark-hive
Copy link

clark-hive commented Oct 13, 2022

'?' is a reserved character on windows systems; since this file has a question mark it's invalid. SO says there's no way around this except to use a different os. https://stackoverflow.com/questions/36827671/git-clone-displaying-errors-and-marking-files-as-deleted-in-windows-10

I'd clone this repo inside a unix based docker container and develop in that container.

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

3 participants