Ticket #261 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Umit fails creating the locale files

Reported by: luis Owned by: gpolo
Priority: high Milestone: Umit 1.0beta2
Component: Umit Version: current svn
Keywords: Cc:

Description

Reproduce:

python setup.py sdist
Extract tar.gz and enter directory
python setup.py build

It fails:

File "setup.py", line 243, in run
    self.build_mo_files()
  File "setup.py", line 213, in build_mo_files
    potman.compile(LOCALE_DIR, use_fuzzy=False, distutils_log=self.announce)
  File "/home/bastiao/Projects/umit/umit-svn/trunk/dist/umit-1.0beta2/utils/i18n/potmanager.py", line 115, in compile
    call_tool(MSGFMT, *opts)
  File "/home/bastiao/Projects/umit/umit-svn/trunk/dist/umit-1.0beta2/utils/i18n/potmanager.py", line 45, in call_tool
    subprocess.check_call(args, **kwargs)
  File "/usr/lib/python2.5/subprocess.py", line 462, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '('msgfmt', '-c', '-o', 'share/locale/pt_PT/LC_MESSAGES/umit.mo', 'share/locale/pt_PT/pt_PT.po')' returned non-zero exit status 1

Change History

Changed 4 years ago by luis

  • summary changed from Umit fails creating the locale fails to Umit fails creating the locale files

Changed 4 years ago by gpolo

  • owner changed from boltrix to gpolo

Changed 4 years ago by gpolo

  • status changed from new to closed
  • resolution set to fixed

Fixed in r4451.

Note: See TracTickets for help on using tickets.