Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installment error #71

Open
Artus13 opened this issue Oct 24, 2023 · 7 comments
Open

Installment error #71

Artus13 opened this issue Oct 24, 2023 · 7 comments

Comments

@Artus13
Copy link

Artus13 commented Oct 24, 2023

Could you please help me, I've tried multiple times to install bet I always get errors.
Here is what it says;

Setup did not complete because an error occurred.
Win32 command failed! Exited with 1. Command was: C:\WINDOWS\system32\cmd.exe /c call "C:\Users\Artus\AppData\Local\Temp\PAE222~1\0\inotify-win\compile.bat".

at Invoke-Win32CommandWithProgress, C:\Users\Artus\AppData\Local\Temp\7zD1A2B4D8\sg\network-ocamlcompiler\windows_x86_64\setup-userprofile.ps1: line 771
at , C:\Users\Artus\AppData\Local\Temp\7zD1A2B4D8\sg\network-ocamlcompiler\windows_x86_64\setup-userprofile.ps1: line 914
at , : line 1
at , : line 1

Bug Reports can be filed at https://github.com/diskuv/dkml-installer-ocaml/issues
Please copy the error message and attach the log file available at
C:\Users\Artus\AppData\Local\Programs\DISKUV~1\setup-userprofile.full.log

FATAL [a0d16230]. A transient failure occurred.

Root cause: The conformant command had exit code 1:
C:\Users\Artus\AppData\Local\Temp\7zD1A2B4D8\sg\network-ocamlcompiler\windows_x86_64\setup-userprofile.bat
-AllowRunAsAdmin
-InstallationPrefix
C:\Users\Artus\AppData\Local\Programs\DISKUV1
-MSYS2Dir
C:\Users\Artus\AppData\Local\Programs\DISKUV
1\tools\MSYS2
-OpamExe
C:\Users\Artus\AppData\Local\Programs\DISKUV1\bin\OPAM-R1.EXE
-DkmlPath
C:\Users\Artus\AppData\Local\Temp\7ZD1A21\sg\NETWOR1\WINDOW1\dkmldir
-GlobalCompileDir
C:\Users\Artus\AppData\Local\Temp\7ZD1A2
1\sg\STAGIN1\generic
-NoDeploymentSlot -DkmlHostAbi
windows_x86_64 -TempParentPath
C:\Users\Artus\AppData\Local\Temp\PAE222
1
-SkipProgress -SkipMSYS2Update

A transient failure occurred. <<<

dkml-package.bc: [ERROR] FATAL [5f927a8b].
A transient failure occurred.

                     Root cause: The command had exit code 20:
                                   C:\Users\Artus\AppData\Local\Temp\7zD1A2B4D8\bin\dkml-install-user-runner.exe
                                     install-user-network-ocamlcompiler --verbosity=info
                                     --color=always --prefix
                                     C:\Users\Artus\AppData\Local\Programs\DiskuvOCaml
                                     --staging-files
                                     C:\Users\Artus\AppData\Local\Temp\7zD1A2B4D8\sg

                     >>> A transient failure occurred. <<<
@Artus13
Copy link
Author

Artus13 commented Oct 24, 2023

setup-userprofile.full.log

sorry I forgot the log file
thanks in advance

@jonahbeckford
Copy link
Contributor

Can you use the 2.0.3 installer at https://gitlab.com/dkml/distributions/dkml/-/releases?

Pick the Windows 64-bit Native Installer.

@Artus13
Copy link
Author

Artus13 commented Oct 25, 2023

I did but i still get this error

FATAL [c2de0025]. [copy_dir] Failed to copy the directory
from C:\Users\Artus\AppData\Local\Temp\7z63419738\sg\staging-desktop-full\windows_x86_64\compile
to C:\Users\Artus\AppData\Local\Programs\DkMLNative\desktop\bc
(C:\Users\Artus\AppData\Local\Temp\7z63419738\sg\staging-desktop-full\windows_x86_64\compile\lib\ocaml\compiler-libs\linear.cmt: Permission denied)

