Bug 1099980 - Publican don't works on Ubuntu after the last update of Ubuntu
Summary: Publican don't works on Ubuntu after the last update of Ubuntu
Keywords:
Status: CLOSED DUPLICATE of bug 1099639
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 2.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jeff Fearn 🐞
QA Contact: Ruediger Landmann
URL:
Whiteboard:
Depends On: 1099639 1099643 1105011
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-21 17:24 UTC by GĂŠ Baylard
Modified: 2014-06-24 14:09 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-29 03:28:13 UTC
Embargoed:


Attachments (Terms of Use)

Description GĂŠ Baylard 2014-05-21 17:24:12 UTC
Description of problem:
The build of the translated XML works.
But the buid of the final html fails.

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


How reproducible:
Install the last update of Ubuntu.
Install the publican tree.
Il you run:
publican build --formats=html(-single) --langs=fr-FR (--quiet)

Steps to Reproduce:
1.
2.
3.

Actual results:
Terminal message:

FreeIPA_Guide.xml:6: validity error : No declaration for element book
FreeIPA_Guide.xml:6: validity error : No declaration for attribute lang of element book
Book_Info.xml:6: validity error : No declaration for element bookinfo
Book_Info.xml:6: validity error : No declaration for attribute lang of element bookinfo
......
Conventions.xml:39: validity error : No declaration for element entry
Conventions.xml:42: validity error : No declaration for element entry
Conventions.xml:49: validity error : No declaration for element tbody
Conventions.xml:50: validity error : No declaration for element row
Conventions.xml:50: validity error : No declaration for attribute valign of element row
Conventions.xml:51: validity error : No declaration for element entry
Conventions.xml:53: validity error : No declaration for element screen
Conventions.xml:56: validity error : No declaration for element entry


Expected results:
Nothing on the terminal.
The build of the html file

Additional info:
Was working fine before update.

Comment 1 Jeff Fearn 🐞 2014-05-22 05:55:28 UTC
FYI: This was discussed  on the mailing list [1] it's about RHEL6 but it's the same issue.


https://www.redhat.com/archives/publican-list/2014-May/msg00006.html

Comment 2 Jeff Fearn 🐞 2014-05-29 03:28:13 UTC

*** This bug has been marked as a duplicate of bug 1099639 ***

Comment 3 Damien Regad 2014-06-02 12:30:58 UTC
Hi Jeff

Sorry to post on a closed issue, but I'm facing the same issue as well, and did not want to create another duplicate (bugzilla says I am not authorized to access bug #1099639 - Why ?).

The error occurs both on my local dev box (Ubuntu 14.04 / publican 3.2.1) as well as on a server where I have automated builds setup (Ubuntu server 10.04 / publican 0.99).

Looking at the apt history log since the last successful build, it appears that libxml2 library was upgraded, which I guess confirms this is indeed the same issue described in the mailing list post you referenced above:

Start-Date: 2014-05-15  15:17:00
Upgrade: python-libxml2 (2.7.6.dfsg-1ubuntu1.10, 2.7.6.dfsg-1ubuntu1.11), libxml2 (2.7.6.dfsg-1ubuntu1.10, 2.7.6.dfsg-1ubuntu1.11), libxml2-utils (2.7.6.dfsg-1ubuntu1.10, 2.7.6.dfsg-1ubuntu1.11)
End-Date: 2014-05-15  15:17:04

For the benefits of other users, I fixed the problem by downgrading libxml2 to the previous version:

# apt-cache show libxml2 |grep Version
Version: 2.7.6.dfsg-1ubuntu1.11
Version: 2.7.6.dfsg-1ubuntu1
# apt-get install libxml2=2.7.6.dfsg-1ubuntu1
# echo libxml2 hold |dpkg --set-selections

Comment 4 Jeff Fearn 🐞 2014-06-02 22:55:34 UTC
(In reply to Damien Regad from comment #3)
> Hi Jeff
> 
> Sorry to post on a closed issue, but I'm facing the same issue as well, and
> did not want to create another duplicate (bugzilla says I am not authorized
> to access bug #1099639 - Why ?).

I don't know why that bug had limited access, I removed the limit.

Thanks for the work around.

Comment 5 Damien Regad 2014-06-24 14:09:20 UTC
Jeff,

#1105011 is also restricted access...

For those interested, the libxml2 bug has been patched in Ubuntu, see
https://lists.ubuntu.com/archives/ubuntu-security-announce/2014-June/002542.html

Damien


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