Opened 14 years ago

Closed 9 years ago

#1927 closed defect (wontfix)

Some wiki pages (default ones) are broken (don't render correctly)

Reported by: jmt4b04d4v Owned by: jmt4b04d4v
Priority: normal Component: TracSpanishTranslation
Severity: normal Keywords: UnicodeEncodeError wiki
Cc: Trac Release: 0.10

Description (last modified by Ryan J Ollos)

Following (default) wiki pages arise UnicodeEncodeError:

  • WikiProcessors
  • WikiRestructuredText
  • WikiRestructuredTextLinks
    Traceback (most recent call last):
      File "/usr/local/trac-0.10.5dev//lib/python2.4/site-packages/trac/web/", line 406, in dispatch_request
      File "/usr/local/trac-0.10.5dev//lib/python2.4/site-packages/trac/web/", line 237, in dispatch
        resp = chosen_handler.process_request(req)
      File "/usr/local/trac-0.10.5dev//lib/python2.4/site-packages/trac/wiki/", line 135, in process_request
        self._render_view(req, db, page)
      File "/usr/local/trac-0.10.5dev//lib/python2.4/site-packages/trac/wiki/", line 442, in _render_view
        req.hdf['wiki'] = {
      File "/usr/local/trac-0.10.5dev//lib/python2.4/site-packages/trac/wiki/", line 1001, in wiki_to_html
        Formatter(env, req, absurls, db).format(wikitext, out, escape_newlines)
      File "/usr/local/trac-0.10.5dev//lib/python2.4/site-packages/trac/wiki/", line 795, in format
      File "/usr/local/trac-0.10.5dev//lib/python2.4/site-packages/trac/wiki/", line 734, in handle_code_block
      File "/usr/local/trac-0.10.5dev//lib/python2.4/site-packages/trac/wiki/", line 114, in process
        text = self.processor(req, text)
      File "/usr/local/trac-0.10.5dev//lib/python2.4/site-packages/trac/wiki/", line 106, in _mimeview_processor
        return Mimeview(self.env).render(req,, text)
      File "/usr/local/trac-0.10.5dev//lib/python2.4/site-packages/trac/mimeview/", line 466, in render
        self.log.warning('HTML preview using %s failed (%s)'
    UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 13: ordinal not in range(128)

Attachments (1) (1.1 KB) - added by jmt4b04d4v 14 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 14 years ago by jmt4b04d4v

Description: modified (diff)
Status: newassigned

Investigate first

Changed 14 years ago by jmt4b04d4v

Attachment: added


comment:2 Changed 14 years ago by jmt4b04d4v

Found a clue, it's an UnicodeEncodeError thrown regarding missing libraries for WikiRestructuredText (a patch issue, my fault again).

Installing Python Docutils may solve the inconvenience meanwhile.

comment:3 Changed 9 years ago by Ryan J Ollos

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

Deprecated. See Trac 0.12 if you need a translation.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain jmt4b04d4v.
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.