Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#8900 closed defect (wontfix)

Exception: Error executing command return code 4 : /tmp/page2docRoHezP/word_6NkvBY:1: parser error : Document is empty ^ /tmp/page2docRoHezP/word_6NkvBY:1: parser error : Start tag expected, not found ^ cannot parse /tmp/page2docRoHezP/word_6NkvBY

Reported by: markus.hoffmann@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.5
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

How to Reproduce

While doing a GET operation on /wiki/WikiStart, Trac issued an internal error. please provide additional details here

Request parameters:

{ format : u zip ,  page : u WikiStart } 

User Agent was: Mozilla/5.0 Windows; U; Windows NT 6.1; en-US; rv:1.9.1.6 Gecko/20091201 Firefox/3.5.1pre

System Information

Trac 0.11.5
Python 2.6.4 r264:75706, Dec 7 2009, 18:59:58
GCC 4.4.1
setuptools 0.6c11
SQLite 3.6.16
pysqlite 2.4.1
Genshi 0.6dev-r0
mod_python 3.3.1
Pygments 1.0
Subversion 1.6.5 r38866
jQuery: 1.3.2

Python Traceback

Traceback  most recent call last :
  File  /usr/lib/python2.6/dist-packages/trac/web/main.py , line 444, in _dispatch_request  dispatcher.dispatch req
  File  /usr/lib/python2.6/dist-packages/trac/web/main.py , line 205, in dispatch  resp   chosen_handler.process_request req
  File  /usr/lib/python2.6/dist-packages/trac/wiki/web_ui.py , line 165, in process_request  format, versioned_page.NAME
  File  /usr/lib/python2.6/dist-packages/trac/mimeview/api.py , line 924, in send_converted  content, selector
  File  /usr/lib/python2.6/dist-packages/trac/mimeview/api.py , line 650, in convert_content  output   converter.convert_content req, mimetype, content, ck
  File  build/bdist.linux-x86_64/egg/pagetodoc/pagetodoc.py , line 139, in convert_content  self.execute_external_program cmd
  File  build/bdist.linux-x86_64/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/page2docRoHezP/word_6NkvBY:1: parser error : Document is empty ^ /tmp/page2docRoHezP/word_6NkvBY:1: parser error : Start tag expected,     not found ^ cannot parse /tmp/page2docRoHezP/word_6NkvBY

Attachments (0)

Change History (2)

comment:1 by Christian Boos, 15 years ago

Description: modified (diff)
Resolution: wontfix
Status: newclosed

pagetodoc/pagetodoc.py: that's a PluginIssue.

Interesting case of broken semi-automatic error reporting, btw. Did you do anything special (copy/paste manually?)

comment:2 by leandrolive@…, 15 years ago

How to Reproduce

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

I am getting the same error message, like showed message above. I installed PageToDoc from subversion. Below I pasted my trac.ini:

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

[components]
PageToDoc.* = enabled

I am using too doxygen and gannt plugins

Request parameters:

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

User Agent was: Opera/9.80 (X11; Linux i686; U; pt-BR) 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/page2docduM9FQ/word_HfJXlX:1: parser error : Document is empty

^
/tmp/page2docduM9FQ/word_HfJXlX:1: parser error : Start tag expected, '<' not found

^
cannot parse /tmp/page2docduM9FQ/word_HfJXlX

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.