Modify

Opened 15 years ago

Closed 14 years ago

#5895 closed defect (fixed)

xsltproc arguments in the wrong order

Reported by: seemant_trac@… Owned by: Lucas Eisenzimmer
Priority: normal Component: PageToDocIntegration
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

The plugin claims the document is empty (and the files in /tmp show the word file to be empty). It turns out that xsltproc on my system is using the following versions of stuff (if it matters):

Using libxml 20703, libxslt 10124 and libexslt 813
xsltproc was compiled against libxml 20703, libxslt 10124 and libexslt 813
libxslt 10124 was compiled against libxml 20703
libexslt 813 was compiled against libxml 20703

To fix the error, I simply changed the order of the arguments in the call to xsltproc:

        cmd = '%s %s --html -o %s %s %s' % (

on line 137, and now the plugin works as expected.

Attachments (0)

Change History (2)

comment:1 Changed 15 years ago by didley@…

I got a similar message

 Trac detected an internal error:

Exception: Error executing command (return code = 4): Warning: program compiled against libxml 207 using older 206
file:///c%3A/dokume~1/admini~1/lokale~1/temp/page2docjc2jrn/word_l-x5h-:1: parser error : Document is empty

file:///c%3A/dokume~1/admini~1/lokale~1/temp/page2docjc2jrn/word_l-x5h-:1: parser error : Start tag expected, '<' not found

cannot parse c:\dokume~1\admini~1\lokale~1\temp\page2docjc2jrn\word_l-x5h-

I changed the argument also to

cmd = '%s %s --html -o %s %s %s' % (

Now it works.

Thanx seemant_trac@…

comment:2 Changed 14 years ago by markm

Resolution: fixed
Status: newclosed

Yikes - I wish I had seen all these errors earlier. Now fixed.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Lucas Eisenzimmer.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.