[Zope-CMF] problems migrating PTK 0.7.1 data

Lucas Hofman lucas.hofman@oslo.pgs.com
Fri, 30 Mar 2001 15:23:33 +0200


Dear list,

I was relieved when andrew published his How-To Migrate from PTK to CMF
document. In the production portal is 1.3 Gb content stored. Eventually
that has to go in the nearly finished CMF version.

However, when testing on a small subset of the data I got stuck in the
first paragraph of his how-to: how does one get both a the to be
converted PTK instance and a new CMF instance in the same database?

The old site is build using PTK 0.7.1 on Zope 2.1.6. The new one uses
CMF 1.0B and Zope 2.3.0 (with patch). I tried the following:

1. Trying to open an old Data.fs with Zope 2.3 does work, and the old
Demoportal, LoginManger, PTKBase and PTKDemo products are there.
However, something with the authorisation prevents me from opening the
customized portal instance. 

2. Starting with an empty Data.fs (under Zope 2.3) lets me import
DemoPortal, and the customize portal instance. Again I cannot open it
(authorization error, traceback:
Traceback (innermost last):
    File
/usr/share/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line
222, in publish_module
    File
/usr/share/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line
187, in publish
    File
/usr/share/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line
171, in publish
    File
/usr/share/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/mapply.py, line
160, in mapply
      (Object: manage_workspace)
    File
/usr/share/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line
112, in call_object
      (Object: manage_workspace)
    File /usr/share/Zope-2.3.0-linux2-x86/lib/python/App/Management.py,
line 148, in manage_workspace
      (Object: DemoPortalBase)
  Unauthorized: (see above)

I am using a userid with manager roles in the root folder. I use a
normal acl-user folder in the old portal.

Any help on this is greatly appreciated!
-- 
Lucas Hofman
PGS Seres                                       work: +47 67514059
PO Box 354                                       fax: +47 67526640
N-1324 Lysaker, Norway                          home: +47 67581373