documentation not building
See original GitHub issueDescribe the bug, what’s wrong, and what you expect:
I cannot get the documentation to build locally. The examples gallery builds fine and gets cached fine) but numpydoc seems to be blowing it up.
It helps dramatically to comment this line out:
https://github.com/pyvista/pyvista/blob/5dd060e465bd8339346de677d7b2b5aa661344af/doc/conf.py#L352
But it is still very slow during the “Reading sources…” steps.
Furthermore, when it does finish that, I am getting other errors which I’m currently tracking down
To Reproduce
Please include a code snippet to reproduce the bug in the block below:
cd doc
make html
System Information:
Python 3.8.12 | packaged by conda-forge | (default, Oct 12 2021, 21:50:38)
[Clang 11.1.0 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyvista
>>> pyvista.Report()
--------------------------------------------------------------------------------
Date: Thu Nov 25 22:45:22 2021 MST
OS : Darwin
CPU(s) : 12
Machine : x86_64
Architecture : 64bit
RAM : 32.0 GiB
Environment : Python
File system : apfs
GPU Vendor : ATI Technologies Inc.
GPU Renderer : AMD Radeon Pro Vega 20 OpenGL Engine
GPU Version : 4.1 ATI-4.7.29
Python 3.8.12 | packaged by conda-forge | (default, Oct 12 2021, 21:50:38)
[Clang 11.1.0 ]
pyvista : 0.32.dev0
vtk : 9.1.0
numpy : 1.21.4
imageio : 2.12.0
appdirs : 1.4.4
scooby : 0.5.9
meshio : 4.4.6
matplotlib : 3.5.0
IPython : 7.29.0
colorcet : 1.0.0
cmocean : 2.0
ipyvtklink : 0.2.1
scipy : 1.7.3
tqdm : 4.62.3
--------------------------------------------------------------------------------
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:12 (11 by maintainers)
Top Results From Across the Web
Unable to generate DocC documentation - Apple Developer
Sadly, I'm not able to build documentation for the project. I'm running macOS 11.4 and the Xcode 13 beta (13A5154h). I've tried this...
Read more >Build Passed But Documentation Not Showing #5611 - GitHub
I'm trying to create documentation for a new project, but the docs are not rendering online. In order to get everything started, I...
Read more >Generate-documentation failing on import UIKit - Swift-DocC
When I run the generate-documentation command I get failures on UI… ... In other words, swift build does not build for iOS, (except...
Read more >Building documentation
Before building documentation, you must first clone the repository where the files reside. For the instructions on how to clone a repository so...
Read more >XML Documentation File is not published
During the publish process, the file specified in Build/Output/XML Documentation file field is not copied. That is an issue for swagger configuration in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We’ve sort of tracked the
extract_edges
issue down in slack, by which I just mean that it’s a VTK issue.The following snippet crashes on VTK 9.1.0 and runs on VTK 9.0.3:
This is a simplified version of our Nefertiti edge extraction snippet.
N_DIVISIONS
has to be increased depending on available memory. At one point VTK 9.1.0 will crash with a huge amount of memory to be allocated (even though there’s sufficient memory for it), and 9.0.3 will run the same code just fine.I haven’t raised this with VTK yet, I’m happy to hand over this opportunity.
This issue, along with several others (including build instability), is leading me to believe that we’re going to have to take some significant measures and build our own wheels.
I also get this issue when using the official vtk 9.1.0 wheel from pypi, but not when using my custom built wheel (compiled on Ubuntu 20.04) and not usingNevermind, wheel works locally but not on our CI. Recommending modifying the example until this is fixed in VTK.manylinux2014
.