Coder Social home page Coder Social logo

Html Parsing Bug about pelican-jupyter HOT 3 CLOSED

danielfrg avatar danielfrg commented on June 17, 2024
Html Parsing Bug

from pelican-jupyter.

Comments (3)

linhua55 avatar linhua55 commented on June 17, 2024

Which pelican theme do you use?
I tested your ipynb file with my selected theme,and there is no problem.
http://wen.lhwebw.tk/terst2.html

from pelican-jupyter.

matthewgilbert avatar matthewgilbert commented on June 17, 2024

Hmm, yes I was having some issues reproducing the bug but the repo I have up seems to reliable (I believe) reproduce the error. I'm using the default Pelican theme with pelican version 3.5.0 and Python 2.7.9

The debugging info from the run is included

make DEBUG=1 html
pelican /home/matthew/Projects/blogbug/content -o /home/matthew/Projects/blogbug/output -s /home/matthew/Projects/blogbug/pelicanconf.py  -D
DEBUG: Adding current directory to system path
DEBUG: Temporarily adding PLUGIN_PATHS to system path
DEBUG: Loading plugin `pelican-ipynb`
DEBUG: Registering plugin `pelican-ipynb`
DEBUG: Restoring system path
DEBUG: Cannot load cache /home/matthew/Projects/blogbug/cache/ArticlesGenerator-Readers (this is normal on first run). Proceeding with empty cache.
  | [Errno 2] No such file or directory: u'/home/matthew/Projects/blogbug/cache/ArticlesGenerator-Readers'
DEBUG: Template list: [u'!simple/archives.html', u'!simple/article.html', u'!simple/author.html', u'!simple/authors.html', u'!simple/base.html', u'!simple/categories.html', u'!simple/category.html', u'!simple/gosquared.html', u'!simple/index.html', u'!simple/page.html', u'!simple/pagination.html', u'!simple/period_archives.html', u'!simple/tag.html', u'!simple/tags.html', u'!simple/translations.html', u'analytics.html', u'archives.html', u'article.html', u'article_infos.html', u'author.html', u'authors.html', u'base.html', u'categories.html', u'category.html', u'comments.html', u'disqus_script.html', u'github.html', u'gosquared.html', u'index.html', u'page.html', u'pagination.html', u'period_archives.html', u'piwik.html', u'tag.html', u'taglist.html', u'tags.html', u'translations.html', u'twitter.html']
DEBUG: Cannot load cache /home/matthew/Projects/blogbug/cache/PagesGenerator-Readers (this is normal on first run). Proceeding with empty cache.
  | [Errno 2] No such file or directory: u'/home/matthew/Projects/blogbug/cache/PagesGenerator-Readers'
DEBUG: Read file 2015-05-01_test2.ipynb -> Article
DEBUG: Signal article_generator_preread.send(ArticlesGenerator)
DEBUG: Successfuly imported extension module "markdown.extensions.codehilite".
DEBUG: Successfully loaded extension "markdown.extensions.codehilite.CodeHiliteExtension".
DEBUG: Successfuly imported extension module "markdown.extensions.extra".
DEBUG: Successfuly imported extension module "markdown.extensions.smart_strong".
DEBUG: Successfully loaded extension "markdown.extensions.smart_strong.SmartEmphasisExtension".
DEBUG: Successfuly imported extension module "markdown.extensions.fenced_code".
DEBUG: Successfully loaded extension "markdown.extensions.fenced_code.FencedCodeExtension".
DEBUG: Successfuly imported extension module "markdown.extensions.footnotes".
DEBUG: Successfully loaded extension "markdown.extensions.footnotes.FootnoteExtension".
DEBUG: Successfuly imported extension module "markdown.extensions.attr_list".
DEBUG: Successfully loaded extension "markdown.extensions.attr_list.AttrListExtension".
DEBUG: Successfuly imported extension module "markdown.extensions.def_list".
DEBUG: Successfully loaded extension "markdown.extensions.def_list.DefListExtension".
DEBUG: Successfuly imported extension module "markdown.extensions.tables".
DEBUG: Successfully loaded extension "markdown.extensions.tables.TableExtension".
DEBUG: Successfuly imported extension module "markdown.extensions.abbr".
DEBUG: Successfully loaded extension "markdown.extensions.abbr.AbbrExtension".
DEBUG: Successfully loaded extension "markdown.extensions.extra.ExtraExtension".
DEBUG: Successfuly imported extension module "markdown.extensions.meta".
DEBUG: Successfully loaded extension "markdown.extensions.meta.MetaExtension".
DEBUG: Applying preprocessor: coalesce_streams
DEBUG: Applying preprocessor: CSSHTMLHeaderPreprocessor
DEBUG: Applying preprocessor: HighlightMagicsPreprocessor
DEBUG: Attempting to load template basic.tpl
-> Loaded template basic.tpl
DEBUG: Signal article_generator_context.send(ArticlesGenerator, <metadata>)
-> Writing /home/matthew/Projects/blogbug/output/terst2.html
-> Writing /home/matthew/Projects/blogbug/output/index.html
-> Writing /home/matthew/Projects/blogbug/output/tags.html
-> Writing /home/matthew/Projects/blogbug/output/categories.html
-> Writing /home/matthew/Projects/blogbug/output/authors.html
-> Writing /home/matthew/Projects/blogbug/output/archives.html
-> Writing /home/matthew/Projects/blogbug/output/category/misc.html
-> Writing /home/matthew/Projects/blogbug/output/author/matthew.html
Done: Processed 1 article(s), 0 draft(s) and 0 page(s) in 0.28 seconds.

from pelican-jupyter.

matthewgilbert avatar matthewgilbert commented on June 17, 2024

Fixed in fdcd095

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.