|
|
|
akertis
|
I'm trying to migrate from 2.5.5 to 3.0.6 but when i try to do portal_migration i get these errors:
1. 2008-08-20T22:49:38 INFO Plone 2. Starting the migration from version: 2.5.5 3. ------ 4. 2008-08-20T22:49:38 INFO Plone 5. Attempting to upgrade from: 2.5.5 6. ------ 7. 2008-08-20T22:49:38 ERROR Plone 8. Upgrade aborted 9. ------ 10. 2008-08-20T22:49:38 ERROR Plone 11. Error type: exceptions.KeyError 12. ------ 13. 2008-08-20T22:49:38 ERROR Plone 14. Error value: 'Products.CMFPlone:plone' 15. ------ 16. 2008-08-20T22:49:38 ERROR Plone 17. File "C:\Program Files\Plone 3\Data\Products\CMFPlone\MigrationTool.py", line 210, in upgrade 18. newv, msgs = self._upgrade(newv) 19. 20. ------ 21. 2008-08-20T22:49:38 ERROR Plone 22. File "C:\Program Files\Plone 3\Data\Products\CMFPlone\MigrationTool.py", line 321, in _upgrade 23. res = function(self.aq_parent) 24. 25. ------ 26. 2008-08-20T22:49:38 ERROR Plone 27. File "C:\Program Files\Plone 3\Data\Products\CMFPlone\migrations\v3_0\alphas.py", line 97, in three0_alpha1 28. updateImportStepsFromBaseProfile(portal, out) 29. 30. ------ 31. 2008-08-20T22:49:38 ERROR Plone 32. File "C:\Program Files\Plone 3\Data\Products\CMFPlone\migrations\v3_0\alphas.py", line 1361, in updateImportStepsFromBaseProfile 33. tool.setBaselineContext("profile-Products.CMFPlone:plone") 34. 35. ------ 36. 2008-08-20T22:49:38 ERROR Plone 37. File "C:\Program Files\Plone 3\Data\Products\GenericSetup\tool.py", line 225, in setBaselineContext 38. self.applyContextById(context_id, encoding) 39. 40. ------ 41. 2008-08-20T22:49:38 ERROR Plone 42. File "C:\Program Files\Plone 3\Data\Products\GenericSetup\tool.py", line 230, in applyContextById 43. context = self._getImportContext(context_id) 44. 45. ------ 46. 2008-08-20T22:49:38 ERROR Plone 47. File "C:\Program Files\Plone 3\Data\Products\GenericSetup\tool.py", line 893, in _getImportContext 48. info = _profile_registry.getProfileInfo(context_id) 49. 50. ------ 51. 2008-08-20T22:49:38 ERROR Plone 52. File "C:\Program Files\Plone 3\Data\Products\GenericSetup\registry.py", line 584, in getProfileInfo 53. result = self._profile_info[ profile_id ] 54. 55. ------ 56. 2008-08-20T22:49:38 INFO Plone 57. End of upgrade path, migration has finished 58. ------ 59. 2008-08-20T22:49:38 ERROR Plone 60. The upgrade path did NOT reach current version 61. ------ 62. 2008-08-20T22:49:38 ERROR Plone 63. Migration has failed Any help would be great. I don't understand why its failing. |
|
Alexander Limi
|
Did you try 3.1.x instead? The migrations are a bit more robust (I don't
know exactly what your error is, but it's worth a try — and a good idea if you're migrating anyway. :) — Alexander On Wed, 20 Aug 2008 20:13:37 -0700, akertis <akertis@...> wrote: > I'm trying to migrate from 2.5.5 to 3.0.6 but when i try to do > portal_migration i get these errors: > > 1. > 2008-08-20T22:49:38 INFO Plone > 2. > Starting the migration from version: 2.5.5 > 3. > ------ > 4. > 2008-08-20T22:49:38 INFO Plone > 5. > Attempting to upgrade from: 2.5.5 > 6. > ------ > 7. > 2008-08-20T22:49:38 ERROR Plone > 8. > Upgrade aborted > 9. > ------ > 10. > 2008-08-20T22:49:38 ERROR Plone > 11. > Error type: exceptions.KeyError > 12. > ------ > 13. > 2008-08-20T22:49:38 ERROR Plone > 14. > Error value: 'Products.CMFPlone:plone' > 15. > ------ > 16. > 2008-08-20T22:49:38 ERROR Plone > 17. > File "C:\Program Files\Plone > 3\Data\Products\CMFPlone\MigrationTool.py", line 210, in upgrade > 18. > newv, msgs = self._upgrade(newv) > 19. > 20. > ------ > 21. > 2008-08-20T22:49:38 ERROR Plone > 22. > File "C:\Program Files\Plone > 3\Data\Products\CMFPlone\MigrationTool.py", line 321, in _upgrade > 23. > res = function(self.aq_parent) > 24. > 25. > ------ > 26. > 2008-08-20T22:49:38 ERROR Plone > 27. > File "C:\Program Files\Plone > 3\Data\Products\CMFPlone\migrations\v3_0\alphas.py", line 97, in > three0_alpha1 > 28. > updateImportStepsFromBaseProfile(portal, out) > 29. > 30. > ------ > 31. > 2008-08-20T22:49:38 ERROR Plone > 32. > File "C:\Program Files\Plone > 3\Data\Products\CMFPlone\migrations\v3_0\alphas.py", line 1361, in > updateImportStepsFromBaseProfile > 33. > tool.setBaselineContext("profile-Products.CMFPlone:plone") > 34. > 35. > ------ > 36. > 2008-08-20T22:49:38 ERROR Plone > 37. > File "C:\Program Files\Plone > 3\Data\Products\GenericSetup\tool.py", > line 225, in setBaselineContext > 38. > self.applyContextById(context_id, encoding) > 39. > 40. > ------ > 41. > 2008-08-20T22:49:38 ERROR Plone > 42. > File "C:\Program Files\Plone > 3\Data\Products\GenericSetup\tool.py", > line 230, in applyContextById > 43. > context = self._getImportContext(context_id) > 44. > 45. > ------ > 46. > 2008-08-20T22:49:38 ERROR Plone > 47. > File "C:\Program Files\Plone > 3\Data\Products\GenericSetup\tool.py", > line 893, in _getImportContext > 48. > info = _profile_registry.getProfileInfo(context_id) > 49. > 50. > ------ > 51. > 2008-08-20T22:49:38 ERROR Plone > 52. > File "C:\Program Files\Plone > 3\Data\Products\GenericSetup\registry.py", line 584, in getProfileInfo > 53. > result = self._profile_info[ profile_id ] > 54. > 55. > ------ > 56. > 2008-08-20T22:49:38 INFO Plone > 57. > End of upgrade path, migration has finished > 58. > ------ > 59. > 2008-08-20T22:49:38 ERROR Plone > 60. > The upgrade path did NOT reach current version > 61. > ------ > 62. > 2008-08-20T22:49:38 ERROR Plone > 63. > Migration has failed > > Any help would be great. I don't understand why its failing. -- Alexander Limi · http://limi.net _______________________________________________ Setup mailing list Setup@... http://lists.plone.org/mailman/listinfo/setup |
||||||||||||||||||
|
akertis
|
I was first trying 3.1 then 3.0 actually seemed to work a little better. I couldn't even get to zmi/Plone at all because it would error out and I installed 3.1 again and this is the error i'm getting. Previously I could get the plone part to load and run the portal_migration but not with 3.1.
Also, I noticed in the 2.5 logs that it complains about seeing duplicate products. Maybe i'm not sure how the products are installed in plone but I get a message similar to this: 2008-08-21T17:53:28 WARNING Zope OFS.Application: Duplicate Product name:After loading Product 'ATContentTypes' from 'c:\\Program Files\\Plone 2\\Data\\Products', I skipped the one in 'C:\\Program Files\\Plone 2\\Data\\Products'. I don't know if that has anything to do with my issues. Log from 3.1.4: 2008-08-21T17:42:30 INFO ZServer HTTP server started at Thu Aug 21 17:42:30 2008 Hostname: prodwebwin02.energycap.local Port: 81 ------ 2008-08-21T17:42:30 INFO ZServer HTTP server started at Thu Aug 21 17:42:30 2008 Hostname: prodwebwin02.energycap.local Port: 8080 ------ 2008-08-21T17:42:41 WARNING Init Class Products.Formulator.Form.ZMIForm has a security declaration for nonexistent method 'fieldAdd' ------ 2008-08-21T17:42:41 WARNING Init Class Products.Formulator.Form.ZMIForm has a security declaration for nonexistent method 'fieldAdd' ------ 2008-08-21T17:42:41 ERROR Application Could not import Products.Formulator Traceback (most recent call last): File "C:\Program Files\Plone 3\Zope\lib\python\OFS\Application.py", line 709, in import_product product=__import__(pname, global_dict, global_dict, silly) File "e:\Plone 2\Data\Products\Formulator\__init__.py", line 16, in ? File "e:\Plone 2\Data\Products\Formulator\FSForm.py", line 10, in ? ImportError: cannot import name expandpath ------ 2008-08-21T17:42:42 ERROR ShellExServer EventMarshaller not available. You will not be able to import and export iCalendar files properly without this. Traceback (most recent call last): File "e:\Plone 2\Data\Products\ShellExServer\config.py", line 52, in ? ImportError: No module named Calendaring.marshaller ------ 2008-08-21T17:42:42 INFO ShellExServer Patching DefaultDublinCoreImpl.setFormat. ------ 2008-08-21T17:42:42 INFO ShellExServer Patching PortalFolder.PUT_factory. ------ 2008-08-21T17:42:42 INFO ShellExServer Patching Document.manage_FTPget. ------ 2008-08-21T17:42:42 INFO ShellExServer Patching Link.manage_FTPget. ------ 2008-08-21T17:42:42 INFO ShellExServer Patching ContentTypeRegistry.findTypeName. ------ 2008-08-21T17:42:42 INFO ShellExServer Patching ExtensionPredicate.__call__. ------ 2008-08-21T17:42:42 INFO ShellExServer Patching SkinnedFolder.listDAVObjects. ------ 2008-08-21T17:42:42 INFO ShellExServer Patching PloneSite.listDAVObjects. ------ 2008-08-21T17:42:42 INFO ShellExServer Enabling WebDAV for clients matching User-Agent 'Plone Desktop|Enfold Desktop' on port: 81 ------ 2008-08-21T17:42:42 INFO ShellExServer Enabling WebDAV for clients matching User-Agent 'Plone Desktop|Enfold Desktop' on port: 8080 ------ 2008-08-21T17:42:43 INFO featureModel Installing Product ------ 2008-08-21T17:42:44 WARNING ZODB.FileStorage Ignoring index for C:\Program Files\Plone 3\Data/var/Data.fs ------ 2008-08-21T17:42:56 INFO DavPack Patch applied to webdav.NullResource.PUT. ------ 2008-08-21T17:42:56 INFO DavPack Enable PROPFIND Streaming. ------ 2008-08-21T17:42:56 INFO DavPack Enabling gzip support for ZServer streaming. ------ 2008-08-21T17:42:56 INFO DavPack Patch applied to webdav.xmltools.XmlParser. ------ 2008-08-21T17:42:56 INFO DavPack Patch applied to webdav.Resource.COPY. ------ 2008-08-21T17:42:56 INFO DavPack Patch applied to webdav.Resource.MOVE. ------ 2008-08-21T17:42:56 INFO DavPack Patch applied to PropPatch.apply. ------ 2008-08-21T17:42:56 INFO DavPack Patch applied to Lock.apply. ------ 2008-08-21T17:42:56 INFO DavPack Patch applied to OFS.PropertySheets.xmlescape. ------ 2008-08-21T17:42:56 INFO DavPack Patch applied to OFS..PropertySheet.dav__allprop. ------ 2008-08-21T17:42:56 INFO DavPack Patch applied to OFS..PropertySheet.dav__propstat. ------ 2008-08-21T17:42:56 INFO DavPack Patch applied to ObjectManager..manage_FTPstat. ------ 2008-08-21T17:42:56 ERROR Application Couldn't install DavPack Traceback (most recent call last): File "C:\Program Files\Plone 3\Zope\lib\python\OFS\Application.py", line 786, in install_product initmethod(context) File "e:\Plone 2\Data\Products\DavPack\__init__.py", line 733, in initialize File "C:\Program Files\Plone 3\Data\Products\Archetypes\utils.py", line 765, in getPkgInfo ['__pkginfo__']) File "C:\Program Files\Plone 3\Data\Products\Archetypes\__pkginfo__.py", line 12, in ? bugfix, release = bugfix.split('-')[:2] ValueError: need more than 1 value to unpack ------ 2008-08-21T17:42:56 INFO ExtensionRename Hooked ATContentTypes to forcibly add extensions to newly-created Document, Event and Link. ------ 2008-08-21T17:43:02 INFO p4a.z2utils.patches Extending CMFDynamicViewFTI's dynamic view support with interfaces. ------ 2008-08-21T17:43:08 WARNING Init Class Products.Five.metaclass.SimpleViewClass from C:\Program Files\Plone 3\Data\Products\Plone4ArtistsVideo\pythonlib\p4a\video\browser\video-container.pt has a security declaration for nonexistent method 'safe_video' ------ 2008-08-21T17:43:08 WARNING Init Class Products.Five.metaclass.SimpleViewClass from C:\Program Files\Plone 3\Data\Products\Plone4ArtistsVideo\pythonlib\p4a\video\browser\video-container.pt has a security declaration for nonexistent method 'macros' ------ 2008-08-21T17:43:08 WARNING Init Class Products.Five.metaclass.VideoEditMacros has a security declaration for nonexistent method 'macros' ------ 2008-08-21T17:43:08 ERROR Application Couldn't install Formulator Traceback (most recent call last): File "C:\Program Files\Plone 3\Zope\lib\python\OFS\Application.py", line 758, in install_product global_dict, global_dict, silly) File "e:\Plone 2\Data\Products\Formulator\__init__.py", line 16, in ? File "e:\Plone 2\Data\Products\Formulator\FSForm.py", line 10, in ? ImportError: cannot import name expandpath ------ 2008-08-21T17:43:09 INFO PlacelessTranslationService Purging mo file cache ------ 2008-08-21T17:43:09 INFO PloneLockManager Wrapping method Resource.LOCK ------ 2008-08-21T17:43:09 INFO PloneLockManager Wrapping method Lock.apply ------ 2008-08-21T17:43:10 INFO ShellExServer Changing default roles for WebDAV Lock items to ['Manager', 'Owner', 'Reviewer'] ------ 2008-08-21T17:43:10 INFO ShellExServer Changing default roles for WebDAV Unlock items to ['Manager', 'Owner', 'Reviewer'] ------ 2008-08-21T17:43:10 INFO ShellExServer Changing default roles for WebDAV access to ['Authenticated', 'Manager', 'Owner', 'Reviewer'] ------ 2008-08-21T17:43:10 INFO ShellExServer Changing marshall implementation for ATContentTypes ------ 2008-08-21T17:43:10 INFO ShellExServer Changed marshaller for ATPathCriterion to PrimaryFieldMarshaller ------ 2008-08-21T17:43:10 INFO ShellExServer Changed marshaller for ATBooleanCriterion to PrimaryFieldMarshaller ------ 2008-08-21T17:43:10 INFO ShellExServer Changed marshaller for ATImage to PrimaryFieldMarshaller ------ 2008-08-21T17:43:10 INFO ShellExServer Changed marshaller for ATTopic to PrimaryFieldMarshaller ------ 2008-08-21T17:43:10 INFO ShellExServer Changed marshaller for ATSelectionCriterion to PrimaryFieldMarshaller ------ 2008-08-21T17:43:10 INFO ShellExServer Changed marshaller for ATBTreeFolder to PrimaryFieldMarshaller ------ 2008-08-21T17:43:10 INFO ShellExServer Changed marshaller for ATDocument to PrimaryFieldMarshaller ------ 2008-08-21T17:43:10 INFO ShellExServer Changed marshaller for ATSimpleStringCriterion to PrimaryFieldMarshaller ------ 2008-08-21T17:43:10 INFO ShellExServer Changed marshaller for ATCurrentAuthorCriterion to PrimaryFieldMarshaller ------ 2008-08-21T17:43:10 INFO ShellExServer Changed marshaller for ATDateCriteria to PrimaryFieldMarshaller ------ 2008-08-21T17:43:10 INFO ShellExServer Changed marshaller for ATFavorite to LinkMarshaller ------ 2008-08-21T17:43:10 INFO ShellExServer Changed marshaller for ATEvent to PrimaryFieldMarshaller ------ 2008-08-21T17:43:10 INFO ShellExServer Changed marshaller for ATReferenceCriterion to PrimaryFieldMarshaller ------ 2008-08-21T17:43:10 INFO ShellExServer Changed marshaller for ATSimpleIntCriterion to PrimaryFieldMarshaller ------ 2008-08-21T17:43:10 INFO ShellExServer Changed marshaller for ATListCriterion to PrimaryFieldMarshaller ------ 2008-08-21T17:43:10 INFO ShellExServer Changed marshaller for ATFolder to PrimaryFieldMarshaller ------ 2008-08-21T17:43:10 INFO ShellExServer Changed marshaller for ATLink to LinkMarshaller ------ 2008-08-21T17:43:10 INFO ShellExServer Changed marshaller for ATNewsItem to PrimaryFieldMarshaller ------ 2008-08-21T17:43:10 INFO ShellExServer Changed marshaller for ATFile to PrimaryFieldMarshaller ------ 2008-08-21T17:43:10 INFO ShellExServer Changed marshaller for ATDateRangeCriterion to PrimaryFieldMarshaller ------ 2008-08-21T17:43:10 INFO ShellExServer Changed marshaller for ATSortCriterion to PrimaryFieldMarshaller ------ 2008-08-21T17:43:10 INFO ShellExServer Changed marshaller for ATRelativePathCriterion to PrimaryFieldMarshaller ------ 2008-08-21T17:43:10 INFO ShellExServer Changed marshaller for ATPortalTypeCriterion to PrimaryFieldMarshaller ------ 2008-08-21T17:43:10 INFO ShellExServer Patching Resource.dav__init. ------ 2008-08-21T17:43:10 INFO ShellExServer Patching Collection.dav__init. ------ 2008-08-21T17:43:10 INFO ShellExServer Enabled Compression for WebDAV. ------ 2008-08-21T17:43:10 INFO ShellExServer Patching NullResource.MKCOL. ------ 2008-08-21T17:43:10 INFO ShellExServer Patching VocabularyPredicate.manage_FTPget. ------ 2008-08-21T17:43:10 INFO ShellExServer Patching VocabularyPredicate.manage_DAVget. ------ 2008-08-21T17:43:10 INFO ShellExServer Patching VocabularyPredicate.__call__. ------ 2008-08-21T17:43:10 INFO ShellExServer Patching VocabularyPredicate.index_html. ------ 2008-08-21T17:43:10 INFO ShellExServer Registerd External Editor Callback. ------ 2008-08-21T17:43:12 INFO Application New disk product detected, determining if we need to fix up any ZClasses. ------ 2008-08-21T17:43:12 WARNING OFS.Uninstalled Could not import class 'TutorialTopic' from module 'Products.ZopeTutorial.TutorialTopic' ------ 2008-08-21T17:43:12 WARNING OFS.Uninstalled Could not import class 'GlossaryTopic' from module 'Products.ZopeTutorial.TutorialTopic' ------ 2008-08-21T17:43:12 WARNING OFS.Uninstalled Could not import class 'FieldHelpTopic' from module 'Products.Formulator.FieldHelpTopic' ------ 2008-08-21T17:43:12 INFO Zope Ready to handle requests ------ 2008-08-21T17:43:19 WARNING OFS.Uninstalled Could not import class 'PloneFormMailer' from module 'Products.PloneFormMailer.PloneFormMailer' ------ 2008-08-21T17:43:20 WARNING OFS.Uninstalled Could not import class 'CalendarTool' from module 'Products.Calendaring.tools.calendar' ------ 2008-08-21T17:43:20 WARNING OFS.Uninstalled Could not import class 'LocalSiteHook' from module 'Products.Five.site.localsite' ------ 2008-08-21T17:43:20 WARNING OFS.Uninstalled Could not import class 'CustomSearch' from module 'Products.customsearch.customsearch' ------ 2008-08-21T17:43:20 WARNING OFS.Uninstalled Could not import class 'webexform' from module 'Products.webEx.webex.webexform' ------ 2008-08-21T17:43:24 INFO CMFFormController C:\Program Files\Plone 3\Data\Products\FCKeditor\skins\fckeditorplone\prefs_fckeditor_form.cpt: No default validators specified for content type ANY. Users of IE can submit pages using the return key, resulting in no button in the REQUEST. Please specify default validators for this case. ------ 2008-08-21T17:43:24 INFO CMFFormController C:\Program Files\Plone 3\Data\Products\FCKeditor\skins\fckeditorplone\prefs_fckeditor_form.cpt: No default validators specified for content type ANY. Users of IE can submit pages using the return key, resulting in no button in the REQUEST. Please specify default validators for this case. ------ 2008-08-21T17:43:24 ERROR ZPublisher BeforeTraverse: Error while invoking hook: "__local_site_hook__" Traceback (most recent call last): File "C:\Program Files\Plone 3\Zope\lib\python\ZPublisher\BeforeTraverse.py", line 145, in __call__ meth(*(container, request, None)[:args]) AttributeError: __call__ ------ 2008-08-21T17:43:24 ERROR ZPublisher BeforeTraverse: Error while invoking hook: "__local_site_hook__" Traceback (most recent call last): File "C:\Program Files\Plone 3\Zope\lib\python\ZPublisher\BeforeTraverse.py", line 145, in __call__ meth(*(container, request, None)[:args]) AttributeError: __call__ ------ 2008-08-21T17:43:25 ERROR Zope.SiteErrorLog http://localhost:8080/Plone/manage_main Traceback (innermost last): Module ZPublisher.Publish, line 125, in publish Module Zope2.App.startup, line 238, in commit Module transaction._manager, line 96, in commit Module transaction._transaction, line 395, in commit Module transaction._transaction, line 495, in _commitResources Module ZODB.Connection, line 510, in commit Module ZODB.Connection, line 555, in _commit Module ZODB.Connection, line 582, in _store_objects Module ZODB.serialize, line 407, in serialize Module OFS.Uninstalled, line 40, in __getstate__ SystemError: This object was originally created by a product that is no longer installed. It cannot be updated. (<LocalSiteHook at broken>) ------ 2008-08-21T17:43:25 ERROR root Exception while rendering an error message Traceback (most recent call last): File "C:\Program Files\Plone 3\Zope\lib\python\OFS\SimpleItem.py", line 227, in raise_standardErrorMessage v = s(**kwargs) File "C:\Program Files\Plone 3\Data\Products\CMFCore\FSPythonScript.py", line 140, in __call__ return Script.__call__(self, *args, **kw) File "C:\Program Files\Plone 3\Zope\lib\python\Shared\DC\Scripts\Bindings.py", line 313, in __call__ return self._bindAndExec(args, kw, None) File "C:\Program Files\Plone 3\Zope\lib\python\Shared\DC\Scripts\Bindings.py", line 350, in _bindAndExec return self._exec(bound_data, args, kw) File "C:\Program Files\Plone 3\Data\Products\CMFCore\FSPythonScript.py", line 196, in _exec result = f(*args, **kw) File "Script (Python)", line 2, in standard_error_message File "C:\Program Files\Plone 3\Zope\lib\python\AccessControl\ZopeGuards.py", line 341, in guarded_apply return builtin_guarded_apply(func, args, kws) File "C:\Program Files\Plone 3\Zope\lib\python\AccessControl\ZopeGuards.py", line 363, in builtin_guarded_apply return func(*arglist, **argdict) File "e:\Plone 2\Data\Products\ShellExServer\utils.py", line 484, in standard_error_message File "C:\Program Files\Plone 3\Zope\lib\python\Shared\DC\Scripts\Bindings.py", line 313, in __call__ return self._bindAndExec(args, kw, None) File "C:\Program Files\Plone 3\Zope\lib\python\Shared\DC\Scripts\Bindings.py", line 350, in _bindAndExec return self._exec(bound_data, args, kw) File "C:\Program Files\Plone 3\Data\Products\CMFCore\FSPageTemplate.py", line 216, in _exec result = self.pt_render(extra_context=bound_names) File "c:\Program Files\Plone 2\Data\Products\CacheSetup\patch_cmf.py", line 18, in FSPT_pt_render File "C:\Program Files\Plone 3\Data\Products\CacheSetup\patch_utils.py", line 9, in call_pattern return getattr(self, pattern % __name__)(*args, **kw) File "C:\Program Files\Plone 3\Data\Products\CMFCore\FSPageTemplate.py", line 155, in pt_render result = FSPageTemplate.inheritedAttribute('pt_render')( File "c:\Program Files\Plone 2\Data\Products\CacheSetup\patch_cmf.py", line 68, in PT_pt_render File "C:\Program Files\Plone 3\Data\Products\CacheSetup\patch_utils.py", line 9, in call_pattern return getattr(self, pattern % __name__)(*args, **kw) File "C:\Program Files\Plone 3\Zope\lib\python\Products\PageTemplates\PageTemplate.py", line 89, in pt_render return super(PageTemplate, self).pt_render(c, source=source) File "C:\Program Files\Plone 3\Zope\lib\python\zope\pagetemplate\pagetemplate.py", line 117, in pt_render strictinsert=0, sourceAnnotations=sourceAnnotations)() File "C:\Program Files\Plone 3\Zope\lib\python\zope\tal\talinterpreter.py", line 271, in __call__ self.interpret(self.program) File "C:\Program Files\Plone 3\Zope\lib\python\zope\tal\talinterpreter.py", line 346, in interpret handlers[opcode](self, args) File "C:\Program Files\Plone 3\Zope\lib\python\zope\tal\talinterpreter.py", line 891, in do_useMacro self.interpret(macro) File "C:\Program Files\Plone 3\Zope\lib\python\zope\tal\talinterpreter.py", line 346, in interpret handlers[opcode](self, args) File "C:\Program Files\Plone 3\Zope\lib\python\zope\tal\talinterpreter.py", line 536, in do_optTag_tal self.do_optTag(stuff) File "C:\Program Files\Plone 3\Zope\lib\python\zope\tal\talinterpreter.py", line 521, in do_optTag return self.no_tag(start, program) File "C:\Program Files\Plone 3\Zope\lib\python\zope\tal\talinterpreter.py", line 516, in no_tag self.interpret(program) File "C:\Program Files\Plone 3\Zope\lib\python\zope\tal\talinterpreter.py", line 346, in interpret handlers[opcode](self, args) File "C:\Program Files\Plone 3\Zope\lib\python\zope\tal\talinterpreter.py", line 891, in do_useMacro self.interpret(macro) File "C:\Program Files\Plone 3\Zope\lib\python\zope\tal\talinterpreter.py", line 346, in interpret handlers[opcode](self, args) File "C:\Program Files\Plone 3\Zope\lib\python\zope\tal\talinterpreter.py", line 586, in do_setLocal_tal self.engine.setLocal(name, self.engine.evaluateValue(expr)) File "C:\Program Files\Plone 3\Zope\lib\python\zope\tales\tales.py", line 696, in evaluate return expression(self) File "C:\Program Files\Plone 3\Zope\lib\python\zope\tales\expressions.py", line 217, in __call__ return self._eval(econtext) File "C:\Program Files\Plone 3\Zope\lib\python\Products\PageTemplates\Expressions.py", line 161, in _eval return render(ob, econtext.vars) File "C:\Program Files\Plone 3\Zope\lib\python\Products\PageTemplates\Expressions.py", line 123, in render ob = ob() File "C:\Program Files\Plone 3\Data\Products\CMFPlone\browser\ploneview.py", line 67, in globalize self._initializeData(options=options, view=view, template=template) File "C:\Program Files\Plone 3\Data\Products\CMFPlone\browser\ploneview.py", line 132, in _initializeData self._data['sl'] = have_left_portlets = show_portlets and self.have_portlets('plone.leftcolumn', view) File "C:\Program Files\Plone 3\Data\Products\CMFPlone\browser\ploneview.py", line 517, in have_portlets manager = getUtility(IPortletManager, name=manager_name) File "C:\Program Files\Plone 3\Zope\lib\python\zope\component\_api.py", line 207, in getUtility raise ComponentLookupError(interface, name) ComponentLookupError: (<InterfaceClass plone.portlets.interfaces.IPortletManager>, 'plone.leftcolumn') I'm not sure whats causing the error. Any idea what local site hook is about? Is this from five on 2.5? Thanks, AJ
|
||||||||||||||||||
|
Sergey V.
|
Looks like you have a lot of third-party products which are not plone3-compatible (old versions) or can't be imported during startup for some other reason.
Switch debug mode on (which will prevent Zope from starting if it can't import a product) and upgrade/remove offending products one by one until Zope finally starts.
|
||||||||||||||||||
|
Maurits van Rees-3
|
In reply to this post by akertis
Hi, I will add some comments inline. akertis, on 2008-08-21: > > I was first trying 3.1 then 3.0 actually seemed to work a little better. I > couldn't even get to zmi/Plone at all because it would error out and I > installed 3.1 again and this is the error i'm getting. Previously I could > get the plone part to load and run the portal_migration but not with 3.1. > > 2008-08-21T17:42:30 INFO ZServer HTTP server started at Thu Aug 21 17:42:30 > 2008 > Hostname: prodwebwin02.energycap.local > Port: 81 > ------ > 2008-08-21T17:42:30 INFO ZServer HTTP server started at Thu Aug 21 17:42:30 > 2008 > Hostname: prodwebwin02.energycap.local > Port: 8080 > ------ > 2008-08-21T17:42:41 WARNING Init Class Products.Formulator.Form.ZMIForm has > a security declaration for nonexistent method 'fieldAdd' > ------ > 2008-08-21T17:42:41 WARNING Init Class Products.Formulator.Form.ZMIForm has > a security declaration for nonexistent method 'fieldAdd' > ------ These warnings are harmless and can be ignored. > 2008-08-21T17:42:41 ERROR Application Could not import Products.Formulator > Traceback (most recent call last): > File "C:\Program Files\Plone 3\Zope\lib\python\OFS\Application.py", line > 709, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "e:\Plone 2\Data\Products\Formulator\__init__.py", line 16, in ? > > File "e:\Plone 2\Data\Products\Formulator\FSForm.py", line 10, in ? > ImportError: cannot import name expandpath This looks like the version of Formulator you are using is not compatible with Plone 3 or you are missing a dependency. > ------ > 2008-08-21T17:42:42 ERROR ShellExServer EventMarshaller not available. You > will not be able to import and export iCalendar files properly without this. > Traceback (most recent call last): > File "e:\Plone 2\Data\Products\ShellExServer\config.py", line 52, in ? > ImportError: No module named Calendaring.marshaller Apparently you are missing a product called Calendaring here. The error sounds more like a warning: you are missing some functionality but Zope can start up just fine. > 2008-08-21T17:42:56 ERROR Application Couldn't install DavPack > Traceback (most recent call last): > File "C:\Program Files\Plone 3\Zope\lib\python\OFS\Application.py", line > 786, in install_product > initmethod(context) > File "e:\Plone 2\Data\Products\DavPack\__init__.py", line 733, in > initialize > File "C:\Program Files\Plone 3\Data\Products\Archetypes\utils.py", line > 765, in getPkgInfo > ['__pkginfo__']) > File "C:\Program Files\Plone 3\Data\Products\Archetypes\__pkginfo__.py", > line 12, in ? > bugfix, release = bugfix.split('-')[:2] > ValueError: need more than 1 value to unpack This looks like an error in DevPack. Perhaps there is a newer version. I don't know this product. > 2008-08-21T17:43:12 WARNING OFS.Uninstalled Could not import class > 'GlossaryTopic' from module 'Products.ZopeTutorial.TutorialTopic' > ------ > 2008-08-21T17:43:12 WARNING OFS.Uninstalled Could not import class > 'FieldHelpTopic' from module 'Products.Formulator.FieldHelpTopic' I see these two warnings too in some sites. Irritating but harmless. > ------ > 2008-08-21T17:43:12 INFO Zope Ready to handle requests > ------ > 2008-08-21T17:43:19 WARNING OFS.Uninstalled Could not import class > 'PloneFormMailer' from module 'Products.PloneFormMailer.PloneFormMailer' > ------ > 2008-08-21T17:43:20 WARNING OFS.Uninstalled Could not import class > 'CalendarTool' from module 'Products.Calendaring.tools.calendar' > ------ > 2008-08-21T17:43:20 WARNING OFS.Uninstalled Could not import class > 'LocalSiteHook' from module 'Products.Five.site.localsite' > ------ > 2008-08-21T17:43:20 WARNING OFS.Uninstalled Could not import class > 'CustomSearch' from module 'Products.customsearch.customsearch' > ------ > 2008-08-21T17:43:20 WARNING OFS.Uninstalled Could not import class > 'webexform' from module 'Products.webEx.webex.webexform' Looks like you hade these products in your Plone 2.5 site and have not put them in the Products directory in Plone 3. > 2008-08-21T17:43:24 ERROR ZPublisher BeforeTraverse: Error while invoking > hook: "__local_site_hook__" > Traceback (most recent call last): > File "C:\Program Files\Plone > 3\Zope\lib\python\ZPublisher\BeforeTraverse.py", line 145, in __call__ > meth(*(container, request, None)[:args]) > AttributeError: __call__ > ------ > 2008-08-21T17:43:25 ERROR Zope.SiteErrorLog > http://localhost:8080/Plone/manage_main > Traceback (innermost last): > Module ZPublisher.Publish, line 125, in publish > Module Zope2.App.startup, line 238, in commit > Module transaction._manager, line 96, in commit > Module transaction._transaction, line 395, in commit > Module transaction._transaction, line 495, in _commitResources > Module ZODB.Connection, line 510, in commit > Module ZODB.Connection, line 555, in _commit > Module ZODB.Connection, line 582, in _store_objects > Module ZODB.serialize, line 407, in serialize > Module OFS.Uninstalled, line 40, in __getstate__ > SystemError: This object was originally created by a product that > is no longer installed. It cannot be updated. > (<LocalSiteHook at broken>) Okay, this one is nasty and can be tricky to get rid of. You definitely need backups here in case you make a mistake that can't be reverted. Some info about the error is here: http://groups.google.com/group/getpaid-dev/browse_thread/thread/eb7b681511667e42/e8a81f505aea9bbb?#e8a81f505aea9bbb Best is to try and fix this in Plone 2.5, like I mentioned in one of the posts of that thread: 1. In the quick installer uninstall CMFonFive if you have that installed. Also: do *not* add CMFonFive to your Products directory under Plone 3. If you have no CMFonFive in Plone 2.5, you can ignore this first point. 2. Go to http://<your plone site>/manage_site.html Click on the "Unmake site" button. Hopefully this will function without errors. And hopefully you will then be able to start your plone 3 site also without errors. When not, there are some things you can try in Plone 3, but it's much harder there. Here goes. Add these lines at the top of C:\Program Files\Plone 3\Zope\lib\python\Products\Five\site\localsite.py: ------------------------------------- from zope.event import notify from ExtensionClass import Base class LocalSiteHook(Base): def __call__(self, container, request): pass ------------------------------------- This should make the LocalSiteHook object not broken anymore. If Zope then starts up correctly you can breathe a sigh of relief. :-) It's a workaround. Really the (formerly) broken object should be removed. On Linux I would start Zope in debug mode with "bin/zopectl debug". I think there is no way to do that on Windows though. If you know PDBDebugMode you can put that in your instance and perform some actions in the python prompt that comes up when you encounter an exception after starting zope with runzope.bat. For the record, this is what I would do (I'm doing this from memory): import transaction del app.__local_site_hook__ transaction.commit() # Or perhaps the broken object needs to be removed from # the Plone Site: del app.your_plone_site_id.__local_site_hook__ transaction.commit() And I had a case where after a zope start the component registry was dead and I needed to do this: from zope.component.globalregistry import globalSiteManager app.setSiteManager(globalSiteManager) transaction.commit() If you start screaming now, that is perfectly understandable. ;-) This stuff is ugly and scary. At least I did not like having to do this for a client; but that site is still running fine after this treatment. :-) > ComponentLookupError: (<InterfaceClass > plone.portlets.interfaces.IPortletManager>, 'plone.leftcolumn') Hopefully this error goes away after you have run the plone_migration. Perhaps it is also caused by the broken local site hook. Good luck! -- Maurits van Rees | http://maurits.vanrees.org/ Work | http://zestsoftware.nl/ "This is your day, don't let them take it away." [Barlow Girl] _______________________________________________ Setup mailing list Setup@... http://lists.plone.org/mailman/listinfo/setup |
||||||||||||||||||
|
akertis
|
Thanks a lot for your reply. I was able to get rid of the localsitehook error with help from the code you gave me to add to five. I still get the same error I was getting in 3.0.6 when trying to do portal_migration. I guess my only option is to run PDBDebug mode? To see what really went wrong because it doesn't tell me anything. It is the same as before in my first post.
Thanks, AJ
|
||||||||||||||||||
|
akertis
|
I tried to get this going in linux but I can't get past a different error in linux. Here is my log from what happens when i try to run portal_migration:
Starting the migration from version: 2.5.5 Attempting to upgrade from: 2.5.5 Upgrade aborted Error type: exceptions.KeyError Error value: 'Products.CMFPlone:plone' File "C:\Program Files\Plone 3\Data\Products\CMFPlone\MigrationTool.py", line 210, in upgrade newv, msgs = self._upgrade(newv) File "C:\Program Files\Plone 3\Data\Products\CMFPlone\MigrationTool.py", line 321, in _upgrade res = function(self.aq_parent) File "C:\Program Files\Plone 3\Data\Products\CMFPlone\migrations\v3_0\alphas.py", line 97, in three0_alpha1 updateImportStepsFromBaseProfile(portal, out) File "C:\Program Files\Plone 3\Data\Products\CMFPlone\migrations\v3_0\alphas.py", line 1358, in updateImportStepsFromBaseProfile tool.setBaselineContext("profile-Products.CMFPlone:plone") File "C:\Program Files\Plone 3\Data\Products\GenericSetup\tool.py", line 235, in setBaselineContext self.applyContextById(context_id, encoding) File "C:\Program Files\Plone 3\Data\Products\GenericSetup\tool.py", line 240, in applyContextById context = self._getImportContext(context_id) File "C:\Program Files\Plone 3\Data\Products\GenericSetup\tool.py", line 992, in _getImportContext info = _profile_registry.getProfileInfo(context_id) File "C:\Program Files\Plone 3\Data\Products\GenericSetup\registry.py", line 669, in getProfileInfo result = self._profile_info[ profile_id ] End of upgrade path, migration has finished The upgrade path did NOT reach current version Migration has failed Does this make any sense? I did do an un-make site on the old 2.5 site and re-copied the data.fs over. That didn't seem to make a difference. Any idea what this error means? I tried in linux to use PDBDebugMode but when i try to do del app.__local_site_hook__ it says app is not defined.
|
||||||||||||||||||
| Free Forum Powered by Nabble | Forum Help |