Modify

Opened 7 years ago

Closed 21 months 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 rjollos)

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/main.py", line 406, in dispatch_request
        dispatcher.dispatch(req)
      File "/usr/local/trac-0.10.5dev//lib/python2.4/site-packages/trac/web/main.py", line 237, in dispatch
        resp = chosen_handler.process_request(req)
      File "/usr/local/trac-0.10.5dev//lib/python2.4/site-packages/trac/wiki/web_ui.py", 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/web_ui.py", line 442, in _render_view
        req.hdf['wiki'] = {
      File "/usr/local/trac-0.10.5dev//lib/python2.4/site-packages/trac/wiki/formatter.py", 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/formatter.py", line 795, in format
        self.handle_code_block(line)
      File "/usr/local/trac-0.10.5dev//lib/python2.4/site-packages/trac/wiki/formatter.py", line 734, in handle_code_block
        self.out.write(to_unicode(self.code_processor.process(
      File "/usr/local/trac-0.10.5dev//lib/python2.4/site-packages/trac/wiki/formatter.py", line 114, in process
        text = self.processor(req, text)
      File "/usr/local/trac-0.10.5dev//lib/python2.4/site-packages/trac/wiki/formatter.py", line 106, in _mimeview_processor
        return Mimeview(self.env).render(req, self.name, text)
      File "/usr/local/trac-0.10.5dev//lib/python2.4/site-packages/trac/mimeview/api.py", 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)

mylyn-context.zip (1.1 KB) - added by jmt4b04d4v 7 years ago.
mylyn/context/zip

Download all attachments as: .zip

Change History (4)

comment:1 Changed 7 years ago by jmt4b04d4v

  • Description modified (diff)
  • Status changed from new to assigned

Investigate first

Changed 7 years ago by jmt4b04d4v

mylyn/context/zip

comment:2 Changed 7 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 21 months ago by rjollos

  • Description modified (diff)
  • Resolution set to wontfix
  • Status changed from assigned to closed

Deprecated. See Trac 0.12 if you need a translation.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from jmt4b04d4v. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.