Comments (10)
Try adding a new line at the end on the .ipynb-meta
, like this:
Title: Testing Notebook blogging
Slug: testing-notebook-blogging
Date: 2013-11-29
Category: Coding
Tags: notebook
Author: K.-Michael Aye
Summary: Just trying out the notebook plugin
from pelican-jupyter.
Alas, no change:
$ cat test.ipynb-meta
Title: Testing Notebook blogging
Slug: testing-notebook-blogging
Date: 2013-11-29
Category: Coding
Tags: notebook
Author: K.-Michael Aye
Summary: Just trying out the notebook plugin
# maye at lunatic in ~/Dropbox/src/blog/content/posts/2013/11 on git:gh-pages x [11:46:28]
$ pelican
WARNING: Could not process posts/2013/11/test.ipynb
custom_highlighter() got an unexpected keyword argument 'metadata'
Done: Processed 0 articles and 0 pages in 0.21 seconds.
# maye at lunatic in ~/Dropbox/src/blog on git:gh-pages x [11:47:29]
from pelican-jupyter.
This is python 2.7 btw. As you are not testing that, maybe that's how you never met this problem.
from pelican-jupyter.
I just created a virtualenv with python 2.7 and is working fine. I am not able to reproduce the error you are getting.
Do you have the latest version? Try using make (make html
) to generate the output, that is what I always use (don't think is going to fix it though).
from pelican-jupyter.
Did you try it with pelican 3.3? Because your readme shows an older version. I have 3.3 as written in the issue title. Oh, and make html
did not do anything different for me.
from pelican-jupyter.
Yes, I use 3.3 (haven't updated the readme) this is my pip freeze
(blog27)[email protected]:blog$ pip freeze
Jinja2==2.7.1
Markdown==2.3.1
MarkupSafe==0.18
Pygments==1.6
Sphinx==1.1.3
Unidecode==0.04.14
blinker==1.3
distribute==0.6.45
docutils==0.11
feedgenerator==1.7
ipython==1.1.0
pelican==3.3
pytz==2013.8
pyzmq==2.2.0.1
six==1.4.1
tornado==3.1.1
wsgiref==0.1.2
Also you might try downloading one of my posts using ipython notebooks and see if that one works: here
from pelican-jupyter.
After I confirmed that it is a setup problem and not a content problem by trying one of your notebooks, I went through all package versions I had and I believe it was feedgenerator that was too old (1.2.1). I have it now working, hooray! Thanks for your help!
from pelican-jupyter.
Hi, I have the same issue that @michaelaye reported, but I'm using the same package versions that @danielfrg has. Processing fails even with @danielfrg example notebooks. Any ideas on what may be causing that?
from pelican-jupyter.
@jfsantos, same here. Processing fails with @danielfrg examples.
from pelican-jupyter.
Unfortunately I am still unable to reproduce this, and therefor fix it.
I just made a couple of updates to fix IPython 2.0 issues, I don't think i will fix your issues but maybe.
I just did this procedure in a clean box and it worked for me:
- Download Anaconda: http://continuum.io/downloads
- Download pandoc: http://johnmacfarlane.net/pandoc
- Install libraries:
conda create -n blog python=3 pip
source activate blog
conda install ipython-notebook
pip install pelican
pip install markdown
(blog)➜ blog git:(master) ✗ pip freeze
Jinja2==2.7.2
Markdown==2.4
MarkupSafe==0.18
Pygments==1.6
Sphinx==1.2.2
Unidecode==0.04.14
backports.ssl-match-hostname==3.4.0.2
blinker==1.3
docutils==0.11
feedgenerator==1.7
ipython==2.0.0
pelican==3.3
pytz==2014.2
pyzmq==14.1.0
six==1.6.1
tornado==3.2
After that make html
worked for me.
Please try the latest plugin code with the latests versions and let me know
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.