Hi Folks, I installed sphinx and tried building the documentation but I got an error: File ./xfel/xfel.cxi.gfx.rst already exists, skipping. File ./xfel/xfel.cxi.merging.rst already exists, skipping. File ./xfel/xfel.cxi.rst already exists, skipping. File ./xfel/xfel.metrology.rst already exists, skipping. File ./xfel/xfel.rst already exists, skipping. File ./xfel/modules.rst already exists, skipping. sphinx-build -b coverage -d _build/doctrees -D latex_paper_size=a4 . _build/coverage Making output directory... Running Sphinx v1.2pre loading pickled environment... not yet created building [coverage]: coverage overview updating environment: 206 added, 0 changed, 0 removed reading sources... [ 0%] cctbx/cctbx Exception occurred: File "/Users/graeme/svn/cctbx/phenix/phenix-dev-1241/build/mac-intel-osx-x86_64/base/Python.framework/Versions/Current/lib/python2.7/site-packages/Sphinx-1.2predev_20130121-py2.7.egg/sphinx/ext/autodoc.py", line 595, in filter_members membername in self.options.special_members: TypeError: argument of type 'object' is not iterable The full traceback has been saved in /var/folders/j1/cgsqy8fs1lxdyjggcsb3twsw0000gn/T/sphinx-err-jjM5C8.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-users/, or report them in the tracker at http://bitbucket.org/birkenfeld/sphinx/issues/. Thanks! make: *** [coverage] Error 1 cp: ./_build/coverage/python.txt: No such file or directory cp: ./_build/coverage/c.txt: No such file or directory sphinx-build -b html -d _build/doctrees -D latex_paper_size=a4 . _build/html Making output directory... Running Sphinx v1.2pre loading pickled environment... not yet created building [html]: targets for 206 source files that are out of date updating environment: 206 added, 0 changed, 0 removed reading sources... [ 0%] cctbx/cctbx Exception occurred: File "/Users/graeme/svn/cctbx/phenix/phenix-dev-1241/build/mac-intel-osx-x86_64/base/Python.framework/Versions/Current/lib/python2.7/site-packages/Sphinx-1.2predev_20130121-py2.7.egg/sphinx/ext/autodoc.py", line 595, in filter_members membername in self.options.special_members: TypeError: argument of type 'object' is not iterable The full traceback has been saved in /var/folders/j1/cgsqy8fs1lxdyjggcsb3twsw0000gn/T/sphinx-err-lONSky.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-users/, or report them in the tracker at http://bitbucket.org/birkenfeld/sphinx/issues/. Thanks! make: *** [html] Error 1 Did I do something wrong? I just grabbed sphinx from the internet. Should I have got it from someplace else? OS X Lion / svn cctbx. Thanks, Graeme -- This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message. Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
Hi Graeme, Am Montag 21 Januar 2013 11:02:08 schrieb [email protected]: [...]
TypeError: argument of type 'object' is not iterable The full traceback has been saved in /var/folders/j1/cgsqy8fs1lxdyjggcsb3twsw0000gn/T/sphinx-err-jjM5C8.log, if [...]
could you also post the full traceback, please? Also what directory structure are you using? I have my cctbx dev-environment (on linux) organised like this: ./somedir/sources/cctbx_project ./somedir/sources/boost ... I build cctbx into ./somedir/build and then copy dox.sphinx from source into ./somedir/build/dox.sphinx then I change into this directory: $ cd ./somedir/build/dox.sphinx and call $ ./build_docs.sh While sphinx runs I see quite a lot of ImportErrors and NameErrors (which might be due to certain modules not being built or problems with some classes) but the run finishes and does not break like in your case. With regards, Dipl. Phys. Jan M. Simons Institute of Crystallography RWTH Aachen University
participants (2)
-
Graeme.Winter@diamond.ac.uk
-
Jan Marten Simons