git unable to create file
Dear Appveyor team,
Since some time I get cryptic error:
https://ci.appveyor.com/project/grzanka/pytrip/build/1.0.862/job/1jad02rgwrn67x33
set PATH=%PYTHON_ROOT%;%PYTHON_ROOT%\Scripts;%PATH%
set PATH=%MINICONDAPATH%\Scripts;%PATH%
git config --system http.sslcainfo "C:\Program Files\Git\mingw64\ssl\certs\ca-bundle.crt"
python -V
Python 3.5.3
python -c "import struct;print(8 * struct.calcsize('P'))"
64
git clone -q --branch=feature/327-appveyor-test https://github.com/pytrip/pytrip.git C:\projects\pytrip
error: unable to create file pytrip/models/aux.py: No such file or directory
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'
Command exited with code 128
I was trying to figure out what is going on by connecting via RDP to VM, but the connection fails.
What could be the reason of this problem ? Lack of disk space ?
Best regards,
Leszek
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on Mar 22, 2017 @ 11:27 PM
Hi Leszek,
It's regression in Git 2.12.0: https://github.com/appveyor/ci/issues/1428
We are going to deploy Git 2.12.1 fixing that issue in the coming days, but for temp workaround please add this to your
appveyor.yml
:2 Posted by Leszek on Mar 23, 2017 @ 08:15 AM
Hi Feodor,
After applying your fix the problem still exists, see
https://ci.appveyor.com/project/grzanka/pytrip/build/1.0.867/job/odqr6ik2cywjj7ag
Build started
iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/install-git-2.12.1.ps1'))
Installing Git 2.12.1...OK
set PATH=%PYTHON_ROOT%;%PYTHON_ROOT%\Scripts;%PATH%
set PATH=%MINICONDAPATH%\Scripts;%PATH%
git config --system http.sslcainfo "C:\Program Files\Git\mingw64\ssl\certs\ca-bundle.crt"
python -V
Python 2.7.13
python -c "import struct;print(8 * struct.calcsize('P'))"
32
git clone -q https://github.com/pytrip/pytrip.git C:\projects\pytrip
error: unable to create file pytrip/models/aux.py: No such file or directory
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'
Command exited with code 128
Support Staff 3 Posted by Feodor Fitsner on Mar 23, 2017 @ 04:49 PM
Looks like your issue is unrelated to Git 2.12.0 regression. I've tried cloning your repo on "previous" build worker image with Git 2.11.0 and if also failed.
Additionally, it fails to clone on my local machine with Git 2.7.1 - see attached screenshot.
Ilya Finkelshteyn closed this discussion on Aug 25, 2018 @ 02:16 AM.