dkml-package.bc: [ERROR] FATAL [5f927a8b].
A transient failure occurred.

                     Root cause: The command had exit code 20:
                                   C:\Users\Artus\AppData\Local\Temp\7z63419738\bin\dkml-install-user-runner.exe
                                     install-user-offline-desktop-full --verbosity=info
                                     --color=always --prefix
                                     C:\Users\Artus\AppData\Local\Programs\DkMLNative
                                     --staging-files
                                     C:\Users\Artus\AppData\Local\Temp\7z63419738\sg

                     >>> A transient failure occurred. <<<

@jonahbeckford
Copy link
Contributor

Okay, it looks like your file permissions are messed up. Sorry that is happening.

  1. Deactivate your virus and malware checker temporarily.
  2. Use the File Explorer and delete both C:\Users\Artus\AppData\Local\Programs\DkMLNative and C:\Users\Artus\AppData\Local\Programs\DiskuvOCaml
  3. Re-run the 2.0.3 installer and make sure to run it with your regular user (not Administrator).
  4. Re-activate your virus and malware checker.

@Artus13
Copy link
Author

Artus13 commented Oct 25, 2023

Thank you for your response, I followed all your steps but this time i got :

Setup did not complete because an error occurred.
MSYS2 command failed! Exited with 107. Command was: C:\Users\Artus\AppData\Local\Programs\DKMLNA1\tools\MSYS2\usr\bin\env.exe MSYSTEM=CLANG64 MSYSTEM_PREFIX=/clang64 MSYSTEM_CARCH=x86_64 MSYSTEM_CHOST=x86_64-w64-mingw32 MINGW_CHOST=x86_64-w64-mingw32 MINGW_PACKAGE_PREFIX=mingw-w64-clang-x86_64 MINGW_PREFIX=/clang64 HOME=/home/Artus PATH=/clang64/bin:/usr/bin:/bin C:\Users\Artus\AppData\Local\Programs\DKMLNA1\tools\MSYS2\usr\bin\env.exe PATH=/c/Program Files/Git/cmd:/clang64/bin:/usr/bin:/bin DKML_TMP_PARENTDIR=/c/Users/Artus/AppData/Local/Temp/PA109C1/0 env DiskuvOCamlVarsVersion=2 DiskuvOCamlDeploymentId='v-2.0.3;ocaml-4.14.0;opam-2.2.0alpha020221228;msys2-F45581C12EA79770' DiskuvOCamlVersion='2.0.3' DiskuvOCamlMode='native' DiskuvOCamlHome='/c/Users/Artus/AppData/Local/Programs/DKMLNA1' DiskuvOCamlBinaryPaths='/c/Users/Artus/AppData/Local/Programs/DKMLNA1/usr/bin;/c/Users/Artus/AppData/Local/Programs/DKMLNA1/bin' DiskuvOCamlMSYS2Dir='/' WITHDKML_ENABLE=OFF OCAMLLIB= TOPDIR=/c/Users/Artus/AppData/Local/Temp/7ZAF351/sg/OCAMLC1/WINDOW1/dkmldir/vendor/drc/all/emptytop C:\Users\Artus\AppData\Local\Programs\DKMLNA1\tools\MSYS2\usr\bin\sh.exe /c/Users/Artus/AppData/Local/Temp/7zAF35E730/sg/ocamlcompiler-common/windows_x86_64/install-ocaml.sh /c/Users/Artus/AppData/Local/Temp/7ZAF351/sg/OCAMLC1/WINDOW1/dkmldir 15553b77175270d987058b386d737ccb939e8d5a windows_x86_64 /c/Users/Artus/AppData/Local/Programs/DKMLNA1 --disable-imprecise-c99-float-ops

