From 73c8c71be97e22e4a5c0f5249ff8ae85964c132c Mon Sep 17 00:00:00 2001 From: erew123 <35898566+erew123@users.noreply.github.com> Date: Mon, 11 Nov 2024 11:23:09 +0000 Subject: [PATCH] Clearer messages --- atsetup.bat | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/atsetup.bat b/atsetup.bat index 78c755f..84f3ed9 100644 --- a/atsetup.bat +++ b/atsetup.bat @@ -419,6 +419,8 @@ if errorlevel 1 ( echo 6. Antivirus or security software interference. echo 7. Other issues not mentioned above. echo. + echo Known errors are in the AllTalk Github Wiki > Error Messages Help/Support + echo. choice /C YN /M "Do you want to retry the Pytorch installation?" if errorlevel 2 goto End if errorlevel 1 goto install_pytorch @@ -447,6 +449,8 @@ if errorlevel 1 ( echo 7. Your Conda policy is set to Strict see the Github Wiki for help with this. echo 8. Other issues not mentioned above. echo. + echo Known errors are in the AllTalk Github Wiki > Error Messages Help/Support + echo. choice /C YN /M "Do you want to retry the Faiss installation?" if errorlevel 2 goto End if errorlevel 1 goto install_faiss @@ -475,6 +479,8 @@ if errorlevel 1 ( echo 7. Your Conda policy is set to Strict see the Github Wiki for help with this. echo 8. Other issues not mentioned above. echo. + echo Known errors are in the AllTalk Github Wiki > Error Messages Help/Support + echo. choice /C YN /M "Do you want to retry the FFmpeg installation?" if errorlevel 2 goto End if errorlevel 1 goto install_ffmpeg @@ -506,6 +512,8 @@ if errorlevel 1 ( echo 6. Antivirus or security software interference. echo 7. Other issues not mentioned above. echo. + echo Known errors are in the AllTalk Github Wiki > Error Messages Help/Support + echo. choice /C YN /M "Do you want to retry the Gradio update?" if errorlevel 2 goto End if errorlevel 1 goto update_gradio @@ -521,7 +529,9 @@ echo. if errorlevel 1 ( echo DeepSpeed download failed, errorlevel was %errorlevel%. There should be an error echo message above with a code and/or text explanation of the issue. Please note - echo the error code to help with diagnotics. + echo the error code to help with diagnotics. + echo. + echo Generally speaking though, errors could be caused by: echo. echo 1. Internet connection issues/unable to reach GitHub. echo 2. Disk space related issues - Check your disk space on this drive. @@ -531,6 +541,8 @@ if errorlevel 1 ( echo 6. The file may have been moved or deleted from the GitHub repository. echo 7. Other issues not mentioned above. echo. + echo Known errors are in the AllTalk Github Wiki > Error Messages Help/Support + echo. choice /C YN /M "Do you want to retry the DeepSpeed download?" if errorlevel 2 goto End if errorlevel 1 goto install_deepspeed @@ -545,7 +557,9 @@ echo. if errorlevel 1 ( echo DeepSpeed installation failed, errorlevel was %errorlevel%. There should be an error echo message above with a code and/or text explanation of the issue. Please note - echo the error code to help with diagnotics. + echo the error code to help with diagnotics. General issues may be: + echo. + echo Generally speaking though, errors could be caused by: echo. echo 1. The DeepSpeed wheel file was not downloaded successfully in the previous step. echo 2. Microsoft C++ development tools for Python are not installed correctly. @@ -555,6 +569,8 @@ if errorlevel 1 ( echo 6. Antivirus or security software interference. echo 7. Other issues not mentioned above. echo. + echo Known errors are in the AllTalk Github Wiki > Error Messages Help/Support + echo. echo Please ensure you have followed the instructions to install the Microsoft C++ development echo tools for Python, which is detailed on the AllTalk GitHub page. echo. @@ -827,6 +843,7 @@ exit /b :End echo Exiting AllTalk Setup Utility... Echo. -Echo Documentation is built into the Gradio interface. Please explore the documentation for -Echo tips, troubleshooing and explanations as most common questions are answered there. +Echo Documentation is built into the Gradio interface and the AllTalk Wiki page on Github. +Echo Please explore the documentation for tips, troubleshooing and explanations on the most +Echo common questions. exit /b