[OpenStack-I18n] Puzzled with Japanese ha-guide
Andreas Jaeger
aj at suse.com
Fri Jan 6 09:26:29 UTC 2017
https://review.openstack.org/#/c/417318/ imports the Japanese ha-guide
and trying to build it, sphinx fails with:
Exception occurred:
File
"/home/aj/Software/vcs/OpenStack/openstack/openstack-manuals/.tox/venv/lib/python2.7/site-packages/docutils/nodes.py",
line 1367, in set_duplicate_name_id
old_node = self.ids[old_id]
KeyError: 'install-rabbitmq'
I'm not sure what's going on here ;(
we have in shared-messaging-rst:
- :ref:`Install RabbitMQ<rabbitmq-install>`
And later the headline "Install RabbitMQ" with the label above.
If I remove this entry from the po file, it still fails building:
msgid ":ref:`Install RabbitMQ<rabbitmq-install>`"
msgstr ":ref:`RabbitMQ のインストール<rabbitmq-install>`"
Could somebody investigate and fix this, please?
Note for building, I did:
diff --git a/doc-tools-check-languages.conf b/doc-tools-check-languages.conf
index d562f83..ddb0047 100644
--- a/doc-tools-check-languages.conf
+++ b/doc-tools-check-languages.conf
@@ -8,7 +8,8 @@ declare -A BOOKS=(
["de"]="install-guide"
["fr"]="install-guide"
["id"]="install-guide user-guide"
- ["ja"]="image-guide install-guide networking-guide ops-guide
user-guide"
+# ["ja"]="ha-guide image-guide install-guide networking-guide
ops-guide user-guide"
+ ["ja"]="ha-guide"
["ko_KR"]="install-guide"
["zh_CN"]="install-guide user-guide"
)
@@ -19,7 +20,7 @@ declare -A DRAFTS=(
["de"]="install-guide"
["fr"]="install-guide"
["id"]="install-guide"
- ["ja"]="install-guide networking-guide ops-guide"
+ ["ja"]="ha-guide install-guide networking-guide ops-guide"
["ko_KR"]="install-guide"
["zh_CN"]="install-guide"
And then run locally "tox -e buildlang -- ja". Note that it gives a
success message despites failing (the next openstack-doc-tools update
will fail this),
Andreas
--
Andreas Jaeger aj@{suse.com,opensuse.org} Twitter: jaegerandi
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton,
HRB 21284 (AG Nürnberg)
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
More information about the OpenStack-I18n
mailing list