|
|
|
|
@@ -485,6 +485,7 @@ import java.util.regex.Pattern;
|
|
|
|
|
// Put back base icon
|
|
|
|
|
gui.updateTrayIcon(Job.SHOW_BASE_ICON);
|
|
|
|
|
process.kill();
|
|
|
|
|
maybeCleanWorkingDir(error);
|
|
|
|
|
for (String logline : configuration.filesystemHealthCheck()) {
|
|
|
|
|
log.debug(logline);
|
|
|
|
|
}
|
|
|
|
|
@@ -804,7 +805,6 @@ import java.util.regex.Pattern;
|
|
|
|
|
//30-11 01:16:57 (debug) Color management: scene view "AgX" not found, setting default "Standard".
|
|
|
|
|
//30-11 01:16:57 (debug) Color management: scene look "AgX - Medium High Contrast" not found, setting default "None".
|
|
|
|
|
//30-11 01:16:57 (debug) Color management: image colorspace "Linear Rec.709" not found, will use default instead.
|
|
|
|
|
configuration.cleanWorkingDirectory();
|
|
|
|
|
return Type.COLOR_MANAGEMENT_ERROR;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@@ -814,7 +814,6 @@ import java.util.regex.Pattern;
|
|
|
|
|
//28-11 12:43:40 (debug) Fra:340 Mem:11.68M (Peak 28.28M) | Time:00:01.69 | Compositing | De-initializing execution
|
|
|
|
|
//28-11 12:43:40 (debug) OpenColorIO Error: The specified file reference 'srgb_inv.spi1d' could not be located. The following attempts were made: 'E:\SheepIt\sheepit\6b752e00cd23e1789e00285310cb6845\3.6\datafiles\colormanagement\luts\srgb_inv.spi1d' : 'E:\SheepIt\sheepit\6b752e00cd23e1789e00285310cb6845\3.6\datafiles\colormanagement\filmic\srgb_inv.spi1d'.
|
|
|
|
|
//28-11 12:43:40 (debug) Saved: 'E:\SheepIt\sheepit\1_0340.png'
|
|
|
|
|
configuration.cleanWorkingDirectory();
|
|
|
|
|
return Type.COLOR_MANAGEMENT_ERROR;
|
|
|
|
|
}
|
|
|
|
|
else if (line.contains("CUDA error: Out of memory")) {
|
|
|
|
|
@@ -942,7 +941,6 @@ import java.util.regex.Pattern;
|
|
|
|
|
// Fatal Python error: Py_Initialize: unable to load the file system codec
|
|
|
|
|
// ImportError: No module named 'encodings'
|
|
|
|
|
// Current thread 0x0000388c (most recent call first):
|
|
|
|
|
configuration.cleanWorkingDirectory();
|
|
|
|
|
return Error.Type.RENDERER_CRASHED_PYTHON_ERROR;
|
|
|
|
|
}
|
|
|
|
|
else if (line.contains("Calloc returns null")) {
|
|
|
|
|
@@ -990,11 +988,9 @@ import java.util.regex.Pattern;
|
|
|
|
|
return Error.Type.GPU_NOT_SUPPORTED;
|
|
|
|
|
}
|
|
|
|
|
else if (line.contains("Engine 'CYCLES' not available for scene") || line.contains("Engine 'BLENDER_EEVEE' not available for scene") || line.contains("Engine 'BLENDER_WORKBENCH' not available for scene") || line.contains("Engine 'HYDRA_STORM' not available for scene")) {
|
|
|
|
|
configuration.cleanWorkingDirectory();
|
|
|
|
|
return Error.Type.ENGINE_NOT_AVAILABLE;
|
|
|
|
|
}
|
|
|
|
|
else if (line.contains("Warning: Cycles is not enabled!")) {
|
|
|
|
|
configuration.cleanWorkingDirectory();
|
|
|
|
|
return Error.Type.ENGINE_NOT_AVAILABLE;
|
|
|
|
|
}
|
|
|
|
|
else if (line.contains("OpenImageDenoise error: SSE4.1 support is required at minimum") || line.contains("OpenImageDenoiser is not supported on this CPU:") || line.contains("No device available to denoise on")) {
|
|
|
|
|
@@ -1040,13 +1036,22 @@ import java.util.regex.Pattern;
|
|
|
|
|
//Read prefs: /home/raimund/.config/blender/3.3/config/userpref.blend
|
|
|
|
|
///run/user/1000/gvfs/ non-existent directory
|
|
|
|
|
//DETECT_DEVICE_ERRORR: Couldn't find OPTIX device with id CUDA_NVIDIA GeForce GTX 1080_0000:01:00_OptiX
|
|
|
|
|
configuration.cleanWorkingDirectory();
|
|
|
|
|
return Error.Type.DETECT_DEVICE_ERROR;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return Type.OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void maybeCleanWorkingDir(Type error) {
|
|
|
|
|
boolean cleanup = Type.COLOR_MANAGEMENT_ERROR == error
|
|
|
|
|
|| Type.RENDERER_CRASHED_PYTHON_ERROR == error
|
|
|
|
|
|| Type.ENGINE_NOT_AVAILABLE == error
|
|
|
|
|
|| Type.DETECT_DEVICE_ERROR == error;
|
|
|
|
|
if (cleanup) {
|
|
|
|
|
configuration.cleanWorkingDirectory();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static class renderStartedObservable extends Observable {
|
|
|
|
|
|
|
|
|
|
@Getter private boolean isStarted;
|
|
|
|
|
|