On Apr 5, 2006, at 7:26 PM, Mario Olimpio de Menezes wrote: > Hi, > > After having updated the brazilian portuguese translation, I > tried to > re-import all profiles to have the update in effect. > But I got this error: > > > Error Type: ValueError > Error Value: > > undefined property 'search_substring_fields' > Meta Directories don't have this prop, since they rely on backings to implement their behaviors. So if you have a Meta (for instance if you installed CPSLDAPSetup) and try to apply a configuration that expects the 'members' directory to be a basic ZODBDirectory, you'll get this. What's puzzling is that reimporting CPSDefault *base* profile should rewrite everything from scratch (never tried, actually). Anyway if you just want to update the translations, go to 'Import' tab in portal_setup and run *just* Localizer. Do that for all profiles. > Traceback: > > Traceback (innermost last): > > * Module ZPublisher.Publish, line 113, in publish > * Module ZPublisher.mapply, line 88, in mapply > * Module ZPublisher.Publish, line 40, in call_object > * Module Products.CPSCore.setuptool, line 291, in > manage_importProfile > * Module Products.CPSCore.setuptool, line 224, in importProfile > * Module Products.GenericSetup.tool, line 248, in > runAllImportSteps > __traceback_info__: profile-CPSDefault:default > * Module Products.GenericSetup.tool, line 716, in _doRunImportStep > __traceback_info__: directories > * Module Products.CPSDirectory.exportimport, line 60, in > importDirectoryTool > * Module Products.GenericSetup.utils, line 748, in importObjects > __traceback_info__: portal_directories > * Module Products.GenericSetup.utils, line 744, in importObjects > __traceback_info__: directories/members > * Module Products.GenericSetup.utils, line 510, in _importBody > * Module Products.CPSDirectory.exportimport, line 180, in > _importNode > * Module Products.CPSUtil.PropertiesPostProcessor, line 106, in > _initProperties > * Module Products.GenericSetup.utils, line 680, in _initProperties > > ValueError: undefined property 'search_substring_fields' > > > --------------------------------- > > Any hints on what's wrong? > Thanks > > -- > Mario O.de Menezes, Ph.D. "Many are the plans in a man's heart, > but > LinuxUser: #24626 is the Lord's purpose that prevails" Pv > 19.21 > http://www.ipen.br/~mario > _______________________________________________ > cps-users mailing list > cps-users at lists.nuxeo.com > http://lists.nuxeo.com/mailman/listinfo/cps-users --------- Georges Racinet Nuxeo SAS gracinet at nuxeo.com http://nuxeo.com Tel: +33 (0) 1 40 33 71 73
Hosting: Nuxeo: Zope service provider