Bug 1313652 - Building book with brands fails if used --common_content
Summary: Building book with brands fails if used --common_content
Keywords:
Status: NEW
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: future
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Nobody
QA Contact: Ruediger Landmann
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-02 06:58 UTC by Elena Mishina
Modified: 2022-04-26 19:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Elena Mishina 2016-03-02 06:58:01 UTC
Description of problem:
I am trying to change the brand of my book from 'common' to 'my-brand'. I don't want to use install-brand (it requires root privileges). I'm trying to use --common_content=s override path to Common_Content directory. But build fails.


Version-Release number of selected component (if applicable):
publican 4.3.2


How reproducible:


Steps to Reproduce:
1. Create a book:
publican create --type Book --lang ru-RU --name Sample --brand my-brand
2. copy folder Common_Content/my-brand into ru-RU
3. Build book:
cd Sample
publican build --formats html-single --langs ru-RU --common_content ru-RU/Common_Content

Actual results:
Setting up ru-RU
Can not copy files ru-RU/Common_Content/common/en-US/* to tmp/ru-RU/xml/Common_Content due to error:  at /usr/share/perl5/Publican/Builder/DocBook4.pm line 381.



Expected results:
Success build

Additional info:
for publican 3.0 it's worked well.
If I install my-brand for publican 4.3.2 it's worked well.


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