Description of problem:
After running the create command for publican, the publican.cfg file contains blank properties, which mean the book cannot be built.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run the command: publican create --name Test --lang en-US --version 3.0 --edition 1.0 --product JBoss Developer Studio --brand JBoss
2. Build the book with the command publican build --formats html,html-single,pdf --langs en-US
3. Build fails
The following error is produced:
Invalid format for docname. Value (ARRAY(0xa4dc728)) does not conform to constraint ([^a-zA-Z_\-0-9.]) at /usr/bin/publican line 366
The build succeeds
The parameters causing the error in the publican.cfg file are:
This was cause by empty fields being added to the publican.cfg file. Modified code to delete empty elements correctly.
The real bug is probably in Config::Simple which should not be choking on empty fields, I'll try and track it down when I get some free cycles.
Also note that your productname field in Book_Info.xml is probably not what you want. This is due to the white space, so you need to add quotes around the name.
e.g. --product "JBoss Developer Studio"
*** Bug 537743 has been marked as a duplicate of this bug. ***
publican-1.3-0.fc12 has been submitted as an update for Fedora 12.
publican-1.3-0.fc11 has been submitted as an update for Fedora 11.
publican-1.3-0.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
publican-1.3-0.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.