[Bf-committers] sphinx compiling err, anytips

jmsoler at free.fr jmsoler at free.fr
Fri Apr 8 06:52:50 CEST 2011


Selon jmsoler at free.fr:

> Selon Yousef Hurfoush <bat3a at msn.com>:
>
> >
> > i tried to compile api docs using sphinx and i get this error:
> >
> >
> > C:\BlenderSVN\blender\Rel>blender --background --python
> > ..\doc/python_api/sphinx
> > _doc_gen.py
> > found bundled python: C:\BLENDE~1\blender\Rel\2.56\python
> > Traceback (most recent call last):
> >   File "<string>", line 1, in <module>
> >   File "<string>", line 1183, in <module>
> >   File "<string>", line 1141, in main
> >   File "<string>", line 1040, in rna2sphinx
> >   File "<string>", line 505, in pycontext2sphinx
> >   File "C:\BLENDE~1\blender\Rel\2.56\python\lib\ctypes\__init__.py", line
> > 340, i
> > n __init__
> >     self._handle = _dlopen(self._name, mode)
> > WindowsError: [Error 126] The specified module could not be found
> >
> > Blender quit
> >
> > C:\BlenderSVN\blender\Rel>
> >
> >
> > i have sphinx installed 1.07 and python 2.6 on windows 7 x64 and i have
> > compiled blender successfully.
> >
> > any tips will be welcome :)
> >
>
> hi,
>
> in fact you are under python 3.2 when you try to build the API python docs.
> I have the same problem with the same system since around two months but i've
> seen that sphinx is by default a linux ubuntu's tool, so ...
>
>

It seems that the linux side has problems too :

"""
found bundled python: /.../install-blender_25/linux2/2.56/python
	not documenting mathutils.geometry'constraint_orientation', 'default'
        ...
      (cut off tons of limits errors warnings)
        ...
	updating: conf.py
	updating: contents.rst
AL lib: ALc.c:1879: exit(): closing 1 Device
AL lib: ALc.c:1808: alcCloseDevice(): destroying 1 Context(s)
Running Sphinx v0.6.6
No builder selected, using default: html
loading pickled environment... done
building [html]: targets for 704 source files that are out of date
updating environment: [config changed] 707 added, 2 changed, 0 removed
reading sources... [ 99%] bpy.types.bpy_struct  lectionemthsaltst
reST markup error:
/.../blender_25/doc/python_api/sphinx-in/bpy.types.bpy_struct.rst:129:
(SEVERE/4) Unexpected section title.
"""



More information about the Bf-committers mailing list