Skip to content

Instantly share code, notes, and snippets.

@ideasman42
Created October 13, 2017 05:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ideasman42/7bb2fae0300617741c08626b6b559364 to your computer and use it in GitHub Desktop.
Save ideasman42/7bb2fae0300617741c08626b6b559364 to your computer and use it in GitHub Desktop.
# Sphinx version: 1.6.3
# Python version: 3.6.2 (CPython)
# Docutils version: 0.14
# Jinja2 version: 2.9.6
# Last messages:
# loading translations [zh-hant]...
#
# not available for built-in messages
#
# loading intersphinx inventory from https://docs.blender.org/api/2.79/objects.inv...
#
# building [mo]: all of 1196 po files
#
# writing output... [ 0%] ../locale/zh-hant/LC_MESSAGES/render/blender_render/materials/properties/preview.mo
#
# Loaded extensions:
# alabaster (0.7.10) from /usr/local/lib/python3.6/site-packages/alabaster/__init__.py
# youtube (unknown version) from /data/svn/bf-manual-zh-hant/exts/youtube.py
# vimeo (unknown version) from /data/svn/bf-manual-zh-hant/exts/vimeo.py
# sphinx.ext.mathjax (1.6.3) from /usr/local/lib/python3.6/site-packages/sphinx/ext/mathjax.py
# sphinx.ext.intersphinx (1.6.3) from /usr/local/lib/python3.6/site-packages/sphinx/ext/intersphinx.py
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/sphinx/cmdline.py", line 306, in main
app.build(opts.force_all, filenames)
File "/usr/local/lib/python3.6/site-packages/sphinx/application.py", line 332, in build
self.builder.compile_all_catalogs()
File "/usr/local/lib/python3.6/site-packages/sphinx/builders/__init__.py", line 253, in compile_all_catalogs
self.compile_catalogs(catalogs, message)
File "/usr/local/lib/python3.6/site-packages/sphinx/builders/__init__.py", line 242, in compile_catalogs
catalog.write_mo(self.config.language)
File "/usr/local/lib/python3.6/site-packages/sphinx/util/i18n.py", line 68, in write_mo
po = read_po(file_po, locale)
File "/usr/local/lib/python3.6/site-packages/babel/messages/pofile.py", line 329, in read_po
catalog = Catalog(locale=locale, domain=domain, charset=charset)
File "/usr/local/lib/python3.6/site-packages/babel/messages/catalog.py", line 271, in __init__
locale = Locale.parse(locale)
File "/usr/local/lib/python3.6/site-packages/babel/core.py", line 268, in parse
parts = parse_locale(identifier, sep=sep)
File "/usr/local/lib/python3.6/site-packages/babel/core.py", line 1094, in parse_locale
raise ValueError('expected only letters, got %r' % lang)
ValueError: expected only letters, got 'zh-hant'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment