Re: [Zope-dev] Medusa Asyncore patch

2001-12-11 Thread Dirk Datzert
Hi, after applying the patch zope won't restart correclty for my version. (python 2.1.1, zope 2.4.3) Traceback: 2001-12-12T07:45:49 PANIC(300) z2 Startup exception Traceback (innermost last): File z2.py, line 625, in ? File /usr/src/packages/BUILD/Zope-2.4.3-src/ZServer/HTTPServer.py, line

Re: [Zope-dev] recipe for trapping SIGSEGV and SIGILL signals on solaris

2001-12-11 Thread Joseph Wayne Norton
At Tue, 11 Dec 2001 10:42:46 -0500, Matthew T. Kromer wrote: > > > >#0 0xef5b9810 in _lwp_sema_wait () > >(gdb) info threads > > 19 Thread 10 0xef5b9810 in _lwp_sema_wait () > > 18 Thread 9 0xef5b9810 in _lwp_sema_wait () > > 17 Thread 8 0xef5b9810 in _lwp_sema_wait

Re: [Zope-dev] ZBabel Object incompatibility with Zope 2.5 b2

2001-12-11 Thread Matthew T. Kromer
Joachim Werner wrote: >Doesn't seem to make any difference :-( > >What does that option do? > > >>>class Rewrapper(Base): >>> >>> def __init__(self, path): >>> self._path = path >>> >>> def __of__(self, parent): >>> ob = parent >>> for p in self._path: >>> ob = get

Re: [Zope-dev] ZBabel Object incompatibility with Zope 2.5 b2

2001-12-11 Thread Joachim Werner
Doesn't seem to make any difference :-( What does that option do? > > > >class Rewrapper(Base): > > > >def __init__(self, path): > >self._path = path > > > >def __of__(self, parent): > >ob = parent > >for p in self._path: > >ob = getattr(ob, p) <= H

Re: [Zope-dev] more than one user: zope 'hangs'

2001-12-11 Thread Brad Clements
On 11 Dec 2001 at 15:30, Stephan Herschel wrote: > We have got a funny problem in Zope: if user A issues a long-running > query user B also has to wait in the meantime - zope just waits for A's > query to finish. Bob's original design made gvibDA use ThunkedTM So I believe it is serialized. I

[Zope-dev] User Groups

2001-12-11 Thread brian.r.brinegar.1
I've found that it would be very useful to be able to define groups of users and then grant a local role to that group rather than individual users. For example we have multiple groups working together on our Zope installation and there are certian objects my group may want to share with another

Re: [Zope-dev] ZBabel Object incompatibility with Zope 2.5 b2

2001-12-11 Thread Matthew T. Kromer
Joachim Werner wrote: > >class Rewrapper(Base): > >def __init__(self, path): >self._path = path > >def __of__(self, parent): >ob = parent >for p in self._path: >ob = getattr(ob, p) <= HERE WE GET A RECURSION ERROR >return ob > > OK, I think

Re: EINTR ... was Re: [Zope-dev] browser closing connection

2001-12-11 Thread Jeremy Hylton
> "JZ" == John Ziniti <[EMAIL PROTECTED]> writes: JZ> Replace your Python 2.1.1 asyncore.py with the one that is JZ> attached. I've been using it for months now with no problems. JZ> Notice, however, that it doesn't work on WinNT, b/c the author JZ> didn't know what EINTR looked like

[Zope-dev] ZBabel Object incompatibility with Zope 2.5 b2

2001-12-11 Thread Joachim Werner
Hi! This time I need some specialists to help ... Here is some code from ZBabel Objects. ZBabel objects are folders that hold localized versions of anything you want to internationalize and pass getting attributes and calling objects to one of these localized versions depending on your language

[Zope-dev] Medusa Asyncore patch

2001-12-11 Thread Matthew T. Kromer
People having problems with medusa on Linux and Solaris (particularly solaris) can try running this patch: http://www.zope.org/Members/matt/patchMedusa-asyncore.py Run it from your Zope root. It will copy asyncore.py from the python lib and patch it using the "patch" command. _

Re: EINTR ... was Re: [Zope-dev] browser closing connection

2001-12-11 Thread John Ziniti
Replace your Python 2.1.1 asyncore.py with the one that is attached. I've been using it for months now with no problems. Notice, however, that it doesn't work on WinNT, b/c the author didn't know what EINTR looked like on NT Leonardo Rochael Almeida wrote: > So, which is the "official" way of

Re: EINTR ... was Re: [Zope-dev] browser closing connection

2001-12-11 Thread Leonardo Rochael Almeida
So, which is the "official" way of fixing Zope 2.4.3? wait for a hotfix? apply Matthew's patch? steal asyncore from Python 2.2? On Tue, 2001-12-11 at 12:52, Jeremy Hylton wrote: > > "MTK" == Matthew T Kromer <[EMAIL PROTECTED]> writes: > > MTK> For what its worth, I tracked this down in th

Re: EINTR ... was Re: [Zope-dev] browser closing connection

2001-12-11 Thread Jeremy Hylton
> "MTK" == Matthew T Kromer <[EMAIL PROTECTED]> writes: MTK> For what its worth, I tracked this down in the sources and MTK> confirmed that in Zope 2.3, we shipped a modified asyncore.py MTK> with Medusa that handled EINTR, but in Zope 2.4 we used stock MTK> Python's asyncore which do

Re: [Zope-dev] more than one user: zope 'hangs'

2001-12-11 Thread Chris McDonough
Stephan, This likely means that the interbase database adapter essentially serializes access to the database. You may want to try sending a mail to the DA maintainer if he is not on the list... Thanks! - C - Original Message - From: "Stephan Herschel" <[EMAIL PROTECTED]> To: <[EMAIL

[Zope-dev] more than one user: zope 'hangs'

2001-12-11 Thread Stephan Herschel
Hello, We have got a funny problem in Zope: if user A issues a long-running query user B also has to wait in the meantime - zope just waits for A's query to finish. We are using interbase as our database and GV Interbase Database Adapter 0.9.6 on a linux system. In the README it says 'threadsafe

Re: [Zope-dev] recipe for trapping SIGSEGV and SIGILL signals on solaris

2001-12-11 Thread Matthew T. Kromer
Hi Joe, The problem you're seeing is that the fault is happening on a different thread than the receiver of the signal; that truss syntax is interesting though (I have an old SPARC around to test on but its painfully slow) so I'm wondering if first you needed to do an 'info thread' in gdb and the

[Zope-dev] How makesetup deals with Zope ?

2001-12-11 Thread Pascal Samuzeau
Hi, Next week I've tried to install the ParsedXML, under my Zope. Unfortunately, the installation failed.