at Invoke-MSYS2Command, C:\Users\Artus\AppData\Local\Temp\7zAF35E730\sg\ocamlcompiler-common\windows_x86_64\dkmldir\vendor\drd\src\windows\UnixInvokers\UnixInvokers.psm1: line 180
at Invoke-GenericCommandWithProgress, C:\Users\Artus\AppData\Local\Temp\7zAF35E730\sg\ocamlcompiler-common\windows_x86_64\setup-userprofile.ps1: line 841
at , C:\Users\Artus\AppData\Local\Temp\7zAF35E730\sg\ocamlcompiler-common\windows_x86_64\setup-userprofile.ps1: line 1156
at , : line 1
at , : line 1

[Advanced] MSYS2 commands can be run with: C:\Users\Artus\AppData\Local\Programs\DKMLNA~1\tools\MSYS2\msys2_shell.cmd

Bug Reports can be filed at https://github.com/diskuv/dkml-installer-ocaml/issues
Please copy the error message and attach the log file available at
C:\Users\Artus\AppData\Local\Programs\DKMLNA~1\setup-userprofile.full.log

FATAL [a0d16230]. A transient failure occurred.

Root cause: The conformant command had exit code 1:
C:\Users\Artus\AppData\Local\Temp\7zAF35E730\sg\ocamlcompiler-common\windows_x86_64\setup-userprofile.bat
-AllowRunAsAdmin
-InstallationPrefix
C:\Users\Artus\AppData\Local\Programs\DKMLNA1
-OCamlLangVersion 4.14.0
-DkmlPath
C:\Users\Artus\AppData\Local\Temp\7ZAF35
1\sg\OCAMLC1\WINDOW1\dkmldir
-NoDeploymentSlot -DkmlHostAbi
windows_x86_64 -TempParentPath
C:\Users\Artus\AppData\Local\Temp\PA109C1
-SkipProgress -SkipMSYS2Update
-OpamExe
C:\Users\Artus\AppData\Local\Programs\DKMLNA
1\bin\OPAM-R1.EXE
-MSYS2Dir
C:\Users\Artus\AppData\Local\Programs\DKMLNA
1\tools\MSYS2

A transient failure occurred. <<<

dkml-package.bc: [ERROR] FATAL [5f927a8b].
A transient failure occurred.

                     Root cause: The command had exit code 20:
                                   C:\Users\Artus\AppData\Local\Temp\7zAF35E730\bin\dkml-install-user-runner.exe
                                     install-user-ocamlcompiler-network --verbosity=info
                                     --color=always --prefix
                                     C:\Users\Artus\AppData\Local\Programs\DkMLNative
                                     --staging-files
                                     C:\Users\Artus\AppData\Local\Temp\7zAF35E730\sg

                     >>> A transient failure occurred. <<<

@jonahbeckford
Copy link
Contributor

Sorry for the delay. Can you give me your latest log file? The new 2.0.3 version should be at C:\Users\Artus\AppData\Local\Programs\DkMLNative\setup-userprofile.full.log. At the moment I can see from your copy/paste what actually caused your latest failure.

@BaBePa
Copy link

BaBePa commented Nov 3, 2023

I have exactly the same issue:

Here is my screen after following the steps to use 2.0.3 installer and deactivating my anti virus software:

