moloch-- / denim

Automated compiler obfuscation for nim
GNU General Public License v3.0
135 stars 22 forks source link

Failed to extract mingw-x64 exit status 2 #6

Open johnjohnsp1 opened 2 years ago

johnjohnsp1 commented 2 years ago

Hi, i'm following the procedure to install denim but once issued denim setup i get this error:

C:\temp\denim>denim setup [] Downloading 7-zip ... 375.83 KiB / 375.83 KiB [----------------------------------------------------------------------------] 100.00% ? p/s 0s [] Extracting 7z ... [] Downloading mingw-x64 ... 47.08 MiB / 47.08 MiB [------------------------------------------------------------------] 100.00% 533.66 KiB p/s 1m31s [] Extracting mingw-x64 ... [!] Failed to extract mingw-x64 exit status 2

C:\temp\denim>7z

7-Zip 21.05 (x64) : Copyright (c) 1999-2021 Igor Pavlov : 2021-11-20

Usage: 7z [...] [...] [@listfile]

a : Add files to archive b : Benchmark d : Delete files from archive e : Extract files from archive (without using directory names) h : Calculate hash values for files i : Show information about supported formats l : List contents of archive i'm doing something wrong or miss something ? 7z is working ... keep stopping at mingw-x64 step.. thanks
4s0ck3t commented 1 year ago

I also had this issue, it was to do with my VPN and mingw download not finishing correctly

moloch-- commented 1 year ago

Yea i think the timeout is set incorrectly on the download, if it doesnt finish in 10m it fails.

shaolinsec commented 1 year ago

wondering if this had been fixed in a commit. Thank you!

moloch-- commented 1 year ago

Nope sorry not had anytime to work on this project in a while, happy to accepts PRs though!

shaolinsec commented 1 year ago

Found the issue, if someone already has .denim in User Folder, with mingw-x64 folder, this throws an error. @moloch--

nzyuko commented 1 year ago

Anyone found a fix? I have tried removing the .denim in user folder still doesnt fix the issue. I am not using VPN. It fails after 5 seconds

hastalamuerte commented 8 months ago

.denim in User Folder > delete and now all perfect , thanks for advice @stevesec