Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

#8946 closed defect (cantfix)

XMLSyntaxError: Attribute width redefined, line 28, column 48

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

Description

How to Reproduce

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

(please provide additional details here)

Request parameters:

{'format': u'odt', 'page': u'TestPage1'}

User Agent was: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.6) Gecko/20091216 Mandriva Linux/1.9.1.6-0.1mdv2010.0 (2010.0) Firefox/3.5.6

System Information

Trac 0.11.5
Python 2.6.4 (r264:75706, Oct 27 2009, 15:51:44)
[GCC 4.4.1]
setuptools 0.6c9
SQLite 3.6.18
pysqlite 2.5.5
Genshi 0.5.1
Pygments 1.1
Subversion 1.6.6 (r40053)
SilverCity 0.9.7
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 444, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 205, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.6/site-packages/trac/wiki/web_ui.py", line 165, in process_request
    format, versioned_page.name)
  File "/usr/lib/python2.6/site-packages/trac/mimeview/api.py", line 924, in send_converted
    content, selector)
  File "/usr/lib/python2.6/site-packages/trac/mimeview/api.py", line 650, in convert_content
    output = converter.convert_content(req, mimetype, content, ck)
  File "build/bdist.linux-i686/egg/odtexport/odtexport.py", line 73, in convert_content
    odtfile.import_xhtml(html)
  File "build/bdist.linux-i686/egg/odtexport/odtexport.py", line 171, in import_xhtml
    odt = self.xhtml_to_odt(xhtml)
  File "build/bdist.linux-i686/egg/odtexport/odtexport.py", line 182, in xhtml_to_odt
    xhtml = etree.fromstring(xhtml) # must be valid xml
  File "lxml.etree.pyx", line 2538, in lxml.etree.fromstring (src/lxml/lxml.etree.c:48266)
  File "parser.pxi", line 1536, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:71653)
  File "parser.pxi", line 1415, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:70514)
  File "parser.pxi", line 938, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:67438)
  File "parser.pxi", line 539, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:63820)
  File "parser.pxi", line 625, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:64741)
  File "parser.pxi", line 565, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:64084)
XMLSyntaxError: Attribute width redefined, line 28, column 48

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 15 years ago

Resolution: cantfix
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain abompard.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from abompard 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.