Sphinx HTML build error. #45908

Closed
opened 2015-08-26 03:14:41 +02:00 by Peter Gutfeldt · 9 comments

I have been trying to set up everything needed to edit the Blender manual and I have run into a snag in the last step, building the HTML files .

When I run

C:\Python34\Scripts\sphinx-build.exe -b html .\manual .\build\html

I get

Traceback (most recent call last):
  File "C:\Python34\lib\runpy.py", line 170, in _run_module_as_main
    "__main__", mod_spec)
...
*A bunch of the same stuff*
...
  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)

And there is no folder called build in my blenderDocs folder.
I put the folder on my desktop, not directly under C:\ as the example suggests, but that shouldn't affect it right?

I am also not the only person having this problem, see this mailing list post.

I have been trying to set up everything needed to edit the Blender manual and I have run into a snag in the last step, [building the HTML files ](http://blender.org/manual/about/install/windows.html#building-the-html-files). When I run ``` C:\Python34\Scripts\sphinx-build.exe -b html .\manual .\build\html ``` I get ``` Traceback (most recent call last): File "C:\Python34\lib\runpy.py", line 170, in _run_module_as_main "__main__", mod_spec) ... *A bunch of the same stuff* ... 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) ``` And there is no folder called *build* in my *blenderDocs* folder. *I put the folder on my desktop, not directly under `C:\` as the example suggests, but that shouldn't affect it right?* I am also not the only person having this problem, see [this mailing list post](http://lists.blender.org/pipermail/bf-docboard/2015-August/004888.html).
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @PeterGutfeldt

Added subscriber: @PeterGutfeldt

Added subscriber: @GiantCowFIlms

Added subscriber: @GiantCowFIlms
Encountering this issue too: http://lists.blender.org/pipermail/bf-docboard/2015-August/004888.html
Member

Added subscriber: @gandalf3

Added subscriber: @gandalf3

Added subscriber: @ideasman42

Added subscriber: @ideasman42

This is a known issue, and its possible to resolve.

See: https://github.com/sphinx-doc/sphinx/issues/1976#issuecomment-134800310

shimizukawa,
In any case, you can install with avoiding babel issue by this installation command:

    pip install sphinx "babel<2.0"

See:
https://github.com/sphinx-doc/sphinx/issues/1976


Could you check if this resolves the issue?

This is a known issue, and its possible to resolve. See: https://github.com/sphinx-doc/sphinx/issues/1976#issuecomment-134800310 > shimizukawa, > In any case, you can install with avoiding babel issue by this installation command: > > pip install sphinx "babel<2.0" See: https://github.com/sphinx-doc/sphinx/issues/1976 ---- Could you check if this resolves the issue?

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Campbell Barton self-assigned this 2015-08-27 04:16:47 +02:00

Archiving this ticket, since its a known problem with Sphinx, and theres a solution.

Archiving this ticket, since its a known problem with Sphinx, and theres a solution.
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-manual#45908
No description provided.