Hi, I'm trying to install a "dev" version of CPS 3.3.5 on an instance of
Cygwin using the following product stack:
Python 2.4.1 (cygwin package)
Zope 2.7.6 (compiled from source)
After unzipping CPS 3.3.5 and restarting Zope, I get the following stack
trace:
=============================================
2005-09-13T09:47:22 ERROR(200) Zope Could not import
Products.LDAPUserGroupsFolder
Traceback (most recent call last):
File "/opt/Zope-2.7/lib/python/OFS/Application.py", line 673, in
import_product
product=__import__(pname, global_dict, global_dict, silly)
File
"/var/zope/cps_dev_instance/Products/LDAPUserGroupsFolder/__init__.py",
line 15, in ?
from LDAPUserFolder import addLDAPUserFolderForm, \
File
"/var/zope/cps_dev_instance/Products/LDAPUserGroupsFolder/LDAPUserFolder.py",
line 33, in ?
from LDAPUser import LDAPUser, CPSGroup
File
"/var/zope/cps_dev_instance/Products/LDAPUserGroupsFolder/LDAPUser.py",
line 27, in ?
from utils import _verifyUnicode, encoding, to_utf8
File
"/var/zope/cps_dev_instance/Products/LDAPUserGroupsFolder/utils.py", line
27, in ?
import ldap
ImportError: No module named ldap
Traceback (most recent call last):
File "/opt/Zope-2.7/lib/python/Zope/Startup/run.py", line 50, in ?
run()
File "/opt/Zope-2.7/lib/python/Zope/Startup/run.py", line 19, in run
start_zope(opts.configroot)
File "/opt/Zope-2.7/lib/python/Zope/Startup/__init__.py", line 52, in
start_zope
starter.startZope()
File "/opt/Zope-2.7/lib/python/Zope/Startup/__init__.py", line 231, in
startZope
Zope.startup()
File "/opt/Zope-2.7/lib/python/Zope/__init__.py", line 47, in startup
_startup()
File "/opt/Zope-2.7/lib/python/Zope/App/startup.py", line 45, in startup
OFS.Application.import_products()
File "/opt/Zope-2.7/lib/python/OFS/Application.py", line 650, in
import_products
import_product(product_dir, product_name, raise_exc=debug_mode)
File "/opt/Zope-2.7/lib/python/OFS/Application.py", line 673, in
import_product
product=__import__(pname, global_dict, global_dict, silly)
File
"/var/zope/cps_dev_instance/Products/LDAPUserGroupsFolder/__init__.py",
line 15, in ?
from LDAPUserFolder import addLDAPUserFolderForm, \
File
"/var/zope/cps_dev_instance/Products/LDAPUserGroupsFolder/LDAPUserFolder.py",
line 33, in ?
from LDAPUser import LDAPUser, CPSGroup
File
"/var/zope/cps_dev_instance/Products/LDAPUserGroupsFolder/LDAPUser.py",
line 27, in ?
from utils import _verifyUnicode, encoding, to_utf8
File
"/var/zope/cps_dev_instance/Products/LDAPUserGroupsFolder/utils.py", line
27, in ?
import ldap
ImportError: No module named ldap
=============================================
I therefore tried to install the python-ldap package on my machine, but I
got lots of errors related to the fact that I didn't have any ldap header
files installed on my machine.
Should I really have to install an ldap server on my laptop so I can
experiment with the latest version of CPS, is this a bug, or am I missing
something?
Thanks in advance!
Tom Purl
_______________________________________________
cps-users mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/cps-users