[Bf-committers] sphinx compiling err, anytips

Domino Marama domino at dominodesigns.info
Thu Apr 7 11:16:29 CEST 2011


On Thu, 2011-04-07 at 03:21 +0000, Yousef Hurfoush wrote:
> 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 :)

This looks like the same error that sparked the experimental pydna
discussion. If so there's an unofficial hack
http://www.pasteall.org/20504 to get it working. I'm not on Windows, so
I can't confirm that it's the same, but the error reported by my script
users was identical.

   File "C:\BlenderSVN\primstar\image_buffer_raw_access.py", line 75,  
in _api blend_cdll = ctypes.CDLL("")
   File 
"C:\BLENDE~1\install\win32-vc\2.56\python\lib\ctypes\__init__.py", line 
340,  in __init__ self._handle = _dlopen(self._name, mode)
WindowsError: [Error 126] module not found

I guess the real reason for the hack was lost by associating it with
pydna, I think it's really to get ctypes working on Windows.



More information about the Bf-committers mailing list