Submitted by : SimonMichael at: 2004-02-02T09:03:51+00:00 (13 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

While updating FrontPage and ReleaseNotes, I got nasty unicode errors :-/ :

  2004-02-02T09:02:06 ERROR(200) SiteError http://zwiki.org/FrontPage/edit
  Traceback (innermost last):
  File /usr/local/zope/software/lib/python/ZPublisher/Publish.py, line 98, in publish
  File /usr/local/zope/software/lib/python/ZPublisher/mapply.py, line 88, in mapply
    (Object: edit)
  File /usr/local/zope/software/lib/python/ZPublisher/Publish.py, line 39, in call_object
    (Object: edit)
  File /usr/local/zope/instance/Products/ZWiki/Editing.py, line 441, in edit
    (Object: FrontPage)
  File /usr/local/zope/instance/Products/ZWiki/Editing.py, line 518, in handleEditText
    (Object: FrontPage)
  File /usr/local/zope/instance/Products/ZWiki/Editing.py, line 919, in setText
    (Object: FrontPage)
  File /usr/local/zope/instance/Products/ZWiki/ZWikiPage.py, line 277, in cookDtmlIfNeeded
    (Object: FrontPage)
  File /usr/local/zope/instance/Products/ZWiki/ZWikiPage.py, line 286, in cook
    (Object: FrontPage)
  File /usr/local/zope/software/lib/python/DocumentTemplate/DT_String.py, line 170, in parse
    (Object: FrontPage)
  File /usr/local/zope/software/lib/python/DocumentTemplate/DT_String.py, line 223, in parse_block
    (Object: FrontPage)
  File /usr/local/zope/software/lib/python/DocumentTemplate/DT_String.py, line 170, in parse
    (Object: FrontPage)
  File /usr/local/zope/software/lib/python/DocumentTemplate/DT_String.py, line 223, in parse_block
    (Object: FrontPage)
  File /usr/local/zope/software/lib/python/DocumentTemplate/DT_String.py, line 173, in parse
    (Object: FrontPage)
  File /usr/local/zope/software/lib/python/DocumentTemplate/DT_Var.py, line 187, in __init__
  File /usr/local/zope/software/lib/python/DocumentTemplate/DT_Util.py, line 248, in name_param
    (Info: ({'': u'"wikilink(quote)"'}, 'var', 1, 'name'))
  File /usr/local/zope/software/lib/python/RestrictedPython/Eval.py, line 49, in __init__
    (Object: wikilink(quote))
  File /usr/local/mystuff/lib/python2.1/string.py, line 314, in translate
  UnicodeError: ASCII decoding error: ordinal not in range(128)


comments:

I assume it's 0.27-specific --SimonMichael, Mon, 02 Feb 2004 09:09:04 -0800 reply
Title: IssueNo0693 editing a page gives UnicodeError with 0.27 => IssueNo0693 editing some page gives UnicodeError with 0.27

also, --SimonMichael, Mon, 02 Feb 2004 13:44:13 -0800 reply
Possibly related error when rendering ReleaseNotes:

 Structured Text rendering failed:
 Traceback (most recent call last):
  File "/usr/local/zope/instance/Products/ZWiki/PageTypes.py", line 197, in renderStxIn
    t = StructuredText.HTMLWithImages(
  File "/usr/local/zope/software/lib/python/StructuredText/ST.py", line 119, in StructuredText
    paragraphs = unicode(paragraphs, 'utf-8')
 UnicodeError: UTF-8 decoding error: invalid data

solved --SimonMichael, Mon, 02 Feb 2004 19:00:31 -0800 reply
Due to the stx i18n patch, which I was testing. I guess Zwiki is not compatible with it yet. It would be nice to resolve these.

should allow international chars in STX rules --SimonMichael, Mon, 02 Feb 2004 19:03:02 -0800 reply
Title: IssueNo0693 editing some page gives UnicodeError with 0.27 => IssueNo0693 make Zwiki compatible with STX i18n patch ? Category: general => formatting and rendering Severity: serious => wishlist

property change -- Sun, 30 Jan 2005 08:48:05 -0800 reply
Category: user-pagetypes => user-editing-stx

... --betabug, Thu, 22 Feb 2007 16:19:44 +0000 reply
Category: user-editing => user-editing-stx Severity: funded => wishlist