Re: [Zope] Opening Old .zexp Files

2010-03-22 Thread Susan Day
On Sun, Mar 14, 2010 at 3:41 PM, Tres Seaver tsea...@palladion.com wrote:

 Depending on your needs, it might be advisable to outsource the problem
 to somebody in the community having experience with the particular
 products used by the old instance.


I think I will; however, there's one that would probably be easy. I
understand one of those zexp files is just a shell that holds a swf and an
xml file. Would that be easy to parse, or outsource that too?
TIA,
Susan
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Opening Old .zexp Files

2010-03-14 Thread Chris Withers
Susan Day wrote:
 I have inherited some very old *.zexp files that I can't open in a Zope 
 instance. Apparently they were built on 2.10 or even older. The problem 
 appears to be that there were all sorts of products packed into the 
 Products folder that crash everything and I don't know which ones are 
 needed. How do I begin to dig into this mess?

I'd probably try grepping through the .zexp for 'Products.' to try and 
get an idea of what products it requires.

That said, I'm surprised the .zexp import doesn't tell you what classes 
were missing...

Chris

-- 
Simplistix - Content Management, Batch Processing  Python Consulting
- http://www.simplistix.co.uk
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Opening Old .zexp Files

2010-03-14 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Susan Day wrote:

 I have inherited some very old *.zexp files that I can't open in a Zope
 instance. Apparently they were built on 2.10 or even older. The problem
 appears to be that there were all sorts of products packed into the Products
 folder that crash everything and I don't know which ones are needed. How do
 I begin to dig into this mess?

Note that the export / import support is specifically limited in scope:
 it is only designed to support moving content between instances with
identical software configurations (including Zope version, add-on
Products, etc.)  It happens to work, sometimes, to import a .zexp from a
slightly different configuration, but there are no guarantees.

It sounds as though the .zexp files you are trying to import contain
objects whose classes are defined in add-on products which you do not
have installed.  Debugging that problem is likely to be a
trial-and-error process, identifying each product (preferrably with the
same version as used in the original instance).

Depending on your needs, it might be advisable to outsource the problem
to somebody in the community having experience with the particular
products used by the old instance.


Tres.
- --
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkudPAYACgkQ+gerLs4ltQ6goQCeKHlmGLp8himNZVylsIoBtUVg
Aa0An2RFpdU74JKz0/NgIvfWTXj+tMhj
=2OCH
-END PGP SIGNATURE-

___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )