Modify

Opened 18 years ago

Closed 17 years ago

#845 closed defect (fixed)

fail for marshaling on wiki.wikiToHtml()

Reported by: Shun-ichi Goto Owned by: Alec Thomas
Priority: normal Component: XmlRpcPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

The method wiki.wikiToHtml() cause error:

cannot marshal <class 'trac.util.html.Markup'> objects

Here is a patch to fix.

  • wiki.py

     
    167167
    168168    def wikiToHtml(self, req, text):
    169169        """ Render arbitrary Wiki text as HTML. """
    170         return wiki_to_html(text, self.env, req, absurls=1)
     170        return unicode(wiki_to_html(text, self.env, req, absurls=1))

Attachments (0)

Change History (2)

comment:1 Changed 17 years ago by David Van Maren

Thanks for this patch -- my installation now works!

comment:2 Changed 17 years ago by Alec Thomas

Resolution: fixed
Status: newclosed

(In [1735]) Applied patches from gotoh and stp, thanks. Closes #434 and #845.

Modify Ticket

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