[Zope-CMF] Re: CMFWiki anchor creation problems

Kent Polk kent@goathill.org
19 Nov 2001 19:48:57 GMT


On 18 Nov 2001 14:30:00 -0600, Simon Michael wrote:
> Hi Kent,
> 
> plain old ZWiki does something similar in 2.4.2 & probably 2.4.3
> (haven't tried that one). Some work on harmonizing with stx NG is
> needed.
> 
> Meanwhile, this workaround seems to restore familiar zwiki behaviour:
> in ZWikiPage.py, import ClassicStructuredText and call
> ClassicStructuredText.HTML instead of StructuredText.HTML.

Thanks. Looks like that opens a can of worms I'll have to look into
also:

Traceback (most recent call last):
  File "/export/home/site/lib/Zope-2.4.3-src/lib/python/OFS/Application.py",
line 563, in import_product
    product=__import__(pname, global_dict, global_dict, silly)
  File "/var/zope/Products/CMFWiki/__init__.py", line 1, in ?
    import CMFWikiPage
  File "/var/zope/Products/CMFWiki/CMFWikiPage.py", line 17, in ?
    from StructuredText.ClassicStructuredText import html_with_references #,
html_quote
  File
"/export/home/site/lib/Zope-2.4.3-src/lib/python/ \
   StructuredText/ClassicStructuredText.py",
line 208, in ?
    import ts_regex
  File "/export/home/site/lib/Zope-2.4.3-src/lib/python/ts_regex.py", line 87,
in ?
    import regex, regsub #, Sync
  File "/usr/local/lib/python2.1/warnings.py", line 39, in warn
    warn_explicit(message, category, filename, lineno, module, registry)
  File "/usr/local/lib/python2.1/warnings.py", line 92, in warn_explicit
    showwarning(message, category, filename, lineno)
  File "/usr/local/lib/python2.1/warnings.py", line 98, in showwarning
    file.write(formatwarning(message, category, filename, lineno))
IOError: [Errno 5] I/O error