Modify

Opened 17 years ago

Closed 12 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/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 17 years ago.
mylyn/context/zip

Download all attachments as: .zip

Change History (4)

comment:1 Changed 17 years ago by jmt4b04d4v

Description: modified (diff)
Status: newassigned

Investigate first

Changed 17 years ago by jmt4b04d4v

Attachment: mylyn-context.zip added

mylyn/context/zip

comment:2 Changed 17 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 12 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
Action
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.