[Zope-dev] 'None' object has no attribute 'load'

2001-05-18 Thread Chris Withers
Hi, Another data point on these errors. -- 2001-05-18T11:01:44 ERROR(200) ZODB Couldn't load state for '\000\000\000\000\00 0(\347\026' Traceback (innermost last): File E:\Zope\2379B4~1.2\lib\python\ZODB\Connection.py, line 508, in setstate AttributeError: 'None' object has no attribute

Re: [Zope-dev] 'None' object has no attribute 'load'

2001-05-18 Thread Chris McDonough
python import Zope app = Zope.app() ob = app._p_jar['\000\000\000\000\000(\347\026'] print ob.id print ob.__class__ ... etc. Chris Withers wrote: Hi, Another data point on these errors. -- 2001-05-18T11:01:44 ERROR(200) ZODB Couldn't load state for '\000\000\000\000\00

[Zope-dev] Asyncore in an external method

2001-05-18 Thread Matt Hamilton
Dear All, I have just written a parallel whois lookup as an external method. It uses Asyncore to handle the parallelism. It works fine from the command line, but I am now trying to use it within Zope with not much luck the request just hangs the server. I have just wondered, can this actually

Re: [Zope-dev] 'None' object has no attribute 'load'

2001-05-18 Thread Chris Withers
Chris McDonough wrote: python import Zope app = Zope.app() ob = app._p_jar['\000\000\000\000\000(\347\026'] print ob.id print ob.__class__ Thanks, that worked, and sorry Chris, but I'm about to ruin your day :-S app = Zope.app() ob = app._p_jar['\000\000\000\000\000(\347\026'] print

Re: [Zope-dev] 'None' object has no attribute 'load'

2001-05-18 Thread Chris McDonough
I actually expected all along that it was mounted storage objects causing the error (this happens with any mounted storage, not just the one defined in CST).At least now we know it's the case. I'm surprised no one thought of doing this earlier. ;-) I suspect this has something to do with

Re: [Zope-dev] 'None' object has no attribute 'load'

2001-05-18 Thread Chris Withers
Chris McDonough wrote: I suspect this has something to do with the _p_jar attribute of the mounted storage object becoming None at some point after a commit. That said, I'm in over my head, and I'm going to need some help from others at DC. Since this error rarely gets raised at the user

Re: [Zope-dev] 'None' object has no attribute 'load'

2001-05-18 Thread Chris McDonough
Chris McDonough wrote: It is unfortunately one of the things lowering certain parts of NIP's opinions of Zope :-S Ah I love FUD. Well, opine away. It has no actual effect on the system that I can detect. Deinstalling CST will make it go away as well. But, I think I now have confidence to

Re: [Zope-dev] 'None' object has no attribute 'load'

2001-05-18 Thread Chris Withers
Chris McDonough wrote: Chris McDonough wrote: It is unfortunately one of the things lowering certain parts of NIP's opinions of Zope :-S Ah I love FUD. Well, opine away. It has no actual effect on the system that I can detect. Deinstalling CST will make it go away as well. Easier

[Zope-dev] RE: [Zope] xmlrpc slowness

2001-05-18 Thread Albert Langer
[Shilad] The new release is up on sourceforge. It should be compatible with the Zope client/server it was tested against. It is at: http://www.sourceforge.net/projects/py-xmlrpc Let me know how it goes. I'm curious to see what kind of speed increase you see. My guess is that the

Re: [Zope-dev] another Zope hanging..

2001-05-18 Thread Christian Scholz
Hi! Just FYI: The server still hangs once a day and another one is doing the same.. It even does this when simply accessing one page or image over and over again. More precisely I've started the server and did ab -n 10 -c 10 http://foo.bar/we/pics/someimg.gif (ab being the apache

RE: [Zope-dev] RE: [Zope] xmlrpc slowness

2001-05-18 Thread Jon Edwards
I've been collecting XMLRPC links too! :-) Here's my list, please excuse any duplications, I've just copied it from my Favorites - http://www.zope.org/Members/teyc/howtoXMLRPCDateTime http://www.byte.com/column/BYT19991021S0014 http://www.zope.org/Members/MacGregor/Client_Server

Re: [Zope-dev] another Zope hanging..

2001-05-18 Thread Chris McDonough
Is there any evidence of any sort of relationship between the broken pipe error and the hang? Do they happen at the same time? Or do they have no discernable relationship with one another? How about memory utilization? Is the process leaking memory? - Original Message - From:

Re: [Zope-dev] another Zope hanging..

2001-05-18 Thread Christian Scholz
Hi! Is there any evidence of any sort of relationship between the broken pipe error and the hang? Do they happen at the same time? Or do they have no discernable relationship with one another? How about memory utilization? Is the process leaking memory? yes, they happen at the same

Re: [Zope-dev] another Zope hanging..

2001-05-18 Thread Christian Scholz
Hi! Hm, another strange thing.. I've now tried to start Zope via the normal ./start script. (I've done it via some own script with INSTANCE_HOME set). What I've got was: bash-2.04# ./start -- 2001-05-18T14:59:49 PANIC(300) z2 Startup exception Traceback (innermost last): File

Re: [Zope-dev] another Zope hanging..

2001-05-18 Thread Chris McDonough
Hi! Is there any evidence of any sort of relationship between the broken pipe error and the hang? Do they happen at the same time? Or do they have no discernable relationship with one another? How about memory utilization? Is the process leaking memory? yes, they happen at the

Re: [Zope-dev] another Zope hanging..

2001-05-18 Thread Chris McDonough
-- 2001-05-18T14:59:49 PANIC(300) z2 Startup exception Traceback (innermost last): File /opt/zopeneu/z2.py, line 566, in ? File string, line 1, in ? File /opt/zopeneu/lib/python/Zope/__init__.py, line 94, in ? File /opt/zopeneu/lib/python/ZODB/__init__.py, line 85, in ? ImportError:

Re: [Zope-dev] another Zope hanging..

2001-05-18 Thread Christian Scholz
Hi! Another test without apache inbetween is still running now.. Could apache and it's proxypass be the problem? I am simply using ProxyPass and ProxyPassReverse in front of Zope in a simple virtual site environment.. Apache version is 1.3.19 Where is the bug then? In Zope or in Apache? I

[Zope-dev] ZCatalog/TextIndex: searching for the exact phrase word1 word2

2001-05-18 Thread Erik Enge
Hiya, it basically says it in the subject. How can I search for word1 word2 without ZCatalog/TextIndex interpreting it as word1 or/and word2? ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross

Re: [Zope-dev] ZCatalog/TextIndex: searching for the exact phrase word1 word2

2001-05-18 Thread Chris McDonough
You should be able to do this with quotes around the words, but that feature is sort of only half-wired-up at this point (it was *never* implemented... when I investigated this, I was amazed to see that there were hooks for it and everything within the query code, some marshalling code, some

[Zope-dev] TAL/ZPT expand-macros on when FTP get?

2001-05-18 Thread Brad Clements
One thing I'd like to see in METAL/TAL is to have it always expand macros when an FTP get is performed. I'm using HTML-KIT now to do almost all of my Zope work, and it's wonderful (too bad its only FTP based, not WebDav). Anyway, if the macros where always expanded I'd be thrilled. Just a