Comments (4)
@jotelha - Can you take a look at this?
from matscipy.
Will do. Right now, we first get a warning,
WARNING: [autosummary] failed to import matscipy.electrochemistry.poisson_nernst_planck_solver_fenics.
Possible hints:
* ModuleNotFoundError: No module named 'fenics'
* AttributeError: module 'matscipy.electrochemistry' has no attribute 'poisson_nernst_planck_solver_fenics'
* ImportError:
and then building the documentation will fail at executing electrochemistry_2.py
building [html]: targets for 30 source files that are out of date
updating environment: [new config] 102 added, 0 changed, 0 removed
/home/jotelha/git/matscipy/docs/applications/cylinder_configurations.ipynb: Executing notebook using local CWD [mystnb]
/home/jotelha/git/matscipy/docs/applications/cylinder_configurations.ipynb: Executed notebook in 10.51 seconds [mystnb]
/home/jotelha/git/matscipy/docs/applications/elastic_constants.ipynb: Executing notebook using local CWD [mystnb]
/home/jotelha/git/matscipy/docs/applications/elastic_constants.ipynb: Executed notebook in 21.82 seconds [mystnb]
/home/jotelha/git/matscipy/docs/applications/electrochemistry_1.py: Executing notebook using local CWD [mystnb]
/home/jotelha/git/matscipy/docs/applications/electrochemistry_1.py: Executed notebook in 35.99 seconds [mystnb]
/home/jotelha/git/matscipy/docs/applications/electrochemistry_2.py: Executing notebook using local CWD [mystnb]
/home/jotelha/git/matscipy/docs/applications/electrochemistry_1.py:440002: WARNING: Non-consecutive header level increase; H1 to H3 [myst.header]
/home/jotelha/git/matscipy/docs/applications/electrochemistry_1.py:510002: WARNING: Non-consecutive header level increase; H1 to H3 [myst.header]
/home/jotelha/git/matscipy/docs/applications/electrochemistry_1.py:570002: WARNING: Non-consecutive header level increase; H1 to H3 [myst.header]
Exception occurred:
File "/home/jotelha/git/matscipy/isolated-venv/lib/python3.8/site-packages/myst_nb/core/execute/direct.py", line 50, in start_client
raise ExecutionError(str(self.path)) from result.err
myst_nb.core.execute.base.ExecutionError: /home/jotelha/git/matscipy/docs/applications/electrochemistry_2.py
The full traceback has been saved in /tmp/sphinx-err-6yytmx4r.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
make: *** [Makefile:55: html] Error 2
when fenics is not available. We want it to still build and conditionally ignore the fenics-dependent notebook if no fenics available.
from matscipy.
These four lines #223 should suffice.
from matscipy.
Closed by #223
from matscipy.
Related Issues (20)
- Tests only run properly when `pytest` is executed in the `tests` subdirectory HOT 1
- [JOSS Review] Paper and statement of need HOT 2
- [JOSS Review] Reproducibility and functionality HOT 1
- [JOSS Review] Tests HOT 2
- [JOSS Review] Documentation HOT 2
- JOSS Review: Examples and Tutorials HOT 1
- Editable install won't run HOT 1
- Documentation appearance HOT 3
- Generalise surface reconstruction code
- Conda-forge build not working for version 0.8.0 HOT 5
- Some fenics log messages are written to stdout instead of stderr HOT 1
- Autogenerate documentation previews on pull requests in CI
- v0.8.1 and v0.9.0 releases HOT 4
- Part of the electrochemistry module does not follow coding style HOT 2
- TST: electrochemistry CLI pipe output test fails in CI ... HOT 3
- Interactive visualisation of atomic structures in documentation is broken HOT 12
- Clean up extra files created by running docs + tests HOT 7
- Improve performance of unittests
- Switch arm64 from Cirrus to GHA HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matscipy.