VirtualBrainLab / vbl-docs

Documentation website for Virtual Brain Lab projects
https://virtualbrainlab.org
0 stars 0 forks source link

Various Sphinx build errors to look into #90

Open dbirman opened 9 months ago

dbirman commented 9 months ago
WARNING: Failed to import ephys_link.server.
Possible hints:
* AttributeError: module 'ephys_link' has no attribute 'server'
* RuntimeError: Failed to create a .NET runtime (netfx) using the
                parameters {}.
WARNING: [autosummary] failed to import ephys_link.platforms.new_scale_manipulator.
Possible hints:
* ModuleNotFoundError: No module named 'NstMotorCtrl'
* AttributeError: module 'ephys_link.platforms' has no attribute 'new_scale_manipulator'
* ImportError: 
building [mo]: targets for 0 po files that are out of date
writing output... 
building [html]: targets for 0 source files that are out of date
updating environment: 0 added, 2 changed, 0 removed
reading sources... [100%] pinpoint/tutorials/tutorial_ephys_link
WARNING: multiple files found for the document "pinpoint/tutorial": ['pinpoint/tutorial.rst', 'pinpoint/tutorial.md']
Use '/Users/dan/proj/VBL/vbl-docs/source/pinpoint/tutorial.md' for the build.
/Users/dan/proj/VBL/vbl-docs/source/pinpoint/tutorials/tutorial_basics.md:178: WARNING: image file not readable: pinpoint/_static/images/tutorial/accounts.png
/Users/dan/proj/VBL/vbl-docs/source/pinpoint/tutorials/tutorial_ephys_link.md:24: WARNING: image file not readable: pinpoint/_static/images/Ephys-Link-connection.png
/Users/dan/proj/VBL/vbl-docs/source/pinpoint/tutorials/tutorial_ephys_link.md:40: WARNING: image file not readable: pinpoint/_static/images/Ephys-Link-connect-probe.png
/Users/dan/proj/VBL/vbl-docs/source/pinpoint/tutorials/tutorial_ephys_link.md:77: WARNING: image file not readable: pinpoint/_static/images/tutorial/sensapex_manipulators.png
looking for now-outdated files... none found
pickling environment... done
checking consistency... /Users/dan/proj/VBL/vbl-docs/source/_autosummary/oursin.rst: WARNING: document isn't included in any toctree
/Users/dan/proj/VBL/vbl-docs/source/ibl/development.md: WARNING: document isn't included in any toctree
/Users/dan/proj/VBL/vbl-docs/source/misc/contributing.md: WARNING: document isn't included in any toctree
/Users/dan/proj/VBL/vbl-docs/source/misc/general_advice.md: WARNING: document isn't included in any toctree
/Users/dan/proj/VBL/vbl-docs/source/pinpoint/tutorials/tutorial_api.md: WARNING: document isn't included in any toctree
/Users/dan/proj/VBL/vbl-docs/source/pinpoint/tutorials/tutorial_basics.md: WARNING: document isn't included in any toctree
/Users/dan/proj/VBL/vbl-docs/source/pinpoint/tutorials/tutorial_ephys_link.md: WARNING: document isn't included in any toctree
dbirman commented 9 months ago

Fixed image location errors 94927b83561472aa6b1ffb578ea2aa00f8e4991a

dbirman commented 9 months ago

Fixed duplicate tutorial files c3c721e1fd0ef0610bf6747700aaa2adc3199773

kjy5 commented 9 months ago

I believe this is caused by me splitting the imports across multiple files, using a DLL as a library, and Sphinx needing to "run" the modules in order to extract the documentation. I don't like how this is the way Sphinx does things. I think one solution is to centralize all imports and let them all run (currently, if you only use Sensapex, which is the default, the New Scale DLL won't be loaded, which is why Sphinx can't find it).

kjy5 commented 5 months ago

Ephys Link errors have been fixed as a byproduct of v1.1 updates e70f5982ae69aff9bd548b89e27f6c5d7a01b054

there are still Urchin errors