Modify

Opened 14 years ago

Closed 14 years ago

Last modified 8 years ago

#6428 closed defect (fixed)

can't export wiki

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

Description

How to Reproduce

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

My trac.ini:

[pagetodoc]
xsltfile = /home/leandro/html_filtered.xslt

[components]
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/main.py", line 444, in _dispatch_request

    dispatcher.dispatch(req)

  File "/usr/lib/python2.6/site-packages/Trac-0.11.5-py2.6.egg/trac/web/main.py", 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/web_ui.py", line 165, in process_request

    format, versioned_page.name)

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

    content, selector)

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

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

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

    self.execute_external_program(cmd)

  File "build/bdist.linux-i686/egg/pagetodoc/pagetodoc.py", 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 14 years ago by anonymous

Replying to leandrolive@gmail.com:

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

Last edited 8 years ago by Ryan J Ollos (previous) (diff)

comment:2 Changed 14 years ago by markm

Resolution: fixed
Status: newclosed

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

comment:3 in reply to:  2 Changed 14 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!!! ;-)

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.