Le 5 mai 2006, à 11:16, Aitzol Naberan a écrit : > Hi all, > > I'm trying to import CPSLDAPSetup in my test site. After changing > profiles/default/directories/members_ldap.xml to match my LDAP setup, I > try to import CPSLDAPSetup from portal_setup, but I get this error: > > Error Type: ValueError > > ValueError: undefined property 'schemas' > > I supose the problem is in profiles/default/directories/member.xml (the > line: __traceback_info__: directories/members at the trace). In this > file is defined the property 'schemas', but I think that the propety of > the directory is called 'schema', so I change this and try to reimport. > Now the import is OK, but when I try to access anywhere in the site > (including ZMI, but still can access to root so I can do an 'Undo') I > get this other error: Hi, The svn version of CPSLDAPSetup cannot run on CPS 3.4.0. More specifically, you need to grab the svn version of CPSDirectory too. > > Error Type: AttributeError > Error Value:'tuple' object has no attribute 'split' > Traceback: Traceback (innermost last): > > Module ZPublisher.Publish, line 106, in publish > Module ZPublisher.BaseRequest, line 448, in traverse > Module AccessControl.User, line 648, in validate > Module Products.CPSUserFolder.CPSUserFolder, line 599, in > authenticate > Module Products.CPSUserFolder.CPSUserFolder, line 328, in > getUserWithAuthentication > Module Products.CPSDirectory.MetaDirectory, line 269, in > getEntryAuthenticated > Module Products.CPSDirectory.BaseDirectory, line 412, in _getEntryKW > Module Products.CPSDirectory.BaseDirectory, line 880, in > _getDataModel > Module Products.CPSDirectory.MetaDirectory, line 208, in _getAdapters > Module Products.CPSDirectory.BaseDirectory, line 734, in _getSchemas > > AttributeError: 'tuple' object has no attribute 'split' > > Any help with the import? > Thanks > -- v > Aitzol Naberan Burgaña > CodeSyntax > http://www.codesyntax.com > 943 82 17 80 > > _______________________________________________ > cps-devel mailing list > http://lists.nuxeo.com/mailman/listinfo/cps-devel
Hosting: Nuxeo: Zope service provider