[Phpmyadmin-devel] Error building docs
Marc Delisle
marc at infomarc.info
Sat May 2 17:35:42 CEST 2015
Le 2015-05-02 11:13, Isaac Bennetch a écrit :
> 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.
Hi Isaac,
you should be in the top directory and type
LC_ALL=C make -C doc html
When I do that, I see the same warning but no exception occurs.
If it does not help, try commenting out line 130 in doc/conf.py.
>
> 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
> 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 full traceback has been saved in /tmp/sphinx-err-elbhvy.log, if you
> want to report the issue to the developers.
> Please also report this if it was a user error, so that a better error
> message can be provided next time.
> Either send bugs to the mailing list at
> <http://groups.google.com/group/sphinx-dev/>,
> or report them in the tracker at
> <http://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!
> make: *** [html] Error 1
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Phpmyadmin-devel mailing list
> Phpmyadmin-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
>
--
Marc Delisle | phpMyAdmin
More information about the Developers
mailing list