Build failed running pavelib.i18n.i18n_robot_pull: Subprocess return code: 1

756 views
Skip to first unread message

任屹

unread,
Jul 29, 2016, 1:30:47 AM7/29/16
to openedx-translation
---> pavelib.i18n.i18n_transifex_pull
---> pavelib.i18n.i18n_validate_transifex_config
i18n_tool transifex pull
Pulling conf/locale/config.yaml:locales from Transifex...
Pulling new translations for resource edx-platform.django-partial (source: conf/locale/en/LC_MESSAGES/django-partial.po)
 -> zh_CN: conf/locale/zh_CN/LC_MESSAGES/django-partial.po
Pulling new translations for resource edx-platform.django-studio (source: conf/locale/en/LC_MESSAGES/django-studio.po)
 -> zh_CN: conf/locale/zh_CN/LC_MESSAGES/django-studio.po
Pulling new translations for resource edx-platform.djangojs-partial (source: conf/locale/en/LC_MESSAGES/djangojs-partial.po)
 -> zh_CN: conf/locale/zh_CN/LC_MESSAGES/djangojs-partial.po
Pulling new translations for resource edx-platform.djangojs-studio (source: conf/locale/en/LC_MESSAGES/djangojs-studio.po)
 -> zh_CN: conf/locale/zh_CN/LC_MESSAGES/djangojs-studio.po
Pulling new translations for resource edx-platform.mako (source: conf/locale/en/LC_MESSAGES/mako.po)
 -> zh_CN: conf/locale/zh_CN/LC_MESSAGES/mako.po
Pulling new translations for resource edx-platform.mako-studio (source: conf/locale/en/LC_MESSAGES/mako-studio.po)
 -> zh_CN: conf/locale/zh_CN/LC_MESSAGES/mako-studio.po
Pulling new translations for resource edx-platform.underscore (source: conf/locale/en/LC_MESSAGES/underscore.po)
 -> zh_CN: conf/locale/zh_CN/LC_MESSAGES/underscore.po
Pulling new translations for resource edx-platform.underscore-studio (source: conf/locale/en/LC_MESSAGES/underscore-studio.po)
 -> zh_CN: conf/locale/zh_CN/LC_MESSAGES/underscore-studio.po
Pulling new translations for resource edx-platform.wiki (source: conf/locale/en/LC_MESSAGES/wiki.po)
 -> zh_CN: conf/locale/zh_CN/LC_MESSAGES/wiki.po
Done.
---> pavelib.i18n.i18n_extract
---> pavelib.prereqs.install_prereqs
NO_PREREQ_INSTALL is set, not installing prereqs
---> pavelib.i18n.i18n_validate_gettext
/usr/bin/xgettext
---> pavelib.assets.compile_coffeescript
node_modules/.bin/coffee --compile `find /edx/app/edxapp/edx-platform/lms /edx/app/edxapp/edx-platform/cms /edx/app/edxapp/edx-platform/common -type f -name "*.coffee"`
i18n_tool extract
Traceback (most recent call last):
  File "/edx/app/edxapp/venvs/edxapp/bin/i18n_tool", line 9, in <module>
    load_entry_point('i18n-tools==0.3.2', 'console_scripts', 'i18n_tool')()
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/i18n/main.py", line 39, in main
    return module.main()
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/i18n/__init__.py", line 37, in __call__
    self.run(args)
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/i18n/extract.py", line 64, in run
    self.rename_source_file('django.po', 'django-saved.po')
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/i18n/extract.py", line 52, in rename_source_file
    os.rename(self.source_msgs_dir.joinpath(src), self.source_msgs_dir.joinpath(dst))
OSError: [Errno 2] No such file or directory


Captured Task Output:
---------------------

---> pavelib.i18n.i18n_robot_pull
---> pavelib.i18n.i18n_clean
git clean -fdX conf/locale
---> pavelib.i18n.i18n_transifex_pull
---> pavelib.i18n.i18n_validate_transifex_config
i18n_tool transifex pull
---> pavelib.i18n.i18n_extract
---> pavelib.prereqs.install_prereqs
---> pavelib.i18n.i18n_validate_gettext
---> pavelib.assets.compile_coffeescript
node_modules/.bin/coffee --compile `find /edx/app/edxapp/edx-platform/lms /edx/app/edxapp/edx-platform/cms /edx/app/edxapp/edx-platform/common -type f -name "*.coffee"`
i18n_tool extract

Build failed running pavelib.i18n.i18n_robot_pull: Subprocess return code: 1

宏仁國小

unread,
Jul 29, 2016, 8:12:49 AM7/29/16
to openedx-translation
I got the same error message like that.
Does anyone have any suggestion?
Thank's. 

Nicolas CS

unread,
Aug 11, 2016, 4:27:43 PM8/11/16
to openedx-translation
Hello everyone

I am getting the same error, anyone knows how to solve it?

thanks in advance.

Jero

unread,
Sep 5, 2016, 4:25:10 AM9/5/16
to openedx-translation
This solution worked for me with 'es_ES' in a fullstack installation (Native Open edX Ubuntu 12.04 64 bit Installation): please see
https://groups.google.com/forum/#!msg/openedx-ops/HfvE8jIG4qY/VjtdINUpAwAJ

Consider also that maybe your error can be related to using paver i18n_robot_pull command instead of paver i18n_generate if your installation is fullstack. See: Localization Process For A Local Full Stack Installation in https://github.com/edx/edx-platform/wiki/Internationalization-and-localization.

Regards.
Reply all
Reply to author
Forward
0 new messages