Hi Peter, I think it's a Python3 related untested issue of Sphinx. Please file the information to issue tracker. https://bitbucket.org/birkenfeld/sphinx/issues We're going to correct reported problems in order of priority.
Regards, -- Takayuki SHIMIZUKAWA http://about.me/shimizukawa 2013/9/9 Peter Bouda <[email protected]>: > Hi, > > I have a problem building a sphinx project with Python 3. The project uses > autosummary and the :toctree: directive, an example file is here: > > https://raw.github.com/lingpy/lingpy/master/doc/source/docu/compare/trebor.rst > > When I try to build the project I get the error: > > File > "/usr/local/lib/python3.2/dist-packages/Sphinx-1.2b1-py3.2.egg/sphinx/ext/autosummary/generate.py", > line 104, in generate_autosummary_docs > for name, path, template_name in sorted(items): > TypeError: unorderable types: NoneType() < str() > > This seem to be an error related to the "sorted" function in Python 3. In > Python 2 everything is fine. The line in "generated.py" is the following: > > https://bitbucket.org/birkenfeld/sphinx/src/ef3092d458cc00c4b74dd342ea05ba1059a5da70/sphinx/ext/autosummary/generate.py?at=default#cl-104 > > The next line 105 indicates that some tuple entries might be "None", so > sorting should also work with "None" values. Is this a bug in autosummary? > > Best, > Peter > > -- > You received this message because you are subscribed to the Google Groups > "sphinx-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sphinx-users. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/groups/opt_out.
