[Setup] Migration errors

James Ellemore j_ellemore at hotmail.com
Fri Jul 14 02:09:14 UTC 2006


Hi, 

I'm having a problem migrating a site from Plone 2.0.5 to 2.5. Can anyone help? More details below: 

Core Plone Information: 

CMF: CMF-1.6.1 
Debug mode: No 
Platform: win32 
Plone File System: 2.5 
Plone Instance: 2.0.5 
Python: 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)] 
Zope: (Zope 2.9.3-, python 2.4.3, win32) 
Instance version: 2.0.5 
File system version: 2.5 

Results of attempt: 
Starting the migration from version: 2.0.5 
Attempting to upgrade from: 2.0.5 
Upgrade aborted 
Error type: exceptions.TypeError 
Error value: stat() argument 1 must be (encoded string without NULL bytes), not str 
File "C:\Plone2\Plone2\Data\Products\CMFPlone\MigrationTool.py", line 299, in upgrade newv, msgs = self._upgrade(newv) 
File "C:\Plone2\Plone2\Data\Products\CMFPlone\MigrationTool.py", line 396, in _upgrade res = function(self.aq_parent) 
File "C:\Plone2\Plone2\Data\Products\CMFPlone\migrations\v2_1\alphas.py", line 61, in two05_alpha1 installArchetypes(portal, out) 

File "C:\Plone2\Plone2\Data\Products\CMFPlone\migrations\v2_1\alphas.py", line 267, in installArchetypes installOrReinstallProduct(portal, product_name, out) 

File "C:\Plone2\Plone2\Data\Products\CMFPlone\migrations\migration_util.py", line 82, in installOrReinstallProduct qi.installProduct(product_name) 

File "C:\Plone2\Plone2\Data\Products\CMFQuickInstallerTool\QuickInstallerTool.py", line 322, in installProduct res=install(portal) 

File "C:\Plone2\Plone2\Zope\lib\python\Products\ExternalMethod\ExternalMethod.py", line 225, in __call__ try: return f(*args, **kw) 

File "C:\Plone2\Plone2\Data\Products\MimetypesRegistry\Extensions\Install.py", line 24, in install addTool('MimeTypes Registry') 

File "C:\Plone2\Plone2\Data\Products\CMFCore\utils.py", line 631, in manage_addTool obj = tool() 
File "C:\Plone2\Plone2\Data\Products\MimetypesRegistry\MimeTypesRegistry.py", line 102, in __init__ initialize(self) 
File "C:\Plone2\Plone2\Data\Products\MimetypesRegistry\mime_types\__init__.py", line 13, in initialize py_mimetypes.initialize(registry) 

File "C:\Plone2\Plone2\Data\Products\MimetypesRegistry\mime_types\py_mimetypespy", line 72, in initialize registry.register(MimeTypeItem(mt, (mt,), (ext,), isBin)) 

File "C:\Plone2\Plone2\Data\Products\MimetypesRegistry\MimeTypeItem.py", line 32, in __init__ self.icon_path = icon_path or guess_icon_path(self) 

File "C:\Plone2\Plone2\Data\Products\MimetypesRegistry\MimeTypeItem.py", line 108, in guess_icon_path if os.path.exists(os.path.join(icons_dir, icon_path)): 

File "C:\Plone2\Plone2\Python\lib\ntpath.py", line 256, in exists st = os.stat(path) 
End of upgrade path, migration has finished 
The upgrade path did NOT reach current version 
Migration has failed 

Can anyone help please? 
Thank You 
James 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-setup/attachments/20060713/d48c484e/attachment-0002.html>


More information about the Setup mailing list