[Zope] Re: Access to Data.fs without Zope ?
Tres Seaver
tseaver at zope.com
Sat Mar 5 11:18:30 EST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jurgen Defurne wrote:
| Last summer I wrote an application to inventarise all my media
| (books, CD's, periodicals, etc) which worked well, but wasn't yet
| complete. Anyway, I started adding books as an exercise to see how it
| could be improved.
|
| However, I run Debian testing, and after some updates in the fall I
| could not get access anymore to my data.
|
| Today I tried to move the contents of Zope default to a known running
| instance of Zope, but the moment I do that, the Zope instance cannot
| be started anymore. Replace the contents back by its originals and
| the instance can be started once again.
|
| So, is there a way to access the contents of the Data.fs file without
| using Zope alltogether, so that I at least can start working again ?
How does the startup fail? Try running Zope in the foreground (set
'debug-mode' true in zope.conf, then run 'zopectl fg'). What errors do
you see?
Also, what version of Zope was the original installation? What version
is installed now?
Assuming that the Data.fs is not damaged, you should be able to open the
database from within Python, but that seems harder than needed if we can
~ help you get Zope to restart; if it does, then you can write a script
to extract your data (to be run under 'zopectl run').
Tres.
- --
===============================================================
Tres Seaver tseaver at zope.com
Zope Corporation "Zope Dealers" http://www.zope.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCKdvWGqWXf00rNCgRAn5bAJ99ENJmAY1hBnan9U8a/S8Ks3F4/gCeNuCJ
JrfBEEH5n834U1Vt2Eomg8A=
=Zulz
-----END PGP SIGNATURE-----
More information about the Zope
mailing list