Add a script to collect system information when Blender isn't opening
This commit adds a python script that can collect some of the information necessary to fill out a bug report. The primary use case is to help users collect system information for a bug report in the case that Blender can't open. CMD and sh files are included to help users use the Python script. Ref !122191
This commit is contained in:
16
release/windows/batch/blender_system_info.cmd.in
Normal file
16
release/windows/batch/blender_system_info.cmd.in
Normal file
@@ -0,0 +1,16 @@
|
||||
@echo off
|
||||
|
||||
set BLENDER_INSTALL_DIRECTORY=%~dp0
|
||||
set BLENDER_VERSION_FOLDER=%BLENDER_INSTALL_DIRECTORY%@BLENDER_VERSION@
|
||||
set PYTHON_BIN=%BLENDER_VERSION_FOLDER%\python\bin\@PYTHON_EXECUTABLE_NAME_ONLY@
|
||||
|
||||
if exist "%PYTHON_BIN%" (
|
||||
"%PYTHON_BIN%" -I "%BLENDER_VERSION_FOLDER%\scripts\modules\_bpy_internal\system_info\startup.py"
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ERROR: Failed to find python executable at: %PYTHON_BIN%
|
||||
echo Possible causes include:
|
||||
echo - Your Blender installation is corrupt or missing @PYTHON_EXECUTABLE_NAME_ONLY@.
|
||||
echo - The location or name of @PYTHON_EXECUTABLE_NAME_ONLY@ has changed.
|
||||
pause
|
||||
Reference in New Issue
Block a user