Setup did not complete because an error occurred.
MSYS2 command failed! Exited with 107. Command was: C:\Users\stefa\AppData\Local\Programs\DKMLNA1\tools\MSYS2\usr\bin\env.exe MSYSTEM=CLANG64 MSYSTEM_PREFIX=/clang64 MSYSTEM_CARCH=x86_64 MSYSTEM_CHOST=x86_64-w64-mingw32 MINGW_CHOST=x86_64-w64-mingw32 MINGW_PACKAGE_PREFIX=mingw-w64-clang-x86_64 MINGW_PREFIX=/clang64 HOME=/home/stefa PATH=/clang64/bin:/usr/bin:/bin C:\Users\stefa\AppData\Local\Programs\DKMLNA1\tools\MSYS2\usr\bin\env.exe PATH=/c/Program Files/Git/cmd:/clang64/bin:/usr/bin:/bin DKML_TMP_PARENTDIR=/c/Users/stefa/AppData/Local/Temp/PAAA9C1/0 env DiskuvOCamlVarsVersion=2 DiskuvOCamlDeploymentId='v-2.0.3;ocaml-4.14.0;opam-2.2.0alpha020221228;msys2-F45581C12EA79770' DiskuvOCamlVersion='2.0.3' DiskuvOCamlMode='native' DiskuvOCamlHome='/c/Users/stefa/AppData/Local/Programs/DKMLNA1' DiskuvOCamlBinaryPaths='/c/Users/stefa/AppData/Local/Programs/DKMLNA1/usr/bin;/c/Users/stefa/AppData/Local/Programs/DKMLNA1/bin' DiskuvOCamlMSYS2Dir='/' WITHDKML_ENABLE=OFF OCAMLLIB= TOPDIR=/c/Users/stefa/AppData/Local/Temp/7Z17A81/sg/OCAMLC1/WINDOW1/dkmldir/vendor/drc/all/emptytop C:\Users\stefa\AppData\Local\Programs\DKMLNA1\tools\MSYS2\usr\bin\sh.exe /c/Users/stefa/AppData/Local/Temp/7z17A83114/sg/ocamlcompiler-common/windows_x86_64/install-ocaml.sh /c/Users/stefa/AppData/Local/Temp/7Z17A81/sg/OCAMLC1/WINDOW1/dkmldir 15553b77175270d987058b386d737ccb939e8d5a windows_x86_64 /c/Users/stefa/AppData/Local/Programs/DKMLNA1 --disable-imprecise-c99-float-ops

bei Invoke-MSYS2Command, C:\Users\stefa\AppData\Local\Temp\7z17A83114\sg\ocamlcompiler-common\windows_x86_64\dkmldir\vendor\drd\src\windows\UnixInvokers\UnixInvokers.psm1: Zeile 180
bei Invoke-GenericCommandWithProgress, C:\Users\stefa\AppData\Local\Temp\7z17A83114\sg\ocamlcompiler-common\windows_x86_64\setup-userprofile.ps1: Zeile 841
bei , C:\Users\stefa\AppData\Local\Temp\7z17A83114\sg\ocamlcompiler-common\windows_x86_64\setup-userprofile.ps1: Zeile 1156
bei , : Zeile 1
bei , : Zeile 1

[Advanced] MSYS2 commands can be run with: C:\Users\stefa\AppData\Local\Programs\DKMLNA~1\tools\MSYS2\msys2_shell.cmd

Bug Reports can be filed at https://github.com/diskuv/dkml-installer-ocaml/issues
Please copy the error message and attach the log file available at
C:\Users\stefa\AppData\Local\Programs\DKMLNA~1\setup-userprofile.full.log

FATAL [a0d16230]. A transient failure occurred.

Root cause: The conformant command had exit code 1:
C:\Users\stefa\AppData\Local\Temp\7z17A83114\sg\ocamlcompiler-common\windows_x86_64\setup-userprofile.bat
-AllowRunAsAdmin
-InstallationPrefix
C:\Users\stefa\AppData\Local\Programs\DKMLNA1
-OCamlLangVersion 4.14.0
-DkmlPath
C:\Users\stefa\AppData\Local\Temp\7Z17A8
1\sg\OCAMLC1\WINDOW1\dkmldir
-NoDeploymentSlot -DkmlHostAbi
windows_x86_64 -TempParentPath
C:\Users\stefa\AppData\Local\Temp\PAAA9C1
-SkipProgress -SkipMSYS2Update
-OpamExe
C:\Users\stefa\AppData\Local\Programs\DKMLNA
1\bin\OPAM-R1.EXE
-MSYS2Dir
C:\Users\stefa\AppData\Local\Programs\DKMLNA
1\tools\MSYS2

A transient failure occurred. <<<

And here is the log file from C:\Users\stefa\AppData\Local\Programs\DkMLNative:

setup-userprofile.full.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants