[Baypiggies] Plone migration
Ken Seehart
ken at seehart.com
Sat Oct 6 23:51:50 CEST 2007
I am trying to migrate a plone instance from 2.0.4 to 3.0.1. Since the
migration tool does not allow this to be done in one step, I have to
migrate to an in-between version of plone, and then migrate to 3.0.1.
I chose 2.1.2 for no particular reason (anything 2.1.x or 2.5.x might work).
So I installed a second zope application with plone 2.1.2 and imported
my plone object export file. So far so good. It looks pretty much like
my plone site, but some of my plone objects get this error:
Site error
This site encountered an error trying to fulfill your request. The
errors were:
Error Type
AttributeError
Error Value
text
Request made at
2007/10/06 16:09:01.094 GMT-5
The traceback from the log file says:
2007-10-06T16:09:00 ERROR Zope.SiteErrorLog
http://seehart.webfactional.com/p212/pisces/index_html/document_view
Traceback (most recent call last):
File
"/home/seehart/webapps/zope285plone212/Zope-2.8.5-final/lib/python/ZPublisher/Publish.py",
line 113, in publish
request, bind=1)
File
"/home/seehart/webapps/zope285plone212/Zope-2.8.5-final/lib/python/ZPublisher/mapply.py",
line 88, in mapply
if debug is not None: return debug(object,args,context)
File
"/home/seehart/webapps/zope285plone212/Zope-2.8.5-final/lib/python/ZPublisher/Publish.py",
line 40, in call_object
result=apply(object,args) # Type s<cr> to step into published
object.
File
"/home/seehart/webapps/zope285plone212/Zope-2.8.5-final/lib/python/Shared/DC/Scripts/Bindings.py",
line 311, in __call__
return self._bindAndExec(args, kw, None)
File
"/home/seehart/webapps/zope285plone212/Zope-2.8.5-final/lib/python/Shared/DC/Scripts/Bindings.py",
line 348, in _bindAndExec
return self._exec(bound_data, args, kw)
File
"/home/seehart/webapps/zope285plone212/Zope-2.8.5-final/lib/python/Products/PageTemplates/ZopePageTemplate.py",
line 256, in _exec
result = self.pt_render(extra_context=bound_names)
File
"/home/seehart/webapps/zope285plone212/Zope-2.8.5-final/lib/python/Products/PageTemplates/PageTemplate.py",
line 104, in pt_render
tal=not source, strictinsert=0)()
File
"/home/seehart/webapps/zope285plone212/Zope-2.8.5-final/lib/python/TAL/TALInterpreter.py",
line 206, in __call__
self.interpret(self.program)
File
"/home/seehart/webapps/zope285plone212/Zope-2.8.5-final/lib/python/TAL/TALInterpreter.py",
line 250, in interpret
handlers[opcode](self, args)
File
"/home/seehart/webapps/zope285plone212/Zope-2.8.5-final/lib/python/TAL/TALInterpreter.py",
line 711, in do_useMacro
self.interpret(macro)
File
"/home/seehart/webapps/zope285plone212/Zope-2.8.5-final/lib/python/TAL/TALInterpreter.py",
line 250, in interpret
handlers[opcode](self, args)
File
"/home/seehart/webapps/zope285plone212/Zope-2.8.5-final/lib/python/TAL/TALInterpreter.py",
line 426, in do_optTag_tal
self.do_optTag(stuff)
File
"/home/seehart/webapps/zope285plone212/Zope-2.8.5-final/lib/python/TAL/TALInterpreter.py",
line 411, in do_optTag
return self.no_tag(start, program)
File
"/home/seehart/webapps/zope285plone212/Zope-2.8.5-final/lib/python/TAL/TALInterpreter.py",
line 406, in no_tag
self.interpret(program)
File
"/home/seehart/webapps/zope285plone212/Zope-2.8.5-final/lib/python/TAL/TALInterpreter.py",
line 250, in interpret
handlers[opcode](self, args)
File
"/home/seehart/webapps/zope285plone212/Zope-2.8.5-final/lib/python/TAL/TALInterpreter.py",
line 742, in do_defineSlot
self.interpret(block)
File
"/home/seehart/webapps/zope285plone212/Zope-2.8.5-final/lib/python/TAL/TALInterpreter.py",
line 250, in interpret
handlers[opcode](self, args)
File
"/home/seehart/webapps/zope285plone212/Zope-2.8.5-final/lib/python/TAL/TALInterpreter.py",
line 426, in do_optTag_tal
self.do_optTag(stuff)
File
"/home/seehart/webapps/zope285plone212/Zope-2.8.5-final/lib/python/TAL/TALInterpreter.py",
line 411, in do_optTag
return self.no_tag(start, program)
File
"/home/seehart/webapps/zope285plone212/Zope-2.8.5-final/lib/python/TAL/TALInterpreter.py",
line 406, in no_tag
self.interpret(program)
File
"/home/seehart/webapps/zope285plone212/Zope-2.8.5-final/lib/python/TAL/TALInterpreter.py",
line 250, in interpret
handlers[opcode](self, args)
File
"/home/seehart/webapps/zope285plone212/Zope-2.8.5-final/lib/python/TAL/TALInterpreter.py",
line 690, in do_defineMacro
self.interpret(macro)
File
"/home/seehart/webapps/zope285plone212/Zope-2.8.5-final/lib/python/TAL/TALInterpreter.py",
line 250, in interpret
handlers[opcode](self, args)
File
"/home/seehart/webapps/zope285plone212/Zope-2.8.5-final/lib/python/TAL/TALInterpreter.py",
line 734, in do_defineSlot
self.interpret(slot)
File
"/home/seehart/webapps/zope285plone212/Zope-2.8.5-final/lib/python/TAL/TALInterpreter.py",
line 250, in interpret
handlers[opcode](self, args)
File
"/home/seehart/webapps/zope285plone212/Zope-2.8.5-final/lib/python/TAL/TALInterpreter.py",
line 426, in do_optTag_tal
self.do_optTag(stuff)
File
"/home/seehart/webapps/zope285plone212/Zope-2.8.5-final/lib/python/TAL/TALInterpreter.py",
line 411, in do_optTag
return self.no_tag(start, program)
File
"/home/seehart/webapps/zope285plone212/Zope-2.8.5-final/lib/python/TAL/TALInterpreter.py",
line 406, in no_tag
self.interpret(program)
File
"/home/seehart/webapps/zope285plone212/Zope-2.8.5-final/lib/python/TAL/TALInterpreter.py",
line 250, in interpret
handlers[opcode](self, args)
File
"/home/seehart/webapps/zope285plone212/Zope-2.8.5-final/lib/python/TAL/TALInterpreter.py",
line 690, in do_defineMacro
self.interpret(macro)
File
"/home/seehart/webapps/zope285plone212/Zope-2.8.5-final/lib/python/TAL/TALInterpreter.py",
line 250, in interpret
handlers[opcode](self, args)
File
"/home/seehart/webapps/zope285plone212/Zope-2.8.5-final/lib/python/TAL/TALInterpreter.py",
line 477, in do_setLocal_tal
self.engine.setLocal(name, self.engine.evaluateValue(expr))
File
"/home/seehart/webapps/zope285plone212/Zope-2.8.5-final/lib/python/Products/PageTemplates/TALES.py",
line 221, in evaluate
return expression(self)
File
"/home/seehart/webapps/zope285plone212/Zope-2.8.5-final/lib/python/Products/PageTemplates/ZRPythonExpr.py",
line 47, in __call__
return eval(code, g, {})
File "Python expression "len(here.text)"", line 1, in <expression>
AttributeError: text
I figure that probably has something to do with some customizing I did
to implement my special objects. So I decide to go ahead and finish the
migration to 3.0.1 first and then try to resolve this issue.
I export the plone object, and put it in the import directory for the
main version of zope/plone (that's plone 3.0.1). I get this in response
to my attempt to import it:
An error was encountered while publishing this resource.
*Error Type: AttributeError*
*Error Value: 'module' object has no attribute 'UIDCatalog'***
The traceback in the zope log file is:
2007-10-06T15:58:51 ERROR Zope.SiteErrorLog
http://seehart.webfactional.com/www/seehart.com/manage_importObject
Traceback (innermost last):
Module ZPublisher.Publish, line 119, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 42, in call_object
Module OFS.ObjectManager, line 609, in manage_importObject
Module OFS.ObjectManager, line 626, in _importObjectFromFile
Module ZODB.ExportImport, line 75, in importFile
Module transaction._transaction, line 312, in savepoint
Module transaction._transaction, line 309, in savepoint
Module transaction._transaction, line 737, in __init__
Module ZODB.Connection, line 1046, in savepoint
Module ZODB.Connection, line 519, in _commit
Module ZODB.ExportImport, line 143, in _importDuringCommit
AttributeError: 'module' object has no attribute 'UIDCatalog'
I have no idea what causes this. Any suggestions would be appreciated.
Also, I would be willing to pay someone to get the job done (finish the
migration and fix any defects caused by the migration). Anyone
interested? I'd love to have it wrapped up this weekend if possible.
- Ken
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/baypiggies/attachments/20071006/080ace03/attachment.htm
More information about the Baypiggies
mailing list