[Bf-docboard] Sphinx Gives Compile Error On Windows

Campbell Barton ideasman42 at gmail.com
Wed Aug 26 11:23:03 CEST 2015


Hi, since this mail was written there has been a ticket opened at:
https://developer.blender.org/T45908#330393

This is a known error effecting [Windows + Python3 +
Internationalization module (babel 2.0)],
According to the developers, downgrading babel resolves. see task for
details and links to upstream report.

On Fri, Aug 21, 2015 at 1:29 PM,  <bf-docboard at giantcowfilms.com> wrote:
> Hi All,
>
>
>
> I have been attempting to contribute a page to the new documentation
> project, but have hit a snag with Sphinx.
>
>
>
> I ran
>
>
>
> C:\Python34\Scripts\sphinx-build.exe -
>
> b html .\manual .\build\html
>
>
>
> to build the docs, as instructed by the documentation, after having added
> the necessary dependencies. I encountered this string of errors,  and was
> unable to find information on them:
>
>
>
> Traceback (most recent call last):
>
>   File "C:\Python34\lib\runpy.py", line 170, in _run_module_as_main
>
>     "__main__", mod_spec)
>
>   File "C:\Python34\lib\runpy.py", line 85, in _run_code
>
>     exec(code, run_globals)
>
>   File "C:\Python34\Scripts\sphinx-build.exe\__main__.py", line 9, in
> <module>
>
>   File "C:\Python34\lib\site-packages\sphinx\__init__.py", line 51, in main
>
>     sys.exit(build_main(argv))
>
>   File "C:\Python34\lib\site-packages\sphinx\__init__.py", line 61, in
> build_mai
>
> n
>
>     from sphinx import cmdline
>
>   File "C:\Python34\lib\site-packages\sphinx\cmdline.py", line 23, in
> <module>
>
>     from sphinx.application import Sphinx
>
>   File "C:\Python34\lib\site-packages\sphinx\application.py", line 37, in
> <modul
>
> e>
>
>     from sphinx.builders import BUILTIN_BUILDERS
>
>   File "C:\Python34\lib\site-packages\sphinx\builders\__init__.py", line 23,
> in
>
> <module>
>
>     from sphinx.util import i18n, path_stabilize
>
>   File "C:\Python34\lib\site-packages\sphinx\util\i18n.py", line 15, in
> <module>
>
>
>
>     from babel.messages.pofile import read_po
>
>   File "C:\Python34\lib\site-packages\babel\messages\__init__.py", line 12,
> in <
>
> module>
>
>     from babel.messages.catalog import *
>
>   File "C:\Python34\lib\site-packages\babel\messages\catalog.py", line 23,
> in <m
>
> odule>
>
>     from babel.dates import format_datetime
>
>   File "C:\Python34\lib\site-packages\babel\dates.py", line 28, in <module>
>
>     from babel.util import UTC, LOCALTZ
>
>   File "C:\Python34\lib\site-packages\babel\util.py", line 278, in <module>
>
>     from babel import localtime
>
>   File "C:\Python34\lib\site-packages\babel\localtime\__init__.py", line 21,
> in
>
> <module>
>
>     from babel.localtime._win32 import _get_localzone
>
>   File "C:\Python34\lib\site-packages\babel\localtime\_win32.py", line 18,
> in <m
>
> odule>
>
>     tz_names = get_global('windows_zone_mapping')
>
>   File "C:\Python34\lib\site-packages\babel\core.py", line 58, in get_global
>
>     _global_data = pickle.load(fileobj)
>
> TypeError: an integer is required (got type str)
>
>
>
> Does anyone know what is happening or have advice on how to fix it?
>
>
>
> Thanks,
>
> GiantCowFilms
>
>
> _______________________________________________
> Bf-docboard mailing list
> Bf-docboard at blender.org
> http://lists.blender.org/mailman/listinfo/bf-docboard
>



-- 
- Campbell


More information about the Bf-docboard mailing list