Modify ↓
Opened 16 years ago
Closed 16 years ago
#9052 closed defect (cantfix)
Exception: Error executing command (return code = 4): /tmp/page2docmCNB9N/word_wOEZa0:1: parser error : Document is empty ^ /tmp/page2docmCNB9N/word_wOEZa0:1: parser error : Start tag expected, '<' not found ^ cannot parse /tmp/page2docmCNB9N/word_wOEZa0
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | |
| Severity: | normal | Keywords: | pagetodoc integration |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
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 5.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729) FBSMTWB
System Information
| Trac | 0.11.7stable-r9170
|
| Python | 2.6 (r26:66714, Nov 3 2009, 17:33:38) [GCC 4.4.1 20090725 (Red Hat 4.4.1-2)]
|
| setuptools | 0.6c9
|
| MySQL | server: "5.1.42", client: "5.1.42", thread-safe: 0
|
| MySQLdb | 1.2.3c1
|
| Genshi | 0.5.1
|
| Pygments | 1.1.1
|
| Bitten | 0.7dev-r805
|
| CustomFieldAdmin | 0.2.2
|
| 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.7stable_r9170-py2.6.egg/trac/web/main.py", line 450, in _dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.6/site-packages/Trac-0.11.7stable_r9170-py2.6.egg/trac/web/main.py", line 206, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.6/site-packages/Trac-0.11.7stable_r9170-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.7stable_r9170-py2.6.egg/trac/mimeview/api.py", line 961, in send_converted
content, selector)
File "/usr/lib/python2.6/site-packages/Trac-0.11.7stable_r9170-py2.6.egg/trac/mimeview/api.py", line 669, 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/page2docmCNB9N/word_wOEZa0:1: parser error : Document is empty
^
/tmp/page2docmCNB9N/word_wOEZa0:1: parser error : Start tag expected, '<' not found
^
cannot parse /tmp/page2docmCNB9N/word_wOEZa0
Attachments (0)
Note:
See TracTickets
for help on using tickets.



PluginIssue (TH:PageToDocIntegration).
And btw., nothing related to this particular error but:
The thread-safe: 0 part is very likely to cause you trouble, see MySqlDb for advices.