Changes between Initial Version and Version 1 of Ticket #6428, comment 1


Ignore:
Timestamp:
Dec 14, 2015, 9:55:13 PM (8 years ago)
Author:
Ryan J Ollos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6428, comment 1

    initial v1  
    11Replying to [ticket:6428 leandrolive@gmail.com]:
    2 > ==== How to Reproduce ====
    3 > While doing a GET operation on `/wiki/WikiStart`, Trac issued an internal error.
    4 >
    5 > My trac.ini:
    6 > {{{
    7 > [pagetodoc]
    8 > xsltfile = /home/leandro/html_filtered.xslt
    9 >
    10 > [components]
    11 > PageToDoc.* = enabled
    12 > }}}
    13 > I downloaded !PageToDoc using Subversion. My linux is slackware 13.0. It already comes with HTML Tidy and XSLT.
    14 >
    15 >
    16 > Request parameters:
    17 >
    18 > {{{
    19 >
    20 > {'format': u'zip', 'page': u'WikiStart'}
    21 >
    22 > }}}
    23 >
    24 >
    25 >
    26 >
    27 >
    28 > User Agent was: `Opera/9.80 (X11; Linux i686; U; en) Presto/2.2.15 Version/10.10`
    29 >
    30 >
    31 >
    32 > ==== System Information ====
    33 >
    34 >
    35 >
    36 > || '''Trac''' || `0.11.5` ||
    37 >
    38 > || '''Python''' || `2.6.4 (r264:75706, Dec  5 2009, 21:18:28) ` [[br]] `[GCC 4.3.3]` ||
    39 >
    40 > || '''setuptools''' || `0.6c9` ||
    41 >
    42 > || '''SQLite''' || `3.6.14` ||
    43 >
    44 > || '''pysqlite''' || `2.5.5` ||
    45 >
    46 > || '''Genshi''' || `0.5.1` ||
    47 >
    48 > || '''Subversion''' || `1.6.6 (r40053)` ||
    49 >
    50 > || '''jQuery:''' || `1.2.6` ||
    51 >
    52 >
    53 >
    54 > ==== Python Traceback ====
    55 >
    56 > {{{
    57 >
    58 > Traceback (most recent call last):
    59 >
    60 >   File "/usr/lib/python2.6/site-packages/Trac-0.11.5-py2.6.egg/trac/web/main.py", line 444, in _dispatch_request
    61 >
    62 >     dispatcher.dispatch(req)
    63 >
    64 >   File "/usr/lib/python2.6/site-packages/Trac-0.11.5-py2.6.egg/trac/web/main.py", line 205, in dispatch
    65 >
    66 >     resp = chosen_handler.process_request(req)
    67 >
    68 >   File "/usr/lib/python2.6/site-packages/Trac-0.11.5-py2.6.egg/trac/wiki/web_ui.py", line 165, in process_request
    69 >
    70 >     format, versioned_page.name)
    71 >
    72 >   File "/usr/lib/python2.6/site-packages/Trac-0.11.5-py2.6.egg/trac/mimeview/api.py", line 924, in send_converted
    73 >
    74 >     content, selector)
    75 >
    76 >   File "/usr/lib/python2.6/site-packages/Trac-0.11.5-py2.6.egg/trac/mimeview/api.py", line 650, in convert_content
    77 >
    78 >     output = converter.convert_content(req, mimetype, content, ck)
    79 >
    80 >   File "build/bdist.linux-i686/egg/pagetodoc/pagetodoc.py", line 139, in convert_content
    81 >
    82 >     self.execute_external_program(cmd)
    83 >
    84 >   File "build/bdist.linux-i686/egg/pagetodoc/pagetodoc.py", line 200, in execute_external_program
    85 >
    86 >     raise Exception("Error executing command (return code = %s): %s" % (retval, errData))
    87 >
    88 > Exception: Error executing command (return code = 4): /tmp/page2docCNkNGl/word_RXXr1v:1: parser error : Document is empty
    89 >
    90 >
    91 >
    92 > ^
    93 >
    94 > /tmp/page2docCNkNGl/word_RXXr1v:1: parser error : Start tag expected, '<' not found
    95 >
    96 >
    97 >
    98 > ^
    99 >
    100 > cannot parse /tmp/page2docCNkNGl/word_RXXr1v
    101 >
    102 >
    103 >
    104 >
    105 >
    106 > }}}
    107 >
    108 >     
    1092
    1103Same error here. I'm using Ubuntu 9.10 as server and installed Page2doc from svn too.