DSToolkit is permanently disconnected if ZEO restarts. was Re: Solved? Re: Can't get into snapshot, was Re: Backup aborted - why? (dirstor 1.1.9)

Paul Winkler <[email protected]>
Newsgroups gmane.comp.web.zope.zodb.dirstorage
Message-ID <[email protected]>
On Fri, Dec 31, 2004 at 06:23:00PM -0500, Paul Winkler wrote:
> The odd thing about that is that I saw no other indication of being 
> disconnected.
> The ZEO server log showed the clients connecting, and everything
> I clicked on in the ZMI came up fine with the single exception of
> the DSToolkit page.

OK, I can reliably reproduce this on a fresh zope + zeo instance
with zope 2.7.3 and a new DirectoryStorage (1.1.9).

Summary:

0) create a zope + zeo instance (i.e. use mkzopeinstance and mkzeoinstance;
   ok to use the same directory for both).
1) configure zeo.conf to use directorystorage:

%import DirectoryStorage
# Main DirectoryStorage database
<directorystorage main>
       path $INSTANCE/var/DirStor
       read-only off
</directorystorage>


2) configure zope.conf to use zeo:

<zodb_db main>
   mount-point /
   <zeoclient>
     read-only off
     server localhost:8100  # or whatever port
     storage main
     name zeostorage
     var $INSTANCE/var
   </zeoclient>
</zodb_db>



3) start zeo
4) start zope
5) confirm that everything works ok, i.e. navigate around the ZMI a bit.
6) add a DirectoryStorageToolkit instance to zope
7) click on the DSToolkit - the management page should come up ok

8) restart zeo. wait a few seconds for zope to reconnect.
9) confirm that everything works - i.e. you can navigate the
ZMI, add new objects, etc.
10) click on the DSToolkit again. DisconnectedError.

11) restart zope.
12) all is OK now including the DSToolkit.

Is this considered a bug? 
Should I file a bug report on sourceforge?

-- 

Paul Winkler
http://www.slinkp.com


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.