Update is giving a git error #3045
Replies: 8 comments 1 reply
-
Could you please upload |
Beta Was this translation helpful? Give feedback.
-
2023-07-27 08:26:17,213 INFO BLAS config is {} 2023-07-27 08:26:18,005 DEBUG Popping path '/home/emek/firedrake/src/firedrake' Update log saved in /home/emek/firedrake/firedrake-update.log |
Beta Was this translation helpful? Give feedback.
-
Thanks for the answer. I guess that the issue is the wrong path but I cannot find where it is set. It is not related where I run the command. After enabling venv, since firedrak-update is in bin, it is possible to call it in different directories. I tried also different ones but the error is the same. |
Beta Was this translation helpful? Give feedback.
-
Actually, you do not want to change |
Beta Was this translation helpful? Give feedback.
-
It was my first trial, but it ends up with Running /home/emek/firedrake/bin/firedrake-update --netgen Therefore, I wanted to add it to the json file. Now I deleted, but still the problem is not this one. It cannot pass the git pull because of wrong path. I am using Ubuntu 20.04 and the installation is fine, firedrake is running very nice in parallel for some time. |
Beta Was this translation helpful? Give feedback.
-
I see. That is a separate issue. Could you post the output of |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I do not know why all the components are claimed to be modified, and I think this is why
|
Beta Was this translation helpful? Give feedback.
-
Hi All
A simple firedrake-update on a working firedrake installation gives a git error.
Updating the git repository for firedrake
Traceback (most recent call last):
File "/home/emek/firedrake/bin/firedrake-update", line 1840, in
git_update("firedrake")
File "/home/emek/firedrake/bin/firedrake-update", line 891, in git_update
check_call(["git", "pull", "--recurse-submodules"])
File "/home/emek/firedrake/bin/firedrake-update", line 592, in check_call
log.debug(subprocess.check_output(arguments, stderr=subprocess.STDOUT, env=os.environ).decode())
File "/usr/lib/python3.8/subprocess.py", line 415, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['git', 'pull', '--recurse-submodules']' returned non-zero exit status 1.
I want to install netgen and opencascade. So I add to configuration.json "netgen": true but this error is not related to this issue. Is there a change in git repository or so that it cannot find?
I am running it from the upper level (virtual environment folder) after acivating venv. How to fix it?
Best, Emek
Beta Was this translation helpful? Give feedback.
All reactions