need gettext system package for msgfmt

Bug #1331328 reported by Mike Spreitzer
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
devstack
Fix Released
Undecided
Justin Shepherd

Bug Description

In a recent DevStack install, unit testing Heat failed like this:

$ tox -e pep8
pep8 develop-inst-noop: /opt/stack/heat
pep8 runtests: commands[0] | flake8 heat bin/heat-api bin/heat-api-cfn bin/heat-api-cloudwatch bin/heat-engine bin/heat-manage contrib
pep8 runtests: commands[1] | /opt/stack/heat/tools/config/check_uptodate.sh
No handlers could be found for logger "heat.common.config"
pep8 runtests: commands[2] | /opt/stack/heat/tools/requirements_style_check.sh requirements.txt test-requirements.txt
pep8 runtests: commands[3] | bash -c find heat -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null
xargs: msgfmt: No such file or directory
ERROR: InvocationError: "/bin/bash -c find heat -type f -regex '.*\\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null"
________________________________________________________ summary ________________________________________________________
ERROR: pep8: commands failed

In the operating system at hand (Ubuntu 14.04), msgfmt command comes from a system package (NOT a python package) named gettext. It should be listed in one of the compendiums of system packages that DevStack installs.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (master)

Fix proposed to branch: master
Review: https://review.openstack.org/109179

Changed in devstack:
assignee: nobody → Justin Shepherd (jshepher)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (master)

Reviewed: https://review.openstack.org/109179
Committed: https://git.openstack.org/cgit/openstack-dev/devstack/commit/?id=053364cf60a3fade888eccd53076d8088657486f
Submitter: Jenkins
Branch: master

commit 053364cf60a3fade888eccd53076d8088657486f
Author: galstrom21 <email address hidden>
Date: Wed Jul 23 21:59:40 2014 -0500

    Install gettext from apt on Trusty (Ubuntu 14.04)

    The binary 'msgfmt' is not installed as part of python-gettext for Trusty
    (Ubuntu 14.04), so gettext needs to be installed from apt.

    Change-Id: I415814559d82be453e978a0d92a0cdb38f105683
    Closes-Bug: 1331328

Changed in devstack:
status: In Progress → Fix Released
Zane Bitter (zaneb)
no longer affects: heat
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.