Code Monkey home page Code Monkey logo

sphinx-mobi-builder's People

Contributors

eronhennessey avatar zgramana avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

zgramana

sphinx-mobi-builder's Issues

Python 3 compatibility

This isn't yet python3 compatible with some exception syntax and whatnot.

I actually ran 2to3 on it and rebuilt with python3 and it seems to at least start running. I haven't been able to fully test it because of another issue.

Too many values to unpack error

Running this with a 2to3 converted version on the most recent sphinx gives the following traceback:

# Sphinx version: 1.8.3
# Python version: 3.6.7 (CPython)
# Docutils version: 0.14⋅
# Jinja2 version: 2.10
# Last messages:
#   writing output... [ 90%] glossary                                                                                                                                                                              
#⋅⋅⋅
#   writing output... [100%] index
#⋅⋅⋅
#⋅⋅⋅
#⋅⋅⋅
#   generating indices...
#⋅⋅⋅
#   genindex
#⋅⋅⋅
# Loaded extensions:
#   sphinx.ext.mathjax (1.8.3) from /home/nick/.local/lib/python3.6/site-packages/sphinx/ext/mathjax.py
#   alabaster (0.7.12) from /home/nick/.local/lib/python3.6/site-packages/alabaster/__init__.py
#   sphinx.ext.imgmath (1.8.3) from /home/nick/.local/lib/python3.6/site-packages/sphinx/ext/imgmath.py
#   sphinx.ext.graphviz (1.8.3) from /home/nick/.local/lib/python3.6/site-packages/sphinx/ext/graphviz.py
#   sphinxcontrib.tikz (0.4.6) from /home/nick/.local/lib/python3.6/site-packages/sphinxcontrib/tikz.py
#   sphinx.builders.mobi (unknown version) from /home/nick/.local/lib/python3.6/site-packages/sphinx/builders/mobi.py
Traceback (most recent call last):
  File "/home/nick/.local/lib/python3.6/site-packages/sphinx/cmd/build.py", line 304, in build_main
    app.build(args.force_all, filenames)
  File "/home/nick/.local/lib/python3.6/site-packages/sphinx/application.py", line 341, in build
    self.builder.build_update()
  File "/home/nick/.local/lib/python3.6/site-packages/sphinx/builders/__init__.py", line 347, in build_update
    len(to_build))
  File "/home/nick/.local/lib/python3.6/site-packages/sphinx/builders/__init__.py", line 415, in build
    self.finish()
  File "/home/nick/.local/lib/python3.6/site-packages/sphinx/builders/html.py", line 749, in finish
    self.finish_tasks.add_task(self.gen_indices)
  File "/home/nick/.local/lib/python3.6/site-packages/sphinx/util/parallel.py", line 51, in add_task
    res = task_func()
  File "/home/nick/.local/lib/python3.6/site-packages/sphinx/builders/html.py", line 766, in gen_indices
    self.write_genindex()
  File "/home/nick/.local/lib/python3.6/site-packages/sphinx/builders/html.py", line 828, in write_genindex
    self.handle_page('genindex', genindexcontext, 'genindex.html')
  File "/home/nick/.local/lib/python3.6/site-packages/sphinx/builders/mobi.py", line 336, in handle_page
    self.fix_genindex(addctx['genindexentries'])
  File "/home/nick/.local/lib/python3.6/site-packages/sphinx/builders/mobi.py", line 315, in fix_genindex
    for entryname, (links, subitems) in columns:
ValueError: too many values to unpack (expected 2)

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.