Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various Sphinx build errors to look into #90

Open
dbirman opened this issue Sep 24, 2023 · 4 comments
Open

Various Sphinx build errors to look into #90

dbirman opened this issue Sep 24, 2023 · 4 comments
Assignees

Comments

@dbirman
Copy link
Member

dbirman commented Sep 24, 2023

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
Copy link
Member Author

dbirman commented Sep 24, 2023

Fixed image location errors 94927b8

@dbirman
Copy link
Member Author

dbirman commented Sep 24, 2023

Fixed duplicate tutorial files c3c721e

@kjy5
Copy link
Member

kjy5 commented Sep 26, 2023

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
Copy link
Member

kjy5 commented Jan 19, 2024

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

there are still Urchin errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants