Opened 11 years ago

Last modified 5 years ago

#1265 new defect

AttributeError: 'unicode' object has no attribute 'decode'

Reported by: craks.sun@… Owned by: hirobe
Priority: normal Component: TinyMceWikiPlugin
Severity: normal Keywords:
Cc: craks.sun@… Trac Release: 0.10



when clicked the 'wisiwyg' button, i got the following errors:

Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/trac/web/", line 379, in dispatch_request
  File "/usr/lib/python2.3/site-packages/trac/web/", line 230, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-i686/egg/tinymcewiki/", line 147, in process_request
  File "/usr/lib/python2.3/site-packages/trac/wiki/", line 124, in process_request
    self._render_editor(req, db, page)
  File "build/bdist.linux-i686/egg/tinymcewiki/", line 204, in _render_editor
  File "build/bdist.linux-i686/egg/tinymcewiki/", line 98, in wiki_to_editorhtml
  File "/usr/lib/python2.3/site-packages/trac/wiki/", line 822, in format
    result = re.sub(, self.replace, line)
  File "/usr/lib/python2.3/", line 143, in sub
    return _compile(pattern, 0).sub(repl, string, count)
  File "build/bdist.linux-i686/egg/tinymcewiki/", line 142, in replace
  File "build/bdist.linux-i686/egg/tinymcewiki/", line 87, in _heading_formatter
AttributeError: 'unicode' object has no attribute 'decode'

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by Ryan J Ollos

Priority: highestnormal
Severity: blockernormal

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain hirobe.

Add Comment

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

Note: See TracTickets for help on using tickets.