Re[Setup] flecto and TextIndNG3

gavpw gavinweston at yahoo.com
Wed Jul 23 08:36:57 UTC 2008




My goal is to create a link to an external filesystem and then for it to be
indexed within plone.

Reflecto installed and working. 

TextIndNG3 installed and not indexing.


Other info - instance.log shows some errors on creation of index:

Selected errors:

2008-07-22T14:53:15 INFO txng Content from
knowledge-base/development/perl/perl-docs-perldoc could not be converted to
unicode using the site encoding utf-8

2008-07-22T14:53:15 ERROR txng extract_content failed
(knowledge-base/development/perl/perl-docs-perldoc)
Traceback (most recent call last):
  File
"/opt/Plone-3.1/zinstance/products/TextIndexNG3/src/textindexng/index.py",
line 114, in index_object
    default_language=self.languages[0])
  File
"/opt/Plone-3.1/zinstance/products/TextIndexNG3/src/textindexng/content.py",
line 94, in extract_content
    icc = adapter.indexableContent(fields)
  File
"/opt/Plone-3.1/zinstance/products/TextIndexNG3/adapters/cmf_adapters.py",
line 72, in indexableContent
    self.addSearchableTextField(icc)
  File
"/opt/Plone-3.1/zinstance/products/TextIndexNG3/adapters/cmf_adapters.py",
line 88, in addSearchableTextField
    text = self._c(self.context.SearchableText())
  File
"/opt/Plone-3.1/zinstance/products/TextIndexNG3/adapters/cmf_adapters.py",
line 57, in _c
    return unicode(text, self.encoding)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xa0 in position 3179:
unexpected code byte

  File "/opt/Plone-3.1/Python-2.4/lib/python2.4/xml/sax/handler.py", line
38, in fatalError
    raise exception
SAXParseException: <unknown>:1:0: no element found
------
2008-07-22T14:53:35 WARNING txng No converter registered for application/zip

2008-07-22T14:54:46 INFO Archetypes Error while trying to convert file
contents to 'text/plain' in <Field file(file:rw)>.getIndexable() of <ATFile
at /Plone/knowledge-base/implementation/cerillion/installation/Cerillion
Installation -Euphony.doc>: Unable to find binary "wvHtml" in
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin


Seems painful..... indexing is still working in general but as I've said not
for the newly added external filesystem :-(

-- 
View this message in context: http://n2.nabble.com/Reflecto-and-TextIndNG3-tp577925p577939.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.




More information about the Setup mailing list