Hi
Dne Sat, 02 May 2015 11:13:13 -0400 Isaac Bennetch bennetch@gmail.com napsal(a):
Hi, when I'm building the documentation (with 'make html' for instance), I get the following error:
copying static files... WARNING: html_static_path entry '/var/www/pma-dev/fork/doc/_static' does not exist
I don't see this path in the github repo or locally, and I wonder if it's just me.
Full output:
writing additional files... genindex search copying static files... WARNING: html_static_path entry '/var/www/pma-dev/fork/doc/_static' does not exist
This is just harmless warning, but I've fixed it in git.
done dumping search index... Exception occurred: File "/usr/lib/python3/dist-packages/sphinx/application.py", line 204, in build self.builder.build_update() File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 196, in build_update 'out of date' % len(to_build)) File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 255, in build self.finish() File "/usr/lib/python3/dist-packages/sphinx/builders/html.py", line 466, in finish self.handle_finish() File "/usr/lib/python3/dist-packages/sphinx/builders/html.py", line 755, in handle_finish self.dump_search_index() File "/usr/lib/python3/dist-packages/sphinx/builders/html.py", line 798, in dump_search_index self.indexer.dump(f, self.indexer_format) File "/usr/lib/python3/dist-packages/sphinx/search/__init__.py", line 194, in dump format.dump(self.freeze(), stream) File "/usr/lib/python3/dist-packages/sphinx/search/__init__.py", line 248, in freeze objects = self.get_objects(fn2index) # populates _objtypes File "/usr/lib/python3/dist-packages/sphinx/search/__init__.py", line 202, in get_objects domain.get_objects(): File "/var/www/pma-dev/fork/doc/_ext/configext.py", line 182, in get_objects for (type, name), info in self.data['objects'].iteritems(): AttributeError: 'dict' object has no attribute 'iteritems'
The problem is that you're using Python 3 and the extension was not compatible with it. I've just fixed it in git.