Comments (7)
Aha, I am missing dot
, but this is not exactly the error message:
Q:\slipbox
λ python -c"from shutil import which; print(which('dot'))"
None
from slipbox.
So it appears
Lines 30 to 31 in f6b1871
pandoc not found
even if pandoc is present and dot
is missing.
I can split the check into two functions and add extra error message if you'd advise me to.
My initial problem is solved by installing graphviz, and I'm looking forward to experimenting with slipbox, very excited about it.
from slipbox.
Probably even a more simple fix for a PR is adding more verbose error message, eg "Either pandoc or graphviz not found, aborting..."
or
to do has_pandoc(app)
and has_dot(app)
in dependency.py (which I think simplifies the check a lot and allows to separate the error handling):
def has_pandoc(app):
return which(app.config.pandoc)
def has_dot(app):
return which(app.config.dot)
from slipbox.
fixed in c15afe0
from slipbox.
slipbox/slipbox/dependencies.py
Lines 8 to 14 in f6b1871
from slipbox.
I would go with the second option, so the error messages can be more specific.
from slipbox.
Thank you for following up on this @lggruspe !
from slipbox.
Related Issues (16)
- Interactive init HOT 1
- Switch to multi-page HTML output? HOT 1
- Handling duplicate IDs HOT 1
- Fix notes preprocessor HOT 1
- Timestamps vs. hash? HOT 1
- Slipbox main list don't display, big number problem with li value ? HOT 10
- Backlinks visible into notes ? HOT 2
- index.html not generated by slipbox build command HOT 2
- Allow use of pandoc filters
- Reverse order of notes in home page so that new notes (larger IDs) are shown first
- `slipbox check`: add data arg to pass data to checkers
- Alias for group of checkers
- Add checker that shows warning when different tags have similar spelling
- Graph in `#ref-` pages HOT 1
- check: show warning if there's a note with no ID
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 slipbox.