Hi,
I'm ttrying to upgrade our intranet portal from CPS 3.2.4 to 3.4.2,
but in the step "import CPSDefault profile" I get this error:

Traceback (innermost last):
  Module ZPublisher.Publish, line 115, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 41, in call_object
  Module Products.CPSCore.setuptool, line 327, in manage_importProfile
  Module Products.CPSCore.setuptool, line 260, 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/groups
  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 'password_field'
----
But opening the portal home-page I get this:

Traceback (innermost last):
  Module ZPublisher.Publish, line 115, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 41, in call_object
  Module Shared.DC.Scripts.Bindings, line 311, in __call__
  Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  Module Products.CMFCore.FSPageTemplate, line 195, in _exec
  Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
  Module Products.PageTemplates.PageTemplate, line 104, in pt_render
   - <FSPageTemplate at /intranet/index_html>
  Module TAL.TALInterpreter, line 238, in __call__
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 749, in do_useMacro
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 457, in do_optTag_tal
  Module TAL.TALInterpreter, line 442, in do_optTag
  Module TAL.TALInterpreter, line 437, in no_tag
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 749, in do_useMacro
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 457, in do_optTag_tal
  Module TAL.TALInterpreter, line 442, in do_optTag
  Module TAL.TALInterpreter, line 437, in no_tag
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 749, in do_useMacro
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 507, in do_setLocal_tal
  Module Products.PageTemplates.TALES, line 221, in evaluate
   - URL: file:CPSSkins/skins/CPSSkins/cpsskins_global_defines.pt
   - Line 27, Column 0
   - Expression: <PythonExpr
tmtool.getEffectiveThemeAndPageName(context_obj=here)>
   - Names:
      {'container': <CPSDefaultSite at /intranet>,
       'context': <CPSDefaultSite at /intranet>,
       'default': <Products.PageTemplates.TALES.Default instance at
0xb7265ccc>,
       'here': <CPSDefaultSite at /intranet>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at
0xb5b891cc>,
       'modules':
<Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at
0xb721524c>,
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at
0xb5b891cc>,
       'request': <HTTPRequest,
URL=http://localhost:9673/intranet/index_html>,
       'root': <Application at >,
       'template': <FSPageTemplate at /intranet/index_html>,
       'traverse_subpath': [],
       'user': <User 'admin'>}
  Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
   - __traceback_info__:
tmtool.getEffectiveThemeAndPageName(context_obj=here)
  Module Python expression
"tmtool.getEffectiveThemeAndPageName(context_obj=here)", line 1, in
<expression>
  Module Products.CPSSkins.PortalThemesTool, line 772, in
getEffectiveThemeAndPageName
  Module Products.CPSSkins.PortalThemesTool, line 748, in
getRequestedThemeAndPageName
  Module Products.CPSSkins.PortalThemesTool, line 473, in getThemeByMethod
AttributeError: method_themes

Ciao!
Gianfranco

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

Reply via email to