[Zope] Zope 2.4 object/data problems

Terry Hancock hancock@anansispaceworks.com
Mon, 12 Nov 2001 03:26:18 -0800


Hi all,

I am encountering a really bad set of problems with
Zope 2.4.1:  After a period of normal behavior, during
which I was editing and testing python scripts and
associated DTML objects, Zope suddenly stopped
accepting edits to a script.  (Deeply frustrating,
since I was just a couple of hours from finishing a
project I've been working on for days!).

Furthermore, it was impossible to delete and reload
this script.  Nor could I load the script under another
name. The server returns a "data missing" or "connection
refused" message when I attempt to upload this script.
(You might think the server had gone down, except that
other files work okay before, between, and after such
attempts).

I've also run into what must be version problems
between Zope 2.3.3 and Zope 2.4.1, with similar
results (which is why I bring it up).  It seems that
objects which I loaded or imported into Zope 2.3.3
do not work properly when Zope 2.4.1 is started --
I get "data missing"/"connection refused" messages
for files and whole folders, when I attempt this.
I tried this most recently, because downgrading to
Zope 2.3.3 was the only way I could get the script
I mentioned above to load into the Zope site.
Unfortunately, this script doesn't run with the Zope
2.3.3/Python 1.5.2 environment, although I can't
really figure out why -- it should be legal code
in either Python. So I reverted back to 2.4.1 --
but then entire folders gave me these errors, as
I said.  Is it normal for the object system to
be so incompatible between versions?  I can understand
that there are differences between the performance
of the files and whether the scripts actually run,
but I'm surprised to find that the data actually
gets corrupted. (If indeed that's what's happening).

I find it odd that the problems seem to arise when
loading particular scripts. Am I dealing with size
or other limits on the scripts?

Anyway, here are some excerpts from "events.log"
showing some of the errors I'm encountering. I'd
really appreciate it if someone can clue me in to
what's going on and how I can get around it.

Thanks!
Terry Hancock

-- Excerpts from 'grep "ERRORS" events.log' --


2001-06-17T03:56:06 ERROR(200) Zope Couldn't import
Products.ZMySQLDA
2001-11-09T03:59:18 ERROR(200) Script (Python) write failed
2001-11-10T02:35:30 ERROR(200) zdaemon zdaemon: Sat Nov 10
02:35:30
2001: Aiieee! 41903 exited with error code: 256
2001-11-10T19:07:18 ERROR(200) ZServer uncaptured python
exception,
closing channel <zhttp_channel connected 165.247.228.109:2217
at 897b3cc
channel#: 98 requests:> (socket.error:(60, 'Operation timed
out')
[/usr/local/zope/2.4.1/ZServer/medusa/asynchat.py|handle_read|83]
[/usr/local/zope/2.4.1/ZServer/medusa/http_server.py|recv|420]
[/usr/local/lib/python2.1/asyncore.py|recv|349])
2001-11-10T19:08:23 ERROR(200) ZServer uncaptured python
exception,
closing channel <zhttp_channel connected 165.247.228.109:2204
at 89f152c
channel#: 89 requests:> (socket.error:(60, 'Operation timed
out')
[/usr/local/zope/2.4.1/ZServer/medusa/asynchat.py|handle_read|83]
[/usr/local/zope/2.4.1/ZServer/medusa/http_server.py|recv|420]
[/usr/local/lib/python2.1/asyncore.py|recv|349])
2001-11-12T03:24:28 ERROR(200) Script (Python) write failed
2001-11-12T04:35:18 ERROR(200) Script (Python) write failed
2001-11-12T04:35:32 ERROR(200) Script (Python) write failed
2001-11-12T04:36:05 ERROR(200) Script (Python) write failed

 [there were a *lot* of the following type]
2001-11-12T04:49:34 ERROR(200) zdaemon zdaemon: Mon Nov 12
04:49:34
2001: Aiieee! 61810 exited
 with error code: 11

-- Excerpts from 'grep "PROBLEM" events.log':

2001-11-10T13:42:39 PROBLEM(100) Script (Python) Object
"cart_logic"
needs to be recompiled.
2001-11-10T13:42:41 PROBLEM(100) Init Ambiguous name for
method of
Products.SiteAccess.SiteRoot.SiteRoot: "manage" !=
"manage_main"

  [The following appear together multiple times]
2001-11-12T04:41:56 PROBLEM(100) Script (Python) Object
"cart_logic"
needs to be recompiled.
2001-11-12T04:41:57 PROBLEM(100) Init Ambiguous name for
method of
Products.SiteAccess.SiteRoot.SiteRoot: "manage" !=
"manage_main"

-- 
------------------------------------------------------
Terry Hancock
hancock@anansispaceworks.com       
Anansi Spaceworks                 
http://www.anansispaceworks.com 
P.O. Box 60583                     
Pasadena, CA 91116-6583
------------------------------------------------------