[yt-svn] [yt_analysis/yt] Blog Converter fails (issue #478)

John ZuHone issues-reply at bitbucket.org
Wed Dec 12 23:20:24 PST 2012


--- you can reply above this line ---

New issue 478: Blog Converter fails
https://bitbucket.org/yt_analysis/yt/issue/478/blog-converter-fails

John ZuHone:

The blohg_converter.py script fails with this error:

Traceback (most recent call last):
  File "blohg_converter.py", line 71, in <module>
    converter.render()
  File "/Users/jzuhone/Source/nbconvert/converters/base.py", line 165, in render
    self.output = self.convert()
  File "/Users/jzuhone/Source/nbconvert/converters/base.py", line 145, in convert
    lines.extend(self.main_body(cell_separator))
  File "/Users/jzuhone/Source/nbconvert/converters/base.py", line 157, in main_body
    converted_cells.append('\n'.join(conv_fn(cell)))
  File "blohg_converter.py", line 41, in render_code
    lines.extend(nb.rst_directive('.. sourcecode:: python', cell.input))
AttributeError: 'module' object has no attribute 'rst_directive'

This is using the latest nbconvert from the ipython github repository. I suspect that there has been a refactor of some sort. 

Responsible: MatthewTurk
--

This is an issue notification from bitbucket.org. You are receiving
this either because you are the owner of the issue, or you are
following the issue.



More information about the yt-svn mailing list