kopia lustrzana https://github.com/vilemduha/blendercam
output crash log on install crash
rodzic
0db514277f
commit
7ae6a23963
|
@ -19,11 +19,11 @@ with tempfile.TemporaryDirectory() as td:
|
||||||
# blender 4.0 installing addon crashes sometimes on mac github actions...
|
# blender 4.0 installing addon crashes sometimes on mac github actions...
|
||||||
for x in range(NUM_RETRIES):
|
for x in range(NUM_RETRIES):
|
||||||
try:
|
try:
|
||||||
subprocess.run(command, shell=True, check=True,capture_output=True)
|
subprocess.run(command, shell=True, check=True,stdout=subprocess.PIPE,stderr=subprocess.STDOUT,text=True)
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
except subprocess.CalledProcessError as e:
|
except subprocess.CalledProcessError as e:
|
||||||
print("Install addon failed, retrying:",e)
|
print("Install addon failed, retrying:",e)
|
||||||
for line in e.stderr:
|
for line in str(e.output):
|
||||||
if line.startswith("Writing: "):
|
if line.startswith("Writing: "):
|
||||||
crash_file=pathlib.Path(line[len("Writing: "):])
|
crash_file=pathlib.Path(line[len("Writing: "):])
|
||||||
if crash_file.exists():
|
if crash_file.exists():
|
||||||
|
|
Ładowanie…
Reference in New Issue