Package: ooo2dbk
Version: 1.5.0-3
Severity: normal

I used OpenOffice to open and convert to sxw the following document:
http://medical.nema.org/dicom/2007/07_03pu.doc

Then I tried:
$  ooo2dbk -v 07_03pu.sxw
   1 - Initialization (command line options)
       - OOo2DBK config file: /etc/ooo2dbk.xml
       - OpenOffice.org file: 07_03pu.sxw
       - DocBook file: None
       - top element is: book
       - process OLE objects: False
       - xslParams = ['topElementName', 'book']
       - param_syntax = --stringparam %s %s
       - XSLParams = --stringparam topElementName book
   2 - Initialization (configuration file and computed options)
       - preferred encoding: UTF-8
       - XSLT file: /usr/share/ooo2dbk/ooo2dbk.xsl
       - OpenOffice.org file computed path: 07_03pu.sxw
       - DocBook file computed path:
         /home/mathieu/Projects/GDCM/gdcm/Sandbox/ooo/07_03pu.docb.xml
       ==> 0.01 sec.

   3 - Unzip and concat OpenOffice.org XML files
Traceback (most recent call last):
  File "/usr/share/ooo2dbk/ooo2dbk", line 759, in ?
    execArgs()
  File "/usr/share/ooo2dbk/ooo2dbk", line 183, in execArgs
    deltemp=options.flatxml,
  File "/usr/share/ooo2dbk/ooo2dbk", line 737, in convert
    createGlobalXML(globalXML, ooo_file_path)
  File "/usr/share/ooo2dbk/ooo2dbk", line 597, in createGlobalXML
    contentListElts = listChildNodes(docOOoSXW, OOO_CONTENT_FILE_NAME,
ooo_file_path)
  File "/usr/share/ooo2dbk/ooo2dbk", line 505, in listChildNodes
    replaceImageNode(vChildNodes)
  File "/usr/share/ooo2dbk/ooo2dbk", line 553, in replaceImageNode
    replaceImageNode(wChilNodes)
  File "/usr/share/ooo2dbk/ooo2dbk", line 553, in replaceImageNode
    replaceImageNode(wChilNodes)
  File "/usr/share/ooo2dbk/ooo2dbk", line 553, in replaceImageNode
    replaceImageNode(wChilNodes)
  File "/usr/share/ooo2dbk/ooo2dbk", line 524, in replaceImageNode
    hRefValue = node.attributes['xlink:href'].value
  File "xml/dom/minidom.py", line 529, in __getitem__
KeyError: 'xlink:href'

thanks !

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages ooo2dbk depends on:
ii  python                        2.4.4-2    An interactive high-level object-o
ii  xsltproc                      1.1.19-1   XSLT command line processor

Versions of packages ooo2dbk recommends:
ii  python-uno                2.0.4.dfsg.2-2 Python interface for OpenOffice.or

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to