Modify

Opened 7 years ago

Last modified 15 months 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

Description

Hi,

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

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

Attachments (0)

Change History (1)

comment:1 Changed 15 months ago by rjollos

  • Priority changed from highest to normal
  • Severity changed from blocker to normal

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.