[Zope] Remnants of previous version of Python-based product "stuck" in Zope?

gtk gtk@well.com
Mon, 25 Oct 1999 08:45:06 +1000


Executive Summary:

    Zope and Win98 have some really, really wierd buffering problems.

This one is wierd.

First, I made a simple WebLog product in Python. I was pretty happy when it
worked.

Then I converted it to use Zope 2 style initialization. That worked too,
eventually.

So then I started making a Boring Product as a demonstration piece for a
HowTo on Zope 2 style products. I had a few mis-starts where I left WebLog
somewhere instead of Boring, but I cleaned them all out. Searching for the
string "web" in my product's directory gives no results.Cool.

For some reason, though, I kept getting errors like this when trying to add
a Boring:

    Debugging Notice
    Zope has encountered a problem publishing your object.
    Cannot locate object at:
    http://127.0.0.1:8080/manage_addProduct/Boring/manage_addWebLog

I got RID of that. There's no "web" anywhere in the bloody directory. So I
tried:

 * delete both WebLog and Boring from Control Panel / Products.
 * compact the database (9.7k!)
 * shut down and restart Zope
 * go to add a Boring...

Eh? The title is "Add WebLog", and indeed this
manage_addProduct/Boring/boringAdd has all the content intended for
weblogAdd, even after compacting the database. No wonder I got that previous
error. Anyhow, next I tried:

 * delete both WebLog and Boring from Control Panel / Products.
 * compact the database (9.7k!)
 * remove both their directories
 * shut down and restart Zope
 * compact the database (9.7k!)
 * flush the cache
 * shut down Zope
 * put ONLY the Boring directory back
 * restart Zope
 * go to add a Boring...

... and I was back where we were before. Frustrating.

Putting the Boring directory in another Zope instance (same version, NT
instead of Win98) worked just fine.

Anyhow, rebooting Win98 fixed it somehow. I'd still very much like to know
what the @(*&@@ was going on, though.

Regards,
Garth.

--
<gtk@well.com>