mratsim / Arraymancer

A fast, ergonomic and portable tensor library in Nim with a deep learning focus for CPU, GPU and embedded devices via OpenMP, Cuda and OpenCL backends
https://mratsim.github.io/Arraymancer/
Apache License 2.0
1.34k stars 95 forks source link

cannot build documentation with the latest nimble HEAD #468

Open slonik-az opened 4 years ago

slonik-az commented 4 years ago

Running $ nimble gen_docs with the latest nimble HEAD https://github.com/nim-lang/nimble/commit/f4c818a046c2c3ceb1523c4c974e4b6e625d8ca3 results in the following error:

command: nimble gen_docs
  Executing task gen_docs in /Users/xxxx/dev/nim/pkg/arraymancer/arraymancer.nimble
stack trace: (most recent call last)
/private/var/folders/dt/5vm4d3sj5ll52x507rkfkw6r0000gn/T/nimblecache-2996282066/nimscriptapi_1468343325.nim(187, 16)
/Users/xxxx/dev/nim/pkg/arraymancer/arraymancer.nimble(248, 14) gen_docsTask
/Users/xxxx/dev/nim/pkg/arraymancer/docs/docs.nim(156, 20) buildDocs
/Users/xxxx/dev/nim/pkg/arraymancer/docs/docs.nim(44, 11) execAction
/Users/xxxx/.choosenim/toolchains/nim-1.2.6/lib/system/assertions.nim(29, 26) failedAssertImpl
/Users/xxxx/.choosenim/toolchains/nim-1.2.6/lib/system/assertions.nim(22, 11) raiseAssert
/Users/xxxx/.choosenim/toolchains/nim-1.2.6/lib/system/fatal.nim(49, 5) sysFatal
/Users/xxxx/.choosenim/toolchains/nim-1.2.6/lib/system/fatal.nim(49, 5) Error: unhandled exception: /Users/xxxx/dev/nim/pkg/arraymancer/docs/docs.nim(44, 12) `ret == 0` Command failed: 1
cmd: /Users/xxxx/.choosenim/toolchains/nim-1.2.6/bin/nim buildIndex -o:/private/var/folders/dt/5vm4d3sj5ll52x507rkfkw6r0000gn/T/nimblecache-2996282066/arraymancer_1183897761/docs/build/theindex.html /private/var/folders/dt/5vm4d3sj5ll52x507rkfkw6r0000gn/T/nimblecache-2996282066/arraymancer_1183897761/docs/build
result:
oserr.nim(94)            raiseOSError
Error: unhandled exception: No such file or directory
Additional info: "/private/var/folders/dt/5vm4d3sj5ll52x507rkfkw6r0000gn/T/nimblecache-2996282066/arraymancer_1183897761/docs" [OSError] [AssertionError]
     Error: Exception raised during nimble script execution

No documentation is built. --Leo

Vindaar commented 4 years ago

I've reproduced the bug locally on current nimble HEAD as well.

I'll take a look at it in the coming days.

Vindaar commented 3 years ago

@slonik-az I only now realized that this issue is still open. I've touched the docs several times in the mean time. Does it work for you on current HEAD?

alifarazz commented 3 years ago

I also get the same error trying to build the docs on HEAD https://github.com/mratsim/Arraymancer/commit/9a575de9e56fe3f5c10a5315765f5ded0332c44b