clean working directory on ENGINE_NOT_AVAILABLE, DETECT_DEVICE_ERROR
This commit is contained in:
@@ -793,6 +793,7 @@ 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;
|
||||
}
|
||||
}
|
||||
@@ -802,6 +803,7 @@ 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")) {
|
||||
@@ -935,6 +937,7 @@ 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")) {
|
||||
@@ -982,9 +985,11 @@ 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")) {
|
||||
@@ -1030,6 +1035,7 @@ 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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user