Mario Olimpio de Menezes wrote:

>Hi,
>
>   I've tried to install CPSMailAccess without success.
>   I've zope2.8 (debian with all its dependencies) installed, some 
>python packages but CPSMailAccess is broken on Zope.
>   The first problem was with rdflib; I got around this installing 
>rdflib manually since Debian hasn't it yet; I discovered later on that 
>rdflib version used in CPSMailAccess is older (2.0.6) than mine (fresh 
>download - 2.2.1) and the API had changed - there isn't a module named 
>InMemoryBackend. The new module is named Memory. I changed this in 
>result.py file.
>  
>
Yes at this time we didn't made the jump because the new rdflib
 misses some features we need and we have in the previous
zemantic/rdflib versions
(looking up in relations with wildcards)

Expect it to work on latest version as soon as zemantic is released with
the missign features.

You should get back to 2.0.6 in order to  make it work, changing the
2.2.1 to backport InMemoryBackend is quite
uncertain.

>    Then another problem - traceback pasted here:
>-------------------------
>Traceback (most recent call last):
>  File "/usr/lib/zope2.8/lib/python/OFS/Application.py", line 695, in 
>import_product
>    product=__import__(pname, global_dict, global_dict, silly)
>  File 
>"/var/lib/zope2.8/instance/default/Products/CPSMailAccess/__init__.py", 
>line 19, in ?
>    import mailbox, mailfolder, mailmessage, mailtool, mailboxtreeview
>  File 
>"/var/lib/zope2.8/instance/default/Products/CPSMailAccess/mailbox.py", 
>line 55, in ?
>    from mailsearch import MailCatalog, ZemanticMailCatalog
>  File 
>"/var/lib/zope2.8/instance/default/Products/CPSMailAccess/mailsearch.py", 
>line 41, in ?
>    from zemantic.triplestore import TripleStore
>  File 
>"/var/lib/zope2.8/instance/default/Products/CPSMailAccess/zemantic/triplestore.py",
> 
>line 46, in ?
>    from lib.IOZODBTextIndexBackend import IOZODBTextIndexBackend
>  File 
>"/var/lib/zope2.8/instance/default/Products/CPSMailAccess/zemantic/lib/IOZODBTextIndexBackend.py",
> 
>line 22, in ?
>    from zemantic.index.text.okapiindex import OkapiIndex as TextIndex
>ImportError: No module named zemantic.index.text.okapiindex
>
>----------------
>
>  The problem is: I have this module (okapiindex); so I believe the real 
>problem is in another part but triggered here.
>
>  
>
add in your zope.conf path section a path to
{INSTANCE}/Products/CPSMailAccess
 in order to add the path to your search paths

>  Any help?
>  
> BTW, I already have a CPS site running with CPS 3.3.5, zope2.8
>
>  
>
Regards

Tarek

-- 
Tarek Ziadé, Nuxeo R&D (Paris, France)
CPS Platform : http://www.cps-project.org
Zope3 / ECM   : http://www.z3lab.org
mail: tziade at nuxeo.com; tel: +33 (0) 6 30 37 02 63

_______________________________________________
cps-users mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/cps-users

Reply via email to