I'm trying to migrate from Plone 2.0.4 to 2.1.1 on Win2k server but when I
do a dry run the migration is aborted with the error:

Error value: Disallowed subobject type: News archive

The full migration log is listed below. Can anyone tell me why the subobject
type 'News Archive' might be disallowed and what I need to do to fix it?

Thanks

Ben

----------------------------
Result of the attempt...

  a.. Dry run selected.
  b.. Starting the migration from version: 2.0.4
  c.. Attempting to upgrade from: 2.0.4
  d.. Upgrade to: 2.0.5-rc1, completed
  e.. Attempting to upgrade from: 2.0.5-rc1
  f.. Upgrade to: 2.0.5-rc2, completed
  g.. Attempting to upgrade from: 2.0.5-rc2
  h.. Renamed Folder 'properties' tab to 'edit'.
  i.. Added 'folderlisting' action to Topics.
  j.. Interchanged 'edit' and 'sharing' tabs.
  k.. Upgrade to: 2.0.5, completed
  l.. Attempting to upgrade from: 2.0.5
  m.. Converted Plone Site to CMFDynamicViewFTI
  n.. Updated portal selectable views
  o.. Deleted PathIndex 'path' from portal_catalog.
  p.. Added ExtendedPathIndex 'path' to portal_catalog.
  q.. Added FieldIndex 'getObjPositionInParent' to portal_catalog.
  r.. Added 'getObjSize' metadata to portal_catalog.
  s.. Added 'exclude_from_nav' metadata to portal_catalog.
  t.. Deleted FieldIndex 'created'.
  u.. Added DateIndex 'created'.
  v.. Deleted FieldIndex 'modified'.
  w.. Added DateIndex 'modified'.
  x.. Deleted FieldIndex 'Date'.
  y.. Added DateIndex 'Date'.
  z.. Deleted FieldIndex 'start'.
  aa.. Added DateIndex 'start'.
  ab.. Deleted FieldIndex 'end'.
  ac.. Added DateIndex 'end'.
  ad.. Deleted FieldIndex 'effective'.
  ae.. Added DateIndex 'effective'.
  af.. Deleted FieldIndex 'expires'.
  ag.. Added DateIndex 'expires'.
  ah.. Added DateRangeIndex 'effectiveRange' (effective, expires).
  ai.. Added FieldIndex 'sortable_title' to portal_catalog.
  aj.. Added 'is_folderish' metadata to portal_catalog.
  ak.. Removed 'ExpiresDate' metadata from portal_catalog.
  al.. Added 'ExpirationDate' metadata to portal_catalog.
  am.. Migrating CSSRegistry.
  an.. No CSSRegistry found.
  ao.. Migrating JSRegistry.
  ap.. No JSRegistry found.
  aq.. Installed CSSRegistry and JSRegistry.
  ar.. Added TranslationService Tool
  as.. Added 'home_page' property to portal_memberdata.
  at.. Added 'description' property to portal_memberdata.
  au.. Added 'language' property to portal_memberdata.
  av.. Added 'ext_editor' property to portal_memberdata.
  aw.. Updated navtree_properties.
  ax.. Reindexed portal_catalog.
  ay.. Removed old MailHost
  az.. Added new MailHost (SecureMailHost): localhost:25
  ba.. Deleted portal_form tool.
  bb.. Deleted portal_navigation tool.
  bc.. Deleted form_properties property sheet.
  bd.. Deleted navigation_properties property sheet.
  be.. MimetypesRegistry is out of date (installed: 1.3.2-4/ filesystem:
1.3.7-final01), reinstalled.
  bf.. PortalTransforms is out of date (installed: 1.3.2-4/ filesystem:
1.3.8-final02), reinstalled.
  bg.. Archetypes is out of date (installed: 1.3.0-final/ filesystem:
1.3.5-final), reinstalled.
  bh.. Installed ATContentTypes.
  bi.. Upgrade to: 2.1-alpha1, completed
  bj.. Attempting to upgrade from: 2.1-alpha1
  bk.. Added 'full_screen' action to actions tool.
  bl.. Added 'full_screen' icon to actionicons tool.
  bm.. Added 'visible_ids' property to site_properties.
  bn.. Deleted 'formtooltips' property from portal_memberdata.
  bo.. Added 'exposeDCMetaTags' property to site_properties.
  bp.. Added 'sitemap' action to actions tool.
  bq.. Added 'types_not_searched' property to site_properties.
  br.. Added 'non_default_page_types' property to site_properties.
  bs.. Disabled 'news' and 'Members' portal tabs actions.
  bt.. Added default view for news folder.
  bu.. Added Topic for default news folder view.
  bv.. Added events folder.
  bw.. Set constrain types for events folder.
  bx.. Added default view for events folder.
  by.. Added Topic for default events folder view.
  bz.. Added 'Delete' contentmenu action to actions tool.
  ca.. Added 'Paste' contentmenu action to actions tool.
  cb.. Added 'Copy' contentmenu action to actions tool.
  cc.. Added 'Cut' contentmenu action to actions tool.
  cd.. Added 'Contents' contentmenu action to actions tool.
  ce.. Added default group 'Administrators'.
  cf.. Added default group 'Reviewers'.
  cg.. Added default content types to portal_factory.
  ch.. Added 'disable_folder_sections' property to site_properties.
  ci.. Added 'selectable_views' property to portal root
  cj.. Modified existing copy action
  ck.. Modified existing cut action
  cl.. Modified existing change_state action
  cm.. Modified existing extedit action
  cn.. Added 'typesUseViewActionInListings' property to site_properties.
  co.. Added missing plone_setup action
  cp.. Changed Plone Site icon
  cq.. Upgrade to: 2.1-alpha2, completed
  cr.. Attempting to upgrade from: 2.1-alpha2
  cs.. Modified existing object paste action for folderish default pages
  ct.. Added 'Contents' contentmenu action to actions tool.
  cu.. Added 'Default view' contentmenu action to actions tool.
  cv.. Made the 'mystuff' action point to folder listing instead of
