genotrance / nim7z

7z extraction for Nim
MIT License
8 stars 2 forks source link

Installation OS Error #3

Open ravivmg opened 3 years ago

ravivmg commented 3 years ago

When install nim7z with nim installed by homebrew, I get the following error message:

/usr/local/Cellar/nim/1.4.8/nim/lib/system/nimscript.nim(260, 7) exec
/usr/local/Cellar/nim/1.4.8/nim/lib/system/nimscript.nim(260, 7) Error: unhandled exception: FAILED: nimgen nim7z.cfg [OSError]
     Error: Exception raised during nimble script execution

Have you seen this error before?

TaxMachine commented 1 year ago

got the same error I even tried to run it through powershell admin and still doesn't work

C:\Users\taxis\Documents\nim-1.6.6\lib\system\nimscript.nim(273, 7) exec
C:\Users\taxis\Documents\nim-1.6.6\lib\system\nimscript.nim(273, 7) Error: unhandled exception: FAILED: cmd /c nimgen nim7z.cfg [OSError]
   Warning: Couldn't remove Nimble's temp dir
     Error: Exception raised during nimble script execution
lanbairua commented 1 year ago

Title: Error encountered while installing the nim7z library

Content: Hello, I encountered an error while trying to install the nim7z library using nimble. The error message is as follows:

Resetting nim7z Processing nim7z/C/7z.h Appending keys for wildcard 7*.h Bad replace syntax: $replace(7=svn) stack trace: (most recent call last) C:\Users\wx231\AppData\Local\Temp\nimblecache-0\nimscriptapi_2036048364.nim(199, 29) C:\Users\wx231\Downloads\Compressed\nim7z-master\nim7z.nimble(27, 12) installBefore C:\Users\wx231\Downloads\Compressed\nim7z-master\nim7z.nimble(24, 8) setupTask D:\Program Files (x86)\NIM\nim-1.6.4\lib\system\nimscript.nim(273, 7) exec D:\Program Files (x86)\NIM\nim-1.6.4\lib\system\nimscript.nim(273, 7) Error: unhandled exception: FAILED: cmd /c nimgen nim7z.cfg [OSError] Tip: 1 messages have been suppressed, use --verbose to show them. Error: Exception raised during nimble script execution Copy I checked the nim7z.cfg file and found a $replace(7=svn) statement in it. I am not sure if this statement is correct or how to fix it.

I hope to get your help to solve this problem. Thank you very much!