Bug 690723 - [l10n] publican doesn't process "()" characters in the .pot filename
Summary: [l10n] publican doesn't process "()" characters in the .pot filename
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 3.0
Assignee: Jeff Fearn 🐞
QA Contact: Ruediger Landmann
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-25 06:36 UTC by Chester Cheng
Modified: 2016-06-23 04:45 UTC (History)
4 users (show)

Fixed In Version: 3.0.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-31 03:11:44 UTC
Embargoed:


Attachments (Terms of Use)

Description Chester Cheng 2011-03-25 06:36:25 UTC
Description of problem:
When there's "(" and/or ")" in the filename of a .pot file, publican stop working.

Version-Release number of selected component (if applicable):
publican-2.5-1.el5

How reproducible:
Always.

Steps to Reproduce:
1. svn co https://svn.devel.redhat.com/repos/ecs/JBoss_Enterprise_Portal_Platform/5.1/FINAL/User_Guide JBoss_Enterprise_Portal_Platform/5.1/FINAL/User_Guide
2. cd JBoss_Enterprise_Portal_Platform/5.1/FINAL/User_Guide
3. publican update_pot; publican update_po --lang ja-JP
  
Actual results:
Processing file pot/modules/language/Right_To_Left_Support_(RTL).pot -> ja-JP/modules/language/Right_To_Left_Support_(RTL).po
sh: -c: line 0: syntax error near unexpected token `('
sh: -c: line 0: `msgmerge --no-wrap --quiet --backup=none --update ja-JP/modules/language/Right_To_Left_Support_(RTL).po pot/modules/language/Right_To_Left_Support_(RTL).pot'
Fatal Error: msgmerge failed to merge updates. POT File: pot/modules/language/Right_To_Left_Support_(RTL).pot. Po File: ja-JP/modules/language/Right_To_Left_Support_(RTL).po at /usr/bin/publican line 654


Expected results:
.po files should be generated without problem.

Additional info:

Comment 1 Jeff Fearn 🐞 2011-04-18 06:10:10 UTC
This should have been fixed by #661569, requires testing.

Comment 2 Dayle Parker 2012-04-27 03:46:49 UTC
Fix verified on Fedora 16 with Publican 3.0-0.fc16.t166.

.po files are generated without any problem, even if they have parentheses - 

ie. User_Guide/pot/modules/Right_To_Left_Support_(RTL).pot
    User_Guide/ja-JP/modules/language/Right_To_Left_Support_(RTL).po


Note You need to log in before you can comment on or make changes to this bug.