|
List Info
Thread: portal_atct CMF Topic missing FTI error migrating from Plone 2.0.5 to Plone 2.1.2
|
|
| portal_atct CMF Topic missing FTI error
migrating from Plone 2.0.5 to Plone
2.1.2 |

|
2006-05-08 18:40:58 |
|
Hi Nick,
Ah, apologies for not replying to your
email on the plone-user list. Thank you for the reply to my
question.... My inbox got filled when I signed up for the plone-users
mailing list so I unsubscribed to keep my inbox from filling up. I
did see the email you sent on that other list, however. Is the plone-setup
list the appropriate place for this question?
Anyway, your email was a great
to providing a systematic approach to the migration. From there,
I had to do more mailing list searching to find the necessary details.
As you have suggested, I started by
migrating the 3rd party products first before migrating Plone to 2.1.2.
I believe I have successfully upgraded the Plone plugins listed
in portal_quickinstaller. I have also tried to delete out some bad
content such as CMFPhoto and CMFPhotoAlbum objects in my Plone instance.
I deleted and added a new portal_catalog but am stuck with rebuilding
the content using portal_atct. This is currently where I'm stuck.
PORTAL_ATCT ERROR:
Running a types migration in portal_atct
shows the following error:
--> Migrating CMF Document to Document with CatalogWalker
--> Migrating CMF Event to Event with CatalogWalker
--> Migrating CMF Favorite to Favorite with CatalogWalker
--> Migrating CMF File to File with CatalogWalker
--> Migrating CMF Image to Image with CatalogWalker
--> Migrating CMF Link to Link with CatalogWalker
--> Migrating CMF News Item to News Item with CatalogWalker
--> Migrating CMF Folder to Folder with CatalogWalkerWithLevel
Couldn't migrate src_portal_type due to missing FTI
--> Migrating CMF Topic to Topic with CatalogWalker
The event.log file does not show anything
when doing the portal_atct type migration. :(
PORTAL_MIGRATION FAILURE:
It was a bit useful when failing with
the portal_migration tool though.
ZMI Error:
- Starting the migration from version: 2.0.5
- Attempting to upgrade from: 2.0.5
- Upgrade aborted
- Error type: exceptions.AttributeError
- Error value: getAvailableLayouts
- File "/usr/local/zope/instances/01_zope278/Products/CMFPlone/MigrationTool.py",
line 274, in upgrade newv, msgs = self._upgrade(newv)
- File "/usr/local/zope/instances/01_zope278/Products/CMFPlone/MigrationTool.py",
line 371, in _upgrade res = function(self.aq_parent)
- File "/usr/local/zope/instances/01_zope278/Products/CMFPlone/migrations/v2_1/alphas.py",
line 29, in two05_alpha1 convertPloneFTIToCMFDynamicViewFTI(portal, out)
- File "/usr/local/zope/instances/01_zope278/Products/CMFPlone/migrations/v2_1/alphas.py",
line 1276, in convertPloneFTIToCMFDynamicViewFTI if 'folder_listing' not
in portal.getAvailableLayouts():
- End of upgrade path, migration has finished
- The upgrade path did NOT reach current version
- Migration has failed
Event.Log error:
------
2006-05-08T08:35:31 INFO(0) Plone
Starting the migration from version:
2.0.5
------
2006-05-08T08:35:31 INFO(0) Plone
Attempting to upgrade from: 2.0.5
------
2006-05-08T08:35:31 ERROR(200) Plone
Upgrade aborted
------
2006-05-08T08:35:31 ERROR(200) Plone
Error type: exceptions.AttributeError
------
2006-05-08T08:35:31 ERROR(200) Plone
Error value: getAvailableLayouts
------
2006-05-08T08:35:31 ERROR(200) Plone
File "/usr/local/zope/instances/01_zope278/Products/CMFPlone/MigrationTool.py",
line 274, in upgrade
newv, msgs = self._upgrade(newv)
------
2006-05-08T08:35:31 ERROR(200) Plone
File "/usr/local/zope/instances/01_zope278/Products/CMFPlone/MigrationTool.py",
line 371, in _upgrade
res = function(self.aq_parent)
------
2006-05-08T08:35:31 ERROR(200) Plone
File "/usr/local/zope/instances/01_zope278/Products/CMFPlone/migrations/v2_1/alphas.py",
line 29, in two05_alpha1
convertPloneFTIToCMFDynamicViewFTI(portal,
out)
------
2006-05-08T08:35:31 ERROR(200) Plone
File "/usr/local/zope/instances/01_zope278/Products/CMFPlone/migrations/v2_1/alphas.py",
line 1276, in convertPloneFTIToCMFDynamicViewFTI
if 'folder_listing' not
in portal.getAvailableLayouts():
------
2006-05-08T08:35:31 INFO(0) Plone
End of upgrade path, migration has finished
------
2006-05-08T08:35:31 PROBLEM(100) Plone
The upgrade path did NOT reach current
version
------
2006-05-08T08:35:31 PROBLEM(100) Plone
Migration has failed
Does any of this make sense to you?
I am currently not sure where to go from here.
Thanks,
Jon
-------------------------------------
Jonagustine Lim
eGovernment Team Specialist
State of Hawaii, DAGS/ICSD
jon dot lim at hawaii dot gov
808-586-1920 x325
Nick Davis <nd51 le.ac.uk>
Sent by: setup-bounces lists.plone.org
05/07/2006 11:04 PM
|
|
To
| setup lists.plone.org
|
|
cc
|
|
|
Subject
[Setup] Re: portal_atct CMF Topic missing
FTI error migrating from Plone 2.0.5 to Plone 2.1.2 | |
|
Jon.Lim hawaii.gov wrote:
>
> Hello,
>
> I am currently trying to migrate my Plone 2.0.5 instance to Plone
2.1.2
> but am having some trouble with portal_atct migration when I do a
Type
> Migration. The error I am getting is below:
>
> Couldn't migrate src_portal_type due to missing FTI
> --> Migrating CMF Topic to Topic with CatalogWalker
>
I replied to a related question of yours on the plone users list.
A copy is here:
http://www.nabble.com/2.0.5-to-2.1.2-migration-error%3A-exceptions.AttributeError-getAvailableLayouts-t1546813.html
Was that any help? I made one typo - meant to say look in the event.log,
not the error.log.
The things I suggested would apply to solving this problem too.
It would be nice sometimes to hear back from people.
I have answered a number of posts regarding migration and cannot know if
my advice is any use / should be rephrased, unless the recipient
actually tells me. 
Nick
_______________________________________________
Setup mailing list
Setup lists.plone.org
http://lists.plone.org/mailman/listinfo/setup
|
| portal_atct CMF Topic missing FTI error
migrating from Plone 2.0.5 to Plone
2.1.2 |

|
2006-05-09 10:48:27 |
Jon.Lim hawaii.gov wrote:
>
> Hi Nick,
>
> Ah, apologies for not replying to your email on the
plone-user list.
> Thank you for the reply to my question.... My inbox
got filled when I
> signed up for the plone-users mailing list so I
unsubscribed to keep my
> inbox from filling up. I did see the email you sent on
that other list,
> however. Is the plone-setup list the appropriate
place for this question?
No worries. Sorry, didn't mean to give you a hard time. I
had just
answered a number of people and wondered if it helped them.
I believe the "Gods" (Limi & Runyaga) do
prefer migration questions to
be asked on the setup list than plone-users, yes.
> As you have suggested, I started by migrating the 3rd
party products
> first before migrating Plone to 2.1.2.
Just to check no misunderstanding here, what I meant was,
take an empty
2.1.2 site, add in the 3rd-party products, and see if at
this point you
need code changes to make them work. Then go back and try
migration from
2.0.5, with this updated code. (Probably this is what you
did already...)
> *PORTAL_ATCT ERROR
So your Topics are blowing up trying to migrate. We didn't
have Topics
on our 2.0.5 site, so I never experienced this problem.
You can try the type migration alone by installing
portal_atct with
portal_quickinstaller, then go to portal_atct, do version
migration,
recatalog CMF, then type migration. I suggest this just in
case the
recatalog CMF didn't happen when you did the normal
migration.
You might also try doing the migration on both Zope 2.7.8,
and 2.8.5 and
comparing the results for clues. They official
recommendation is to do
it on 2.7.8 but we found 2.8.5 worked better.
Could you simply get rid of all your Topics and add them
back by hand
after migration? Or are there too many?
>
"/usr/local/zope/instances/01_zope278/Products/CMFPlon
e/migrations/v2_1/alphas.py",
> line 29, in two05_alpha1
> convertPloneFTIToCMFDynamicViewFTI(portal, out)
You might go to this function, put an import pdb;
pdb.set_trace().
In case you do't already know, to debug in emacs, open a
couple of file
buffers, then do Esc-X shell, ./runzope from this shell,
then run
migration from the ZMI and eventually emacs will open up the
debugger
with the source code in another buffer which is a nice way
to debug.
This assumes you're on *nix. If you're on Windows, I've
heard PloneShell
is a good way to go.
If you run out of ideas, I must say that migration was
painful for us
and at one point Alan Runyan suggested we might pay them or
some other
plone developer to do some of the work. It wasn't an option
for us, but
I can see why he suggested it. One problem I find with Plone
is that
sometimes rough edges, edge case bugs , do not get fixed and
that is
largely because the possible pain and uninterestingness of
fixing them
stops anyone doing it unless they get paid. If they're
coding for free
it makes sense that they'd rather write a cool new feature
than fix an
old one. This however means there is this sometimes
brittle-ness about
things which detracts from Plone. So that might be an option
too......
But I do recognise many organisations with theoretically
deep pockets
cannot understand why they would ever pay anything for open
source when
it's all supposed to be "free".
Regards,
Nick
Nick Davis
University of Leicester
_______________________________________________
Setup mailing list
Setup lists.plone.org
http://
lists.plone.org/mailman/listinfo/setup
|
|
[1-2]
|
|