[Zope-dev] serialization with Ape
Shane Hathaway
shane@zope.com
Wed, 11 Jun 2003 11:00:19 -0400
Christian Scholz wrote:
> root_mapper, conns = createMapper(fspath)
> ei=ExportImport(root_mapper,conns)
> ei.exportObject(object)
Ah-ha, I just realized what went wrong. You need to tell exportObject()
where to export. PathKeychainGenerator refused to guess. Try changing
the last line to:
ei.exportObject(object, keychain=('some/path/under/fspath',))
It's still obtuse. I'll think about how to make that cleaner.
Shane