[#1408] update

[email protected] (simon)
Newsgroups gmane.comp.web.zope.zwiki
Message-ID <20080430130006-0700__40527.160318061$1209585686$gmane$org@zwiki.org>
The last editor problem is a breakage from the unicode changes. It has been fixed on zwiki.org and commited to unstable, though it raises a larger issue of whether to replace simple field names with the modern field accessors in our catalog metadata.

ZCTextIndex also breaks with unicode content::

  Traceback (most recent call last):
  File "/zope2/Products/ZWiki/Catalog.py", line 112, in index_object
    self.catalog().catalog_object(self,self.url(),idxs)
  File "/zope-2.10.5/lib/python/Products/ZCatalog/ZCatalog.py", line 535, in catalog_object
    update_metadata=update_metadata)
  File "/zope-2.10.5/lib/python/Products/ZCatalog/Catalog.py", line 360, in catalogObject
    blah = x.index_object(index, object, threshold)
  File "/zope-2.10.5/lib/python/Products/PluginIndexes/common/UnIndex.py", line 235, in index_object
    res += self._index_object(documentId, obj, threshold, attr)
  File "/zope-2.10.5/lib/python/Products/PluginIndexes/common/UnIndex.py", line 262, in _index_object
    self.insertForwardIndexEntry(datum, documentId)
  File "/zope-2.10.5/lib/python/Products/PluginIndexes/common/UnIndex.py", line 207, in insertForwardIndexEntry
    indexRow = self._index.get(entry, _marker)
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 5: ordinal not in range(128)

--
forwarded from http://zwiki.org/1408ZwikiOrgCatalogIsNotCompletelyWorking#[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.