Quesiton about retrieving the base object
Hello, I have a custom product that has a ZFile as its base class. I tried importing the file on the upgraded platform, but I got the "Operation not supported" error. I have a ton of these objects that show up as "broken". Question: I still have my old Zope server running, is it possible to extract the files as regular Zope Files so I can transfer them over? Maybe make a python script? Thanks. RA --------------------------------- Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool.
--On 21. Juli 2007 21:21:58 -0700 Alric Aneron <aluminum3458@yahoo.com> wrote:
Hello, I have a custom product that has a ZFile as its base class.
What is ZFile? I tried
importing the file on the upgraded platform, but I got the "Operation not supported" error.
As already mentioned at least twice a week: export/import only works between _identical_ setups.
I have a ton of these objects that show up as "broken".
Likely because of some incompatibilities?!
Question: I still have my old Zope server running, is it possible to extract the files as regular Zope Files so I can transfer them over?
You ensure that your source and destination instances are identical or you write some kind of migration script. Since you have a custom implementaiton it is basically you who needs how to upgrade such objects (we know nothing about your custom implementation) unless you provide further details. -aj
Andreas Jung wrote at 2007-7-22 08:11 +0200:
... As already mentioned at least twice a week: export/import only works between _identical_ setups.
But, it does not become true through repetition. Export/import *may* well work also between different setups. The risk is only much higher than copying the storage as a whole because on import all objects are checked and if the check fails for a single object, the complete import will fail. If the storage is copied, then no objects are checked. Only on access, problematic objects will show up as broken objects. Whether or not a given object will have problems is identical between export/import and storage copy. -- Dieter
participants (3)
-
Alric Aneron -
Andreas Jung -
Dieter Maurer