Dan Connolly's tinkering lab notebook

struggling to get my data out of Zope

struggling to get my data out of Zope

I found a recipe for iterating over the contents of a Zope store. It looks promising, but I'm not wining yet. My zope instance was built with zope 2.7 but the debian server has 2.9 now; 2.7 doesn't even show up in an apt-cache search.

This job of migrating from Zope was pending an alternative to Zope for family calendar storage. Now that my wife's laptop runs Leopard, google calendar works as a host.

Then I somehow lost root when was upgraded or something, and I just recently got around to asking thru channels to get it back.

Time to swap this job out, I think; here's my current state:

PYTHONPATH=/usr/lib/zope2.9/lib/python python
Python 2.4.4 (#2, Oct 22 2008, 19:52:44) 
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
Type "help", "copyright", "credits" or "license" for more
>>> from Zope2 import app
>>> root=app()
DeprecationWarning: Using OFS.content_types is deprecated
(will be removed in Zope 2.11). Instead use
  from OFS.content_types import find_binary
No handlers could be found for logger "Zope"
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/zope2.9/lib/python/Zope2/", line
51, in app
  File "/usr/lib/zope2.9/lib/python/Zope2/", line
47, in startup
  File "/usr/lib/zope2.9/lib/python/Zope2/App/",
line 46, in startup
  File "/usr/lib/zope2.9/lib/python/OFS/",
line 685, in import_products
    import_product(product_dir, product_name,
  File "/usr/lib/zope2.9/lib/python/OFS/",
line 723, in import_product
    raise sys.exc_info()