folder_contents
  cw.. Migrating CSSRegistry.
  cx.. Done migrating CSSRegistry.
  cy.. Migrating JSRegistry.
  cz.. Done migrating JSRegistry.
  da.. Granted "Access inactive portal content" permission to Owner role
  db.. Added published criterion to news topic.
  dc.. Added published criterion to events topic.
  dd.. Registered login.js
  de.. Added directory view for plone_login
  df.. Added 'verify_login_name' property to site_properties.
  dg.. kupu is out of date (installed: kupu 1.2rc1/ filesystem: kupu 1.3.1),
reinstalled.
  dh.. Set Kupu as default WYSIWYG editor.
  di.. Added ploneTextSmall.css to CSSRegistry.
  dj.. Added ploneTextLarge.css to CSSRegistry.
  dk.. Removing plone prefix from stylesheets.
  dl.. Finished removing plone prefix from stylesheets.
  dm.. Removed navtree whitelist
  dn.. Added new entries to "types_not_searched" site_property
  do.. Updated navtree blacklist
  dp.. Added FieldIndex 'is_default_page' to portal_catalog.
  dq.. Removed metadata 'is_folderish' from portal_catalog.
  dr.. Added FieldIndex 'is_folderish' to portal_catalog.
  ds.. Adding Portlet and Deprecated stylesheets.
  dt.. Finished adding Portlet and Deprecated stylesheets.
  du.. Added 'enable_livesearch' property to site_properties.
  dv.. Added 'search' icon to actionicons tool.
  dw.. Set 'Login page ID' of Cookie Crumbler to 'login_form'.
  dx.. Set 'Failed authorization page ID' of Cookie Crumbler to
'insufficient_privileges'.
  dy.. Set target expresion of folderlisting action for 'Plone Site' to
'view'
  dz.. Reindexed portal_catalog.
  ea.. Upgrade to: 2.1-beta1, completed
  eb.. Attempting to upgrade from: 2.1-beta1
  ec.. Updated portal selectable views
  ed.. Fixed 'Contents' action on actions tool.
  ee.. Changed category of Plone Site view action to 'object'
  ef.. Changed category of Plone Site edit action to 'object'
  eg.. Added 'Large Plone Folder' to 'parentMetaTypesNotToQuery' in
navtree_properties
  eh.. Added 'Edit this file in an external application (Requires Zope
ExternalEditor installed)' action to actions tool.
  ei.. Turned off 'ext_editor' property on portal_memberdata by default.
  ej.. Updated workflow titles for state visible
  ek.. Updated workflow titles for state pending
  el.. Updated workflow titles for state private
  em.. Updated workflow titles for state published
  en.. Updated workflow titles for state visible
  eo.. Updated workflow titles for state private
  ep.. Updated workflow titles for state published
  eq.. Fixed 'Accessibility' action on actions tool.
  er.. Fixed 'Contact' action on actions tool.
  es.. Fixed 'Site Setup' action on actions tool.
  et.. Removed action plone_setup from portal_membership
  eu.. Set portal root edit action to use /edit method alias
  ev.. Set portal root sharing action to use /sharing method alias
  ew.. Added CMFUid tool(s) portal_uidannotation, portal_uidgenerator,
