Modify

Opened 17 years ago

Closed 3 years ago

#1265 closed defect (wontfix)

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 (2)

comment:1 Changed 11 years ago by Ryan J Ollos

Priority: highestnormal
Severity: blockernormal

comment:2 Changed 3 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

Deprecated and removed.

Modify Ticket

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