Giter Club home page Giter Club logo

Comments (10)

danielfrg avatar danielfrg commented on July 17, 2024

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.

michaelaye avatar michaelaye commented on July 17, 2024

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.

michaelaye avatar michaelaye commented on July 17, 2024

This is python 2.7 btw. As you are not testing that, maybe that's how you never met this problem.

from pelican-jupyter.

danielfrg avatar danielfrg commented on July 17, 2024

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.

michaelaye avatar michaelaye commented on July 17, 2024

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.

danielfrg avatar danielfrg commented on July 17, 2024

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.

michaelaye avatar michaelaye commented on July 17, 2024

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.

jfsantos avatar jfsantos commented on July 17, 2024

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.

blahster avatar blahster commented on July 17, 2024

@jfsantos, same here. Processing fails with @danielfrg examples.

from pelican-jupyter.

danielfrg avatar danielfrg commented on July 17, 2024

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:

  1. Download Anaconda: http://continuum.io/downloads
  2. Download pandoc: http://johnmacfarlane.net/pandoc
  3. 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.