portal_uidhandler
  ex.. Set media type for member.css to screen
  ey.. Set media type for RTL.css to screen
  ez.. Set media type for presentation.css to projection
  fa.. Set media type for ploneCustom.css to all
  fb.. Corrected CSS media types
  fc.. Added 'enable_wf_state_filtering' property to navtree_properties.
  fd.. Added 'wf_states_to_show' property to navtree_properties.
  fe.. Added 'navigation' icon to actionicons tool.
  ff.. Added search settings to the control panel
  fg.. Added navigation settings to the control panel
  fh.. Registered formsubmithelpers.js
  fi.. Added 'visible_ids' property to portal_memberdata.
  fj.. Added 'visible_ids' property to portal_memberdata.
  fk.. Added CMF types to 'types_not_searched' property.
  fl.. Removed 'non_default_page_types' property to site_properties.
  fm.. Added 'default_page_types' property to site_properties.
  fn.. Changed sendto action permission to Allow Sendto
  fo.. Recataloged Members folder.
  fp.. Recataloged news folder.
  fq.. Recataloged events folder.
  fr.. Upgrade to: 2.1-beta2, completed
  fs.. Attempting to upgrade from: 2.1-beta2
  ft.. Upgrade to: 2.1-rc1, completed
  fu.. Attempting to upgrade from: 2.1-rc1
  fv.. Added 'is_folderish' metadata to portal_catalog.
  fw.. Enabled syndication on /Plone_Hobo/news/news_topic
  fx.. Enabled syndication on /Plone_Hobo/events/events_topic
  fy.. Disabled 'syndication' object action.
  fz.. Changed RSS action title
  ga.. Reindexed portal_catalog.
  gb.. Recataloged Members folder.
  gc.. Recataloged news folder.
  gd.. Recataloged events folder.
  ge.. Upgrade to: 2.1-rc2, completed
  gf.. Attempting to upgrade from: 2.1-rc2
  gg.. Upgrade aborted
  gh.. Error type: exceptions.ValueError
  gi.. Error value: Disallowed subobject type: News archive
  gj.. File "D:\Program Files\Plone
2\Data\Products\CMFPlone\MigrationTool.py", line 265, in upgrade newv, msgs
= self._upgrade(newv)
  gk.. File "D:\Program Files\Plone
2\Data\Products\CMFPlone\MigrationTool.py", line 362, in _upgrade res =
function(self.aq_parent)
  gl.. File "D:\Program Files\Plone
2\Data\Products\CMFPlone\migrations\v2_1\rcs.py", line 70, in rc2_rc3
moveDefaultTopicsToPortalRoot(portal, out)
  gm.. File "D:\Program Files\Plone
2\Data\Products\CMFPlone\migrations\v2_1\rcs.py", line 284, in
moveDefaultTopicsToPortalRoot ['old_'+topic['new_id']])
  gn.. File "D:\Program Files\Plone 2\Zope\lib\python\OFS\CopySupport.py",
line 238, in manage_renameObjects self.manage_renameObject(ids[i],
new_ids[i], REQUEST)
  go.. File "D:\Program Files\Plone
2\Data\Products\CMFPlone\PloneFolder.py", line 252, in manage_renameObject
result = method(self, id, new_id, REQUEST)
  gp.. File "D:\Program Files\Plone 2\Zope\lib\python\OFS\CopySupport.py",
line 255, in manage_renameObject self._verifyObjectPaste(ob)
  gq.. File "D:\Program Files\Plone
2\Data\Products\CMFCore\PortalFolder.py", line 547, in _verifyObjectPaste
raise ValueError('Disallowed subobject type: %s'
  gr.. End of upgrade path, migration has finished
  gs.. The upgrade path did NOT reach current version
  gt.. Migration has failed
  gu.. Dry run selected, transaction aborted

-- 
Regards,
Ben Lobo
-- 
Application Developer

Adaptive Technologies Ltd.
13 Brunswick Square
Brighton & Hove
East Sussex
BN3 1EH
UK

+44 (0)1273 728128
http://www.adaptivetechnologies.com



_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup

Reply via email to