Ticket #845 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

fail for marshaling on wiki.wikiToHtml()

Reported by: Shun-ichi Goto <shunichi.goto@gmail.com> Assigned to: athomas
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.

Index: wiki.py
===================================================================
--- wiki.py	(revision 1446)
+++ wiki.py	(working copy)
@@ -167,4 +167,4 @@
 
     def wikiToHtml(self, req, text):
         """ Render arbitrary Wiki text as HTML. """
-        return wiki_to_html(text, self.env, req, absurls=1)
+        return unicode(wiki_to_html(text, self.env, req, absurls=1))

Attachments

Change History

11/27/06 10:24:18 changed by david.vanmaren@dako.com

Thanks for this patch -- my installation now works!

12/24/06 07:37:51 changed by athomas

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #845 (fail for marshaling on wiki.wikiToHtml())




Change Properties
Action