Any more information in the event.log? need the full traceback. > ", line 109, in getPersonalPortrait portrait = > membertool._getPortrait(member_id)
is this a AttributeError? you could change line 109 and give it a default portrait and try/except around the failure. /opt/Plone-2.5.5/zeocluster/client1/Products/CMFPlone/MembershipTool.py sounds like something missing in the migration. alan On Thu, Aug 28, 2008 at 10:31 AM, Len Goldenstein <[EMAIL PROTECTED]> wrote: > Hi List, > Hopefully someone will be able to help out. I'm upgrading a Plone 2.0.5 > site to Plone 3.1.current and hitting a bit of a snag. First off, > migrating directly to 3.1.x from 2.0.x isn't supported any more so I > need to have a stepped migration path which I setup a Plone 2.5.5 site > for this from the Plone universal installer. > > The migration from 2.0.5 right up to 2.5.0-alpha1 went well but dies > right after that with something relating to _getPortrait. I can't seem > to find any general information about this problem or how to correct it. > Can any of the list experts offer any advice? Thank you. > > > Zope Version (Zope 2.9.8-final, python 2.4.4, linux2) > Python Version 2.4.4 (#1, Aug 26 2008, 14:23:10) [GCC 4.1.2 20070115 > (SUSE Linux)] > System Platform linux2 > SOFTWARE_HOME /opt/Plone-2.5.5/lib/python > ZOPE_HOME /opt/Plone-2.5.5 > INSTANCE_HOME /opt/Plone-2.5.5/zeocluster/client1 > CLIENT_HOME /opt/Plone-2.5.5/zeocluster/client1/var > > Core Plone information > * CMF: CMF-1.6.4 > * Debug mode: No > * Five: Five 1.3.10 > * PIL: 1.1.6 > * Platform: linux2 > * Plone File System: 2.5.5 > * Plone Instance: 2.0.5 > * Python: 2.4.4 (#1, Aug 26 2008, 14:23:10) [GCC 4.1.2 20070115 > (SUSE Linux)] > * Zope: (Zope 2.9.8-final, python 2.4.4, linux2) > > > Result of the attempt... > * Starting the migration from version: 2.0.5 > * Attempting to upgrade from: 2.0.5 > * Converted Plone Site to CMFDynamicViewFTI > * Updated portal selectable views > * Running manage_convertIndexes on ZCatalog instance > 'portal_catalog' > * Finished migrating catalog indexes for ZCatalog instance > 'portal_catalog' > * Running manage_convertIndexes on ZCatalog instance 'uid_catalog' > * Finished migrating catalog indexes for ZCatalog instance > 'uid_catalog' > * Deleted PathIndex 'path' from portal_catalog. > * Added ExtendedPathIndex 'path' to portal_catalog. > * Added FieldIndex 'getObjPositionInParent' to portal_catalog. > * Added 'getObjSize' metadata to portal_catalog. > * Added 'exclude_from_nav' metadata to portal_catalog. > * Deleted FieldIndex 'created'. > * Added DateIndex 'created'. > * Deleted FieldIndex 'modified'. > * Added DateIndex 'modified'. > * Deleted FieldIndex 'Date'. > * Added DateIndex 'Date'. > * Deleted FieldIndex 'start'. > * Added DateIndex 'start'. > * Deleted FieldIndex 'end'. > * Added DateIndex 'end'. > * Deleted FieldIndex 'effective'. > * Added DateIndex 'effective'. > * Deleted FieldIndex 'expires'. > * Added DateIndex 'expires'. > * Added DateRangeIndex 'effectiveRange' (effective, expires). > * Added FieldIndex 'sortable_title' to portal_catalog. > * Added 'is_folderish' metadata to portal_catalog. > * Removed 'ExpiresDate' metadata from portal_catalog. > * Added 'ExpirationDate' metadata to portal_catalog. > * Migrating CSSRegistry. > * No CSSRegistry found. > * Migrating JSRegistry. > * No JSRegistry found. > * Installed CSSRegistry and JSRegistry. > * Added TranslationService Tool > * Updated navtree_properties. > * Removed old MailHost > * Added new MailHost (SecureMailHost): localhost:25 > * Deleted portal_form tool. > * Deleted portal_navigation tool. > * Deleted form_properties property sheet. > * Deleted navigation_properties property sheet. > * Installed MimetypesRegistry. > * PortalTransforms is out of date (installed: 1.0.3/ filesystem: > 1.5.5-final), reinstalled. > * Installed Archetypes. > * Installed ATContentTypes. > * Upgrade to: 2.1-alpha1, completed > * Attempting to upgrade from: 2.1-alpha1 > * Added 'full_screen' action to actions tool. > * Added 'full_screen' icon to actionicons tool. > * Added 'visible_ids' property to site_properties. > * Added 'exposeDCMetaTags' property to site_properties. > * Added 'sitemap' action to actions tool. > * Added 'types_not_searched' property to site_properties. > * Added 'non_default_page_types' property to site_properties. > * Disabled 'news' and 'Members' portal tabs actions. > * Added news folder. > * Set constrain types for news folder. > * Added default view for news folder. > * Added Topic for default news folder view. > * Added events folder. > * Set constrain types for events folder. > * Added default view for events folder. > * Added Topic for default events folder view. > * Added 'Delete' contentmenu action to actions tool. > * Added 'Paste' contentmenu action to actions tool. > * Added 'Copy' contentmenu action to actions tool. > * Added 'Cut' contentmenu action to actions tool. > * Added 'Contents' contentmenu action to actions tool. > * Added default group 'Administrators'. > * Added default group 'Reviewers'. > * Added default content types to portal_factory. > * Added 'disable_folder_sections' property to site_properties. > * Added 'selectable_views' property to portal root > * Modified existing copy action > * Modified existing cut action > * Modified existing change_state action > * Modified existing change_state action > * Modified existing extedit action > * Added 'typesUseViewActionInListings' property to site_properties. > * Added missing plone_setup action > * Changed Plone Site icon > * Upgrade to: 2.1-alpha2, completed > * Attempting to upgrade from: 2.1-alpha2 > * Modified existing object paste action for folderish default pages > * Added 'Contents' contentmenu action to actions tool. > * Added 'Default view' contentmenu action to actions tool. > * Made the 'mystuff' action point to folder listing instead of > folder_contents > * Migrating CSSRegistry. > * Done migrating CSSRegistry. > * Migrating JSRegistry. > * Done migrating JSRegistry. > * Granted "Access inactive portal content" permission to Owner role > * Added published criterion to news topic. > * Added published criterion to events topic. > * Registered login.js > * Added directory view for plone_login > * Added plone_login to Plone Default > * Added plone_login to Plone Tableless > * Added 'verify_login_name' property to site_properties. > * Installed kupu. > * Set Kupu as default WYSIWYG editor. > * Added ploneTextSmall.css to CSSRegistry. > * Added ploneTextLarge.css to CSSRegistry. > * Removing plone prefix from stylesheets. > * Finished removing plone prefix from stylesheets. > * Removed navtree whitelist > * Added new entries to "types_not_searched" site_property > * Updated navtree blacklist > * Added FieldIndex 'is_default_page' to portal_catalog. > * Removed metadata 'is_folderish' from portal_catalog. > * Added FieldIndex 'is_folderish' to portal_catalog. > * Added plone_3rdParty to Plone Default. > * Added plone_3rdParty to Plone Tableless. > * Adding Portlet and Deprecated stylesheets. > * Finished adding Portlet and Deprecated stylesheets. > * Added 'enable_livesearch' property to site_properties. > * Added 'search' icon to actionicons tool. > * Set 'Login page ID' of Cookie Crumbler to 'login_form'. > * Set 'Failed authorization page ID' of Cookie Crumbler to > 'insufficient_privileges'. > * Set target expresion of folderlisting action for 'Plone Site' to > 'view' > * Upgrade to: 2.1-beta1, completed > * Attempting to upgrade from: 2.1-beta1 > * Updated portal selectable views > * Fixed 'Contents' action on actions tool. > * Changed category of Plone Site view action to 'object' > * Changed category of Plone Site edit action to 'object' > * Added method aliases to Plone Site FTI > * Added 'Large Plone Folder' to 'parentMetaTypesNotToQuery' in > navtree_properties > * Added 'Edit this file in an external application (Requires Zope > ExternalEditor installed)' action to actions tool. > * Updated workflow titles for state visible > * Updated workflow titles for state pending > * Updated workflow titles for state private > * Updated workflow titles for state published > * Updated workflow titles for state visible > * Updated workflow titles for state private > * Updated workflow titles for state published > * Fixed 'Accessibility' action on actions tool. > * Fixed 'Contact' action on actions tool. > * Fixed 'Site Setup' action on actions tool. > * Removed action plone_setup from portal_membership > * Set portal root edit action to use /edit method alias > * Set portal root sharing action to use /sharing method alias > * Added CMFUid tool(s) portal_uidannotation, portal_uidgenerator, > portal_uidhandler > * Set media type for member.css to screen > * Set media type for RTL.css to screen > * Set media type for presentation.css to projection > * Set media type for ploneCustom.css to all > * Corrected CSS media types > * Added 'enable_wf_state_filtering' property to navtree_properties. > * Added 'wf_states_to_show' property to navtree_properties. > * Added 'navigation' icon to actionicons tool. > * Added search settings to the control panel > * Added navigation settings to the control panel > * Registered formsubmithelpers.js > * Added 'visible_ids' property to portal_memberdata. > * Added 'visible_ids' property to portal_memberdata. > * Added CMF types to 'types_not_searched' property. > * Removed 'non_default_page_types' property to site_properties. > * Added 'default_page_types' property to site_properties. > * Changed sendto action permission to Allow Sendto > * Upgrade to: 2.1-beta2, completed > * Attempting to upgrade from: 2.1-beta2 > * Upgrade to: 2.1-rc1, completed > * Attempting to upgrade from: 2.1-rc1 > * Added 'is_folderish' metadata to portal_catalog. > * Enabled syndication on /dealer/news/news_topic > * Enabled syndication on /dealer/events/events_topic > * Disabled 'syndication' object action. > * Changed RSS action title > * Upgrade to: 2.1-rc2, completed > * Attempting to upgrade from: 2.1-rc2 > * Added Topic for previous events. > * Added criterion to limit to current events. > * Added 'Cut' contentmenu action to actions tool. > * Added 'Paste' contentmenu action to actions tool. > * Added 'Delete' contentmenu action to actions tool. > * Added 'Copy' contentmenu action to actions tool. > * Added new view templates to Folder FTI. > * Added new view templates to Large Plone Folder FTI. > * Added new view templates to Topic FTI. > * Added new view templates to Plone Site FTI. > * Moved news topic to portal root > * Deleted empty news folder > * Moved events topic to portal root > * Deleted empty events folder > * Added sort on effective to news topic. > * Upgrade to: 2.1-rc3, completed > * Attempting to upgrade from: 2.1-rc3 > * Fixed preferences action title > * Changed News Topic default view to folder_summary_view. > * Object buttons reordered as cut, copy, paste, delete > * Granted "View Groups" to all Members > * Reorder stylesheets > * Upgrade to: 2.1, completed > * Attempting to upgrade from: 2.1 > * Upgrade to: 2.1.1, completed > * Attempting to upgrade from: 2.1.1 > * Removed plone_3rdParty\CMFTopic layer from all skins. > * Added 'Rename' contentmenu action to actions tool. > * Added se-highlight.js to portal_javascipt > * Removing workflow from Discussion Item > * Upgrade to: 2.1.2-rc1, completed > * Attempting to upgrade from: 2.1.2-rc1 > * Upgrade to: 2.1.2-rc2, completed > * Attempting to upgrade from: 2.1.2-rc2 > * Upgrade to: 2.1.2, completed > * Attempting to upgrade from: 2.1.2 > * Removed vcXMLRPC.js > * Added icons for copy, cut, paste and delete > * Upgrade to: 2.1.3-rc1, completed > * Attempting to upgrade from: 2.1.3-rc1 > * Upgrade to: 2.1.3, completed > * Attempting to upgrade from: 2.1.3 > * Upgrade to: 2.1.4-rc1, completed > * Attempting to upgrade from: 2.1.4-rc1 > * Upgrade to: 2.1.4, completed > * Attempting to upgrade from: 2.1.4 > * Installed CMFPlacefulWorkflow. > * Upgrade to: 2.5-alpha1, completed > * Attempting to upgrade from: 2.5-alpha1 > * Upgrade aborted > * Error type: exceptions.AttributeError > * Error value: _getPortrait > * File > "/opt/Plone-2.5.5/zeocluster/client1/Products/CMFPlone/MigrationTool.py" > , line 308, in upgrade newv, msgs = self._upgrade(newv) > * File > "/opt/Plone-2.5.5/zeocluster/client1/Products/CMFPlone/MigrationTool.py" > , line 416, in _upgrade res = function(self.aq_parent) > * File > "/opt/Plone-2.5.5/zeocluster/client1/Products/CMFPlone/migrations/v2_5/a > lphas.py", line 24, in alpha1_alpha2 installPlonePAS(portal, out) > * File > "/opt/Plone-2.5.5/zeocluster/client1/Products/CMFPlone/migrations/v2_5/a > lphas.py", line 43, in installPlonePAS installOrReinstallProduct(portal, > 'PlonePAS', out) > * File > "/opt/Plone-2.5.5/zeocluster/client1/Products/CMFPlone/migrations/migrat > ion_util.py", line 82, in installOrReinstallProduct > qi.installProduct(product_name) > * File > "/opt/Plone-2.5.5/zeocluster/client1/Products/CMFQuickInstallerTool/Quic > kInstallerTool.py", line 333, in installProduct res=install(portal) > * File > "/opt/Plone-2.5.5/lib/python/Products/ExternalMethod/ExternalMethod.py", > line 225, in __call__ try: return f(*args, **kw) > * File > "/opt/Plone-2.5.5/zeocluster/client1/Products/PlonePAS/Extensions/Instal > l.py", line 820, in install userdata = grabUserData(portal, out) > * File > "/opt/Plone-2.5.5/zeocluster/client1/Products/PlonePAS/Extensions/Instal > l.py", line 296, in grabUserData portrait=mtool.getPersonalPortrait(id) > * File > "/opt/Plone-2.5.5/zeocluster/client1/Products/CMFPlone/MembershipTool.py > ", line 109, in getPersonalPortrait portrait = > membertool._getPortrait(member_id) > * End of upgrade path, migration has finished > * The upgrade path did NOT reach current version > * Migration has failed > > > Len Goldenstein > Server Administrator - IT Services > > Palliser Furniture Ltd. > 170 Furniture Park, 2nd Floor > Winnipeg, MB R2G 1B9 > Canada > http://www.palliser.com > > P: (204) 988-5400 Ext. 4014 > F: (204) 669-8566 > E: [EMAIL PROTECTED] > > > > _______________________________________________ > Setup mailing list > [email protected] > http://lists.plone.org/mailman/listinfo/setup > -- Alan Runyan Enfold Systems, Inc. http://www.enfoldsystems.com/ phone: +1.713.942.2377x111 fax: +1.832.201.8856 _______________________________________________ Setup mailing list [email protected] http://lists.plone.org/mailman/listinfo/setup
