Christian Klinger wrote:
> Lennart Regebro schrieb:
>> Christian Klinger wrote:
>>> Hello,
>>>
>>> i found your Lucene-Product Suite very impressive. Unfortunatly i´m
>>> a Plone User (hope this is no problem?). Now i try to get things work
>>> with Plone. I´ve some questions for integration. Maybe someone can
>>> help me.
>>>
>>> 1. Is the CPSLuceneCatalog the only dependency to your CPS-System. If
>>> i want to have a integration in Plone, do i need a replacement for
>>> CPSLuceneCatalog.
>>
>> Yes, and yes. The differences shouldn't be that big, though, it does
>> have some CPS dependencies, but not that many. A Plone version should be
>> possible without to much effort.
>>
>>> 2. Is it right that CPSLuceneCatalog apply the indexes to Lucene to
>>> the Extension-Profile of Generic Setup? Is it possible to do this
>>> manually.
>>
>> Yes, sure.
>>
> ok now im sitting on the PloneLuceneCatalog. I ´ve created a tool
> similar to the CPSLuceneCatalog. I´ve created a install script which
> creates the indexes and metadatas.
> 
> ....
> 
> pcat.addField(name='effectiveRange',attribute='effectiveRange',type='Date',analyzer='Standard')
> 
> 
> pcat.addField(name='modified',attribute='modified',type='Date',analyzer='Standard')
> 
> 
> pcat.addField(name='start',attribute='start',type='Date',analyzer='Standard')
> 
> 
> pcat.addField(name='path',attribute='getPhysicalPath',type='Path',analyzer='Standard')
> 
> 
> 
>         pcat.addColumn(name='CreationDate')
>         pcat.addColumn(name='Creator')
>         pcat.addColumn(name='Date')
> 
> ...
> 
> If i now try to access an object i got allways these error:
> 
> 
>   Module Products.PageTemplates.TALES, line 221, in evaluate
>    - URL: file:CMFPlone/skins/plone_templates/global_defines.pt
>    - Line 3, Column 0
>    - Expression: standard:'plone_view/globalize'
>    - Names:
>       {'container': <PloneSite at /tt>,
>        'context': <ATDocument at /tt/front-page>,
>        'default': <Products.PageTemplates.TALES.Default instance at
> 0x40d1e1ac>,
>        'here': <ATDocument at /tt/front-page>,
>        'loop': <Products.PageTemplates.TALES.SafeMapping object at
> 0x42ebabac>,
>        'modules':
> <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at
> 0x40d48e4c>,
>        'nothing': None,
>        'options': {'args': ()},
>        'repeat': <Products.PageTemplates.TALES.SafeMapping object at
> 0x42ebabac>,
>        'request': <HTTPRequest,
> URL=http://192.168.2.11:8080/tt/front-page/document_view>,
>        'root': <Application at >,
>        'template': <FSPageTemplate at /tt/document_view used for
> /tt/front-page>,
>        'traverse_subpath': [],
>        'user': <PropertiedUser 'cklinger'>}
>   Module Products.PageTemplates.Expressions, line 185, in __call__
>   Module Products.PageTemplates.Expressions, line 180, in _eval
>   Module Products.PageTemplates.Expressions, line 85, in render
>   Module Products.CMFPlone.browser.plone, line 64, in globalize
>   Module Products.CMFPlone.browser.plone, line 116, in _initializeData
>   Module Products.CMFPlone.ActionsTool, line 46, in listFilteredActionsFor
>   Module Products.CMFPlone.ActionsTool, line 34, in _getActions
>   Module Products.CMFCore.ActionProviderBase, line 86, in listActionInfos
>   Module Products.CMFCore.WorkflowTool, line 245, in listActions
>   Module Products.DCWorkflow.DCWorkflow, line 240, in listGlobalActions
>   Module Products.PloneLuceneCatalog.PloneLuceneCatalog, line 157, in
> searchResults
>   Module Products.PloneLuceneCatalog.PloneLuceneCatalog, line 132, in
> _search
>   Module nuxeo.lucene.catalog, line 150, in searchResults
>   Module nxlucene.rss.resultset, line 44, in __init__
>   Module <string>, line 85, in XML
> TypeError: feed() argument 1 must be string or read-only buffer, not dict
> rss {'faultCode': 8002, 'faultString': 'error'}
> 2006-07-28 17:25:21 ERROR root Exception while rendering an error message
> 
> 
> 
> 
> Maybe someone has a tip for me...
> If you need a more detailed output please ask...

What does the the rss looks liked at line 150 ? Is the NXLucene server
running on the good port ?

        J.

-- 
Julien Anguenot | Nuxeo R&D (Paris, France)
Open Source ECM - www.nuxeo.com
CPS Platform - http://www.cps-project.org
Mobile: +33 (0) 6 72 57 57 66

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to