danielfrg / pelican-jupyter

Pelican plugin for blogging with Jupyter/IPython Notebooks
Apache License 2.0
422 stars 105 forks source link

Issue with pelican 4.0.1 #110

Closed ryneches closed 5 years ago

ryneches commented 5 years ago

After upgrading to 4.0.1, I get the following error :

ERROR: Could not process ./SuchTree_1.ipynb
  | TypeError: 'bool' object is not callable
  |___
  | Traceback (most recent call last):
  |   File "/home/russell/opt/lib/python3.7/site-packages/pelican/generators.py", line 625, in generate_context
  |     context_sender=self)
  |   File "/home/russell/opt/lib/python3.7/site-packages/pelican/readers.py", line 594, in read_file
  |     content, reader_metadata = reader.read(path)
  |   File "/home/russell/vort.org/plugins/ipynb/markup.py", line 63, in read
  |     _content, metadata = md_reader.read(metadata_filepath)
  |   File "/home/russell/opt/lib/python3.7/site-packages/pelican/readers.py", line 350, in read
  |     self._md = Markdown(**self.settings['MARKDOWN'])
  | TypeError: 'bool' object is not callable
ryneches commented 5 years ago

Never mind! Turns out the markdown package wasn't installed. I was pretty sure it would install automatically, but evidently not.