warning relate dm-multipath.xml. fix path or this page are not include in translate version

Bug #964499 reported by Giuseppe Terrasi
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Server Guide
Fix Released
Undecided
Unassigned

Bug Description

Hi all
After the last change on serverguide branch building the html version I receive this warning:

 --Validating it/serverguide.xml ...
warning: failed to load external entity "it/storage/dm-multipath/dm-multipath.xml"
it/serverguide.xml:389: element include: XInclude error : could not load it/storage/dm-multipath/dm-multipath.xml, and no fallback was found
if find serverguide/it -name "*.xml"; then \
  xsltproc --xinclude -o build/serverguide/it/index.html libs/ubuntu-html-chunk-cust.xsl serverguide/it/serverguide.xml; \

and

warning: failed to load external entity "serverguide/it/storage/dm-multipath/dm-multipath.xml"
serverguide/it/serverguide.xml:389: element include: XInclude error : could not load serverguide/it/storage/dm-multipath/dm-multipath.xml, and no fallback was found

Related branches

Revision history for this message
Giuseppe Terrasi (giuseppeterrasi-deactivatedaccount) wrote :

Ok. Problem is related to all different languages of english.

See translate.sh:

translate () {
        y=$(basename ${1} .po)
        echo " --translating ${y}"
        mkdir -p ${y}
        for i in C/*xml; do
                j=$(basename ${i} C/)
                k=$(basename ${j} .xml)
                xml2po -e -p po/${y}.po C/${j} >${y}/${j}
        done

Seems not working with xml present into subforlder C/

Please adjust this script o remane the path of dm-multipath

Changed in serverguide:
status: New → Confirmed
summary: - warnig during build html serverguide
+ warning relate dm-multipath.xml. fix path or this page are not include
+ in translate version
Revision history for this message
Peter Matulis (petermatulis) wrote :

I do not see these errors. Can you try again with the latest trunk?

Revision history for this message
Giuseppe Terrasi (giuseppeterrasi-deactivatedaccount) wrote :

I Peter,

Sure. Step to reproduce:
1) bzr branch lp:serverguide
2) edit Makefile
3) in Makefile set "LN=" like "it" or other languages different to english
4) make serverguide

Output result (so long): http://pastebin.ubuntu.com/905830/

View result: in index multipath guide doesn't appear (http://37.9.231.137/www/12.04/server/serverguide/it/) and also al the botton you can see a red xml tag that is "<xi:include></xi:include>"

Also, note that under this path serverguide/build/serverguide/it html related multipath guide is not present.

Ciao!

Revision history for this message
Giuseppe Terrasi (giuseppeterrasi-deactivatedaccount) wrote :

Change status in fix committed. Need review.
Please see: https://code.launchpad.net/~giuseppeterrasi/serverguide/fix-multipath/+merge/100277

Changed in serverguide:
status: Confirmed → Fix Committed
Changed in serverguide:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.