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.
Have run unit tests:
[EMAIL PROTECTED] doc]# pwd
/opt/Plone-3.1/zinstance/products/TextIndexNG3/doc
[EMAIL PROTECTED] doc]# cd /opt/Plone-3.1/zinstance/
[EMAIL PROTECTED] zinstance]# ls
adminPassword.txt bin buildout.cfg buildout.cfg.orig buildout.cfg.test
develop-eggs parts products README-Buildout.txt README.txt src var
[EMAIL PROTECTED] zinstance]# bin/zopectl test -s Products.TextIndexNG3
Running tests at level 1
Installing CMFCore ... done (0.205s)
Installing CMFDefault ... done (0.198s)
Installing CMFCalendar ... done (0.316s)
Installing CMFTopic ... done (0.122s)
Installing DCWorkflow ... done (0.452s)
Installing CMFActionIcons ... done (0.292s)
Installing CMFQuickInstallerTool ... done (0.631s)
Installing CMFFormController ... done (3.425s)
Installing GroupUserFolder ... done (4.339s)
Installing ZCTextIndex ... done (2.179s)
Installing CMFPlone ... done (27.576s)
Installing Archetypes ... done (0.940s)
Installing ATContentTypes ... done (0.327s)
Installing ATReferenceBrowserWidget ... done (0.130s)
Installing CMFDynamicViewFTI ... done (0.105s)
Installing ExternalEditor ... done (0.171s)
Installing ExtendedPathIndex ... done (0.180s)
Installing ResourceRegistries ... done (0.155s)
Installing SecureMailHost ... done (0.122s)
Installing CMFPlacefulWorkflow ... done (0.513s)
Installing PasswordResetTool ... done (0.188s)
Installing PluggableAuthService ...
/opt/Plone-3.1/zinstance/parts/plone/GenericSetup/registry.py:744:
DeprecationWarning: Version for profile PluggableAuthService:simple taken
from version.txt. This is deprecated behaviour and will be removed in
GenericSetup 1.5: please specify the version in metadata.xml.
DeprecationWarning)
/opt/Plone-3.1/zinstance/parts/plone/GenericSetup/registry.py:744:
DeprecationWarning: Version for profile PluggableAuthService:empty taken
from version.txt. This is deprecated behaviour and will be removed in
GenericSetup 1.5: please specify the version in metadata.xml.
DeprecationWarning)
done (0.357s)
Installing PluginRegistry ... done (0.119s)
Installing PlonePAS ... done (0.173s)
Installing kupu ... done (2.400s)
Installing CMFEditions ... done (0.189s)
Installing CMFDiffTool ... done (0.118s)
Installing PloneLanguageTool ... done (0.172s)
Installing Five ...
/opt/Plone-3.1/zinstance/parts/zope2/lib/python/zope/configuration/xmlconfig.py:323:
DeprecationWarning: zope.app.annotation has moved to zope.annotation. Import
of zope.app.annotation will become unsupported in Zope 3.5
__import__(arguments[0])
/opt/Plone-3.1/zinstance/parts/plone/GenericSetup/registry.py:744:
DeprecationWarning: Version for profile Products.CMFActionIcons:actionicons
taken from version.txt. This is deprecated behaviour and will be removed in
GenericSetup 1.5: please specify the version in metadata.xml.
DeprecationWarning)
/opt/Plone-3.1/zinstance/parts/plone/GenericSetup/registry.py:744:
DeprecationWarning: Version for profile Products.CMFCalendar:default taken
from version.txt. This is deprecated behaviour and will be removed in
GenericSetup 1.5: please specify the version in metadata.xml.
DeprecationWarning)
/opt/Plone-3.1/zinstance/parts/plone/GenericSetup/registry.py:744:
DeprecationWarning: Version for profile Products.CMFCalendar:skins_support
taken from version.txt. This is deprecated behaviour and will be removed in
GenericSetup 1.5: please specify the version in metadata.xml.
DeprecationWarning)
/opt/Plone-3.1/zinstance/parts/plone/GenericSetup/registry.py:744:
DeprecationWarning: Version for profile Products.CMFDefault:default taken
from version.txt. This is deprecated behaviour and will be removed in
GenericSetup 1.5: please specify the version in metadata.xml.
DeprecationWarning)
/opt/Plone-3.1/zinstance/parts/plone/GenericSetup/registry.py:744:
DeprecationWarning: Version for profile Products.CMFDefault:views_support
taken from version.txt. This is deprecated behaviour and will be removed in
GenericSetup 1.5: please specify the version in metadata.xml.
DeprecationWarning)
/opt/Plone-3.1/zinstance/parts/plone/GenericSetup/registry.py:744:
DeprecationWarning: Version for profile Products.CMFDefault:sample_content
taken from version.txt. This is deprecated behaviour and will be removed in
GenericSetup 1.5: please specify the version in metadata.xml.
DeprecationWarning)
/opt/Plone-3.1/zinstance/parts/plone/GenericSetup/registry.py:744:
DeprecationWarning: Version for profile Products.CMFTopic:default taken from
version.txt. This is deprecated behaviour and will be removed in
GenericSetup 1.5: please specify the version in metadata.xml.
DeprecationWarning)
/opt/Plone-3.1/zinstance/parts/plone/GenericSetup/registry.py:744:
DeprecationWarning: Version for profile Products.CMFUid:default taken from
version.txt. This is deprecated behaviour and will be removed in
GenericSetup 1.5: please specify the version in metadata.xml.
DeprecationWarning)
/opt/Plone-3.1/zinstance/parts/plone/GenericSetup/registry.py:744:
DeprecationWarning: Version for profile Products.DCWorkflow:revision2 taken
from version.txt. This is deprecated behaviour and will be removed in
GenericSetup 1.5: please specify the version in metadata.xml.
DeprecationWarning)
/opt/Plone-3.1/zinstance/parts/plone/GenericSetup/registry.py:744:
DeprecationWarning: Version for profile
Products.MimetypesRegistry:MimetypesRegistry taken from version.txt. This is
deprecated behaviour and will be removed in GenericSetup 1.5: please specify
the version in metadata.xml.
DeprecationWarning)
/opt/Plone-3.1/zinstance/parts/plone/GenericSetup/registry.py:744:
DeprecationWarning: Version for profile
Products.PortalTransforms:PortalTransforms taken from version.txt. This is
deprecated behaviour and will be removed in GenericSetup 1.5: please specify
the version in metadata.xml.
DeprecationWarning)
/opt/Plone-3.1/zinstance/parts/plone/GenericSetup/registry.py:744:
DeprecationWarning: Version for profile Products.TextIndexNG3:default taken
from version.txt. This is deprecated behaviour and will be removed in
GenericSetup 1.5: please specify the version in metadata.xml.
DeprecationWarning)
done (39.145s)
Running unit tests:
Running:
....................................sh: pdftotext: command not found
Failure in test testPDF
(Products.TextIndexNG3.src.textindexng.tests.testConverters.ConverterTests)
Traceback (most recent call last):
File "/opt/Plone-3.1/Python-2.4/lib/python2.4/unittest.py", line 260, in
run
testMethod()
File
"/opt/Plone-3.1/zinstance/products/TextIndexNG3/src/textindexng/tests/testConverters.py",
line 89, in testPDF
self.assertEqual(got_words, expected_words)
File "/opt/Plone-3.1/Python-2.4/lib/python2.4/unittest.py", line 333, in
failUnlessEqual
raise self.failureException, \
AssertionError: [] != ['Viel', 'V\xc3\xb6gel', 'sprangen', 'artig', 'in',
'den', 'T\xc3\xbcpel', 'und', '\xc3\xbcber', 'Feld', 'und', 'W\xc3\xbcste']
.......sh: pdftotext: command not found
Failure in test testObjectsImplementingITextIndexableRaw
(Products.TextIndexNG3.src.textindexng.tests.testIndex.ContentExtractionTests)
Traceback (most recent call last):
File "/opt/Plone-3.1/Python-2.4/lib/python2.4/unittest.py", line 260, in
run
testMethod()
File
"/opt/Plone-3.1/zinstance/products/TextIndexNG3/src/textindexng/tests/testIndex.py",
line 92, in testObjectsImplementingITextIndexableRaw
self.assertEqual(data['content'].strip(), u'Viel Vögel sprangen artig in
den Tüpel und über Feld und Wüste')
File "/opt/Plone-3.1/Python-2.4/lib/python2.4/unittest.py", line 333, in
failUnlessEqual
raise self.failureException, \
AssertionError: u'' != u'Viel V\xf6gel sprangen artig in den T\xfcpel und
\xfcber Feld und W\xfcste'
..................................................................................
Ran 125 tests with 2 failures and 0 errors in 383.379 seconds.
Running Products.PloneTestCase.layer.PloneSite tests:
Set up Products.PloneTestCase.layer.ZCML in 22.404 seconds.
/opt/Plone-3.1/zinstance/parts/plone/PlonePAS/setuphandlers.py:39:
DeprecationWarning: portal_groups.getGroupIds is deprecated and will be
removed in Plone 3.5. Use PAS searchGroups instead
existing = gtool.listGroupIds()
Set up Products.PloneTestCase.layer.PloneSite in 105.971 seconds.
Running:
.
Ran 1 tests with 0 failures and 0 errors in 1.250 seconds.
Running
Products.TextIndexNG3.src.textindexng.parsers.tests.testParsers.ParserLayer
tests:
Tear down Products.PloneTestCase.layer.PloneSite in 4.163 seconds.
Tear down Products.PloneTestCase.layer.ZCML in 0.013 seconds.
Set up
Products.TextIndexNG3.src.textindexng.parsers.tests.testParsers.ParserLayer
in 0.195 seconds.
Running:
...........................................
Ran 43 tests with 0 failures and 0 errors in 0.820 seconds.
Running Products.TextIndexNG3.tests.txngtest.TextIndexNG3ZCMLLayer tests:
Tear down
Products.TextIndexNG3.src.textindexng.parsers.tests.testParsers.ParserLayer
in 0.001 seconds.
Set up Products.TextIndexNG3.tests.txngtest.TextIndexNG3ZCMLLayer in 3.480
seconds.
Running:
...sh: pdftotext: command not found
Failure in test test_indexableContent_pdf
(Products.TextIndexNG3.tests.testAdapters.CMFFileAdapterTests)
Traceback (most recent call last):
File "/opt/Plone-3.1/Python-2.4/lib/python2.4/unittest.py", line 260, in
run
testMethod()
File
"/opt/Plone-3.1/zinstance/products/TextIndexNG3/tests/testAdapters.py", line
165, in test_indexableContent_pdf
self.assertEqual(body['content'].strip(), u'Viel Vögel sprangen artig '
File "/opt/Plone-3.1/Python-2.4/lib/python2.4/unittest.py", line 333, in
failUnlessEqual
raise self.failureException, \
AssertionError: u'' != u'Viel V\xf6gel sprangen artig in den T\xfcpel und
\xfcber Feld und W\xfcste'
.........
Ran 12 tests with 1 failures and 0 errors in 11.286 seconds.
Tearing down left over layers:
Tear down Products.TextIndexNG3.tests.txngtest.TextIndexNG3ZCMLLayer in
0.013 seconds.
Total: 181 tests, 3 failures, 0 errors
Indexing of external filesystem still not working. Any advice on what is
going on?
Thanks in advance
--
View this message in context:
http://n2.nabble.com/Reflecto-and-TextIndNG3-tp577925p577925.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.
_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup