Comments (6)
I was able to track down the error. Running make DEBUG=1 html
gave
ERROR: Could not process ./hello.ipynb
| TypeError: 'bool' object is not callable
|___
...
| File "./plugins/ipynb/markup.py", line 56, in read
| _content, metadata = md_reader.read(metadata_filepath)
| File "/usr/local/lib/python2.7/site-packages/pelican/readers.py", line 285, in read
| self._md = Markdown(extensions=self.extensions)
| TypeError: 'bool' object is not callable
Looking at Pelican's readers.py
, it said
try:
from markdown import Markdown
except ImportError:
Markdown = False # NOQA
causing the line
self._md = Markdown(extensions=self.extensions)
to fail if the markdown package wasn't present.
Installing markdown
via pip install markdown
fixed the error.
from pelican-jupyter.
I had the same issue, pip install markdown
also fixed it for me.
from pelican-jupyter.
Ditto on @basnijholt & @dionhaefner's comments.
from pelican-jupyter.
FWIW, this is probably an installation issue. I have this problem in one environment, but not in another (all python 2.7). May be worth a fresh install.
from pelican-jupyter.
I'm in 3.5. Was in 3.4. Reinstalled pelican. Reinstalled pelican-ipynb. No dice. Tried the demo (with-meta-file). Same error. The install is so trivial, I'm not sure I could be messing it up (bug I've meet that challenge before!).
This isn't messing my workflow up much, but is in the "would be nice" domain. I am certainly open to being the guinea pig for testing when I have time.
Noting the installation instruction, I might be able to just workaround as I do serve it off of github. I haven't tried that yet. I know it might end up a time sink... so I need the time to dedicate to a solid try.
from pelican-jupyter.
That indeed fixed that error. There is also a dependency on dateutil
which was easy to figure out from the error.
Unfortunately: I have a new error:
ERROR: Could not process ./Laplace_Transforms_Solution.ipynb
| AttributeError: 'str' object has no attribute 'decode'
I'm looking around, but I have no idea where to look for this. I'm likely missing another dependency.
from pelican-jupyter.
Related Issues (20)
- Visible cell numbers HOT 2
- Critical: IndexError: tuple index out of range
- Can't pass variables in pelicanconf.py
- Has the metadata file extension changed? HOT 2
- Issue with pelican 4.0.1 HOT 1
- IPYNB_FIX_CSS nukes markdown table headers HOT 1
- where to set IPYNB_USE_METACELL HOT 1
- HoloViews issue with requirejs
- Images copy pasted as attachments not rendering in HTML HOT 1
- not rendering notebooks every time (when there was no change)? HOT 2
- Hiding a notebook cell HOT 4
- Problem with < sign in equations
- Manual install of pelican_jupyter triggers TypeError: SubElement() argument 1 must be xml.etree.ElementTree.Element, not Element HOT 3
- SVG parsing faulty
- Plugin doesn't work with nbconvert >= 6.x HOT 25
- ENH: please add wheels
- ERROR: Could not process ipynb | basic HOT 2
- Metadata in first cell not working on windows
- Remove "In []" prompt HOT 1
- Tests are failing HOT 4
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 pelican-jupyter.