Opened 7 years ago

Closed 7 years ago

Last modified 13 months ago

#6428 closed defect (fixed)

can't export wiki

Reported by: leandrolive@… Owned by: lei
Priority: normal Component: PageToDocIntegration
Severity: normal Keywords:
Cc: Trac Release: 0.11


How to Reproduce

While doing a GET operation on /wiki/WikiStart, Trac issued an internal error.

My trac.ini:

xsltfile = /home/leandro/html_filtered.xslt

PageToDoc.* = enabled

I downloaded PageToDoc using Subversion. My linux is slackware 13.0. It already comes with HTML Tidy and XSLT.

Request parameters:

{'format': u'zip', 'page': u'WikiStart'}

User Agent was: Opera/9.80 (X11; Linux i686; U; en) Presto/2.2.15 Version/10.10

System Information

Trac 0.11.5
Python 2.6.4 (r264:75706, Dec 5 2009, 21:18:28)
[GCC 4.3.3]
setuptools 0.6c9
SQLite 3.6.14
pysqlite 2.5.5
Genshi 0.5.1
Subversion 1.6.6 (r40053)
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):

  File "/usr/lib/python2.6/site-packages/Trac-0.11.5-py2.6.egg/trac/web/", line 444, in _dispatch_request


  File "/usr/lib/python2.6/site-packages/Trac-0.11.5-py2.6.egg/trac/web/", line 205, in dispatch

    resp = chosen_handler.process_request(req)

  File "/usr/lib/python2.6/site-packages/Trac-0.11.5-py2.6.egg/trac/wiki/", line 165, in process_request


  File "/usr/lib/python2.6/site-packages/Trac-0.11.5-py2.6.egg/trac/mimeview/", line 924, in send_converted

    content, selector)

  File "/usr/lib/python2.6/site-packages/Trac-0.11.5-py2.6.egg/trac/mimeview/", line 650, in convert_content

    output = converter.convert_content(req, mimetype, content, ck)

  File "build/bdist.linux-i686/egg/pagetodoc/", line 139, in convert_content


  File "build/bdist.linux-i686/egg/pagetodoc/", line 200, in execute_external_program

    raise Exception("Error executing command (return code = %s): %s" % (retval, errData))

Exception: Error executing command (return code = 4): /tmp/page2docCNkNGl/word_RXXr1v:1: parser error : Document is empty


/tmp/page2docCNkNGl/word_RXXr1v:1: parser error : Start tag expected, '<' not found


cannot parse /tmp/page2docCNkNGl/word_RXXr1v

Attachments (0)

Change History (3)

comment:1 in reply to: ↑ description Changed 7 years ago by anonymous

Replying to

Same error here. I'm using Ubuntu 9.10 as server and installed Page2doc from svn too.

Last edited 13 months ago by rjollos (previous) (diff)

comment:2 follow-up: Changed 7 years ago by markm

  • Resolution set to fixed
  • Status changed from new to closed

Same bug as reported by everyone sorry for not checking the tracker for a while. fixed now.

comment:3 in reply to: ↑ 2 Changed 7 years ago by leandrolive@…

Replying to markm:

Same bug as reported by everyone sorry for not checking the tracker for a while. fixed now.

It's work, thank you!!! ;-)

Add Comment

Modify Ticket

as closed The owner will remain lei.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.