nimcl
nimcl copied to clipboard
`nimble install nimcl` fails
Just tried installing arraymancer
which tried to install this package. Doesn't work with Nim @ #head.
# Windows
Downloading https://github.com/unicredit/nimcl using git
Error: unhandled exception: The process cannot access the file because it is being used by another process.
[OSError]
# Linux
Downloading https://github.com/unicredit/nimcl using git
Tip: 63 messages have been suppressed, use --verbose to show them.
Error: Could not read package info file in /tmp/nimble_25895/githubcom_unicreditnimcl_0.1.2/nimcl.nimble;
... Reading as ini file failed with:
... Invalid section: .
... Evaluating as NimScript file failed with:
... tmp/nimble_25895/githubcom_unicreditnimcl_0.1.2/nimcl.nimble(11, 37) Error: undeclared identifier: 'stmt'.
Having this issue as well. I'm on a 32-bit OS if that matters at all.
@davidgarland Can you post what issue you have? stmt
was removed long ago - in fact I forgot to just close this issue
Tried on my 64-bit linux desktop and got this:
Reading official package list
Downloading https://github.com/unicredit/nimcl using git
Cloning latest tagged version: 0.1.2
Setting Nim stdlib prefix to
Setting Nim stdlib path to /home/david/.choosenim/toolchains/nim-0.19.0/lib
Info Hint: used config file '/home/david/.choosenim/toolchains/nim-0.19.0/config/nim.cfg' [Conf]
Error: nimble.nim(1106) nimble
... nimble.nim(1044) doAction
... nimble.nim(481) install
... download.nim(256) downloadPkg
... packageparser.nim(410) getPkgInfo
... packageparser.nim(398) getPkgInfoFromFile
... packageparser.nim(359) readPackageInfo
... Could not read package info file in /tmp/nimble_4486/githubcom_unicreditnimcl/nimcl.nimble;
... Reading as ini file failed with:
... Invalid section: .
... Evaluating as NimScript file failed with:
... /tmp/nimble_4486/githubcom_unicreditnimcl/nimcl.nimble(11, 37) Error: undeclared identifier: 'stmt'.
Nim is updated to latest using choosenim.
@andreaferretti I guess the problem is here. (11, 37)
Nimble takes the old version (0.1.2).
nimble install nimcl@#head
solves the problem
Let me just bump the version and put a new tag. This should be enough to make the problem go away
@andreaferretti Thanks! It works for me now.