Re: no more SIG11 --without-pymallog --without-cycle-gc (was Re: [Zope-dev] Bravery Zope 2.5 Testers)

2002-01-16 Thread Harald Koschinski





   same for me, no more crashes - but zope needs very much memory (logo
:-(()

 I will try know python 2.1.2.

 Leonardo Rochael Almeida wrote:
1008351449.5381.3.camel@spitfire">
  Hi folks,I also tried the CVS ExtensionClass.h but it didn't help. We keptgetting the SIG11's.However, after reading all comments on this problem report onsourceforge:http://sourceforge.net/tracker/?func=detailatid=105470aid=471942group_id=5470pointed out in this list by Joseph Wayne Norton, and the diff -u betweenthe CVS ExtensionClass.h and the one that came with zope 2.4.3, Idecided to try recompiling python --without-cycle-gc (in addidtion to--without-pymalloc, which we used before causing an increase in timebetween restarts from 15 min to 40 min).Now our zope is running for "17 hours 29 min 40 sec" (pasted from theControl_Panel) without a single SIG11, YAY!!!I strongly recommend anyone running into these "Aiieee! 54321 exitedwith er
ror code: 11
" to recompile their pythons --without-cycle-gc" tosee if the SIGSEGVs go away. Maybe even for Stefano Noferi's script?Throw in a --without-pymalloc for good measure :-)Now our zope is probably slowly leaking some cycles, but what the heck,I can live with restarting zope once per week. With ZEO it comes back in2 seconds anyway :-)	Cheers, LeoPS: No, I have no intention to check if --with-pymalloc--without-cycle-gc also works :-)On Wed, 2001-12-12 at 19:57, Matthew T. Kromer wrote:
  
OK, I am formulating a hypothesis that if you replace ExtensionClass.h in Zope 2.4 and Zope 2.5 with the following one:http://cvs.zope.org/~checkout~/Zope/lib/Components/ExtensionClass/src/ExtensionClass.h?rev=1.16.140.2content-type=text/plain(Which goes in lib/Components/ExtensionClass/src/ExtensionClass.h btw)and rebuild zope  python2.1 wo_pcgi.pyand rebuld any other modules you may have which depend on extension classthat some of the segfaults could go away.[...]




 regards
Harald Koschinski_FRIATEC AktiengesellschaftInformationssysteme und OrganisationTel. 0621 - 486 - 1454Fax. 0621 - 486 - 1840Steinzeugstrasse 50mailto:[EMAIL PROTECTED]D-68229 Mannheim





Re: no more SIG11 --without-pymallog --without-cycle-gc (wasRe: [Zope-dev] Bravery Zope 2.5 Testers)

2002-01-16 Thread Leonardo Rochael Almeida

On a related note, when is Zope 2.4.4 comming out?

On Wed, 2002-01-16 at 13:34, Matthew T. Kromer wrote:
 Harald Koschinski wrote:
 
  same for me, no more crashes - but zope needs very much memory (logo :-(()
 
  I will try know python 2.1.2.
 
 
 
 OK -- our Zope 2.5.0 betas 3 and 4 have a binary python in them that 
 contains the critical ceval.c patch.
 

-- 
Ideas don't stay in some minds very long because they don't like
solitary confinement.


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: no more SIG11 --without-pymallog --without-cycle-gc (was Re: [Zope-dev] Bravery Zope 2.5 Testers)

2002-01-16 Thread Matthew T. Kromer

Leonardo Rochael Almeida wrote:

On a related note, when is Zope 2.4.4 comming out?



Post Python 2.1.2 final.  :)  Probably very shortly therafter.  


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: no more SIG11 --without-pymallog --without-cycle-gc (was Re: [Zope-dev] Bravery Zope 2.5 Testers)

2002-01-16 Thread Chris Withers

Matthew T. Kromer wrote:
 
 Post Python 2.1.2 final.  :)  Probably very shortly therafter.

When is Python 2.1.2 final out?!

Chris

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: no more SIG11 --without-pymallog --without-cycle-gc (was Re: [Zope-dev] Bravery Zope 2.5 Testers)

2002-01-16 Thread Chris McDonough

Today.  See http://www.python.org.  But give us a little time. ;-)

Chris Withers wrote:

 Matthew T. Kromer wrote:
 
Post Python 2.1.2 final.  :)  Probably very shortly therafter.

 
 When is Python 2.1.2 final out?!
 
 Chris
 
 ___
 Zope-Dev maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope-dev
 **  No cross posts or HTML encoding!  **
 (Related lists - 
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope )
 



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] large files and --pymalloc on the new release? (was Re: no moreSIG11 ...)

2002-01-16 Thread Leonardo Rochael Almeida

Will the binary Linux release include large file support?
In other words, can I have a  2G Data.fs?

Also, what about the --pymalloc? Is the binary Zope Python going to be
compiled with it? should I still fear it?

We almost lost a big client and almost got a lawsuit because we were
bitten by both (or would that be three: RestrictedCompiler, ceval and
--pymalloc?) bugs at the same time and took a long time to figure out
how to work around them.

Cheers, Leo

On Wed, 2002-01-16 at 15:44, Chris McDonough wrote:
 Today.  See http://www.python.org.  But give us a little time. ;-)
 
 Chris Withers wrote:
 
  Matthew T. Kromer wrote:
  
 Post Python 2.1.2 final.  :)  Probably very shortly therafter.
 
  
  When is Python 2.1.2 final out?!
  
  Chris
  
  ___
  Zope-Dev maillist  -  [EMAIL PROTECTED]
  http://lists.zope.org/mailman/listinfo/zope-dev
  **  No cross posts or HTML encoding!  **
  (Related lists - 
   http://lists.zope.org/mailman/listinfo/zope-announce
   http://lists.zope.org/mailman/listinfo/zope )
  
 
 
 
-- 
Ideas don't stay in some minds very long because they don't like
solitary confinement.


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] ADV: Important Message about your Domain.

2002-01-16 Thread Dave
Title: SearchEngineTeam.com






  
  

  


  
  

 


  

  
Congratulations. You've got a web site! - Now, can anyone find 
it?

  

  
SearchEngineTeam GUARANTEES listing in the TOP search engines in 7 days or less!  It also quickly submits your site to over 1500 additional search engines, over 5,000 media contacts (MSNBC, CNN, USA Today) and over 300 classified ads. It is easy, affordable and registering takes just 5 minutes. Even if your site is not completed, it's never too early to submit.
Visit SearchEngineTeam 
using the button below, you will be given a special promotion - 
Imagine the Traffic you will get!

  


  Warmest 
Regards,Dave602-532-7884

  
  

Should you not wish to be contacted at this email address again,
please click on this link and follow the instructions. Click Here.

This message is a commercial advertisement. It is compliant with all federal and state laws regarding email messages including the California Business and Professions Code. We have provided "opt out" email contact ([EMAIL PROTECTED]) so you can be deleted from our mailing list. In addition we have provided the subject line "ADV" to provide you notification that this is a commercial advertisement for persons over 18yrs old.



[Zope-dev] Re: large files and --pymalloc on the new release? (was Re: no more SIG11 ...)

2002-01-16 Thread Chris McDonough

Leonardo Rochael Almeida wrote:

 Will the binary Linux release include large file support?
 In other words, can I have a  2G Data.fs?


Hmmm.. I dont think the Zope 2.5b4 Linux binary is built this way, but 
in both Zope 2.4.4 and 2.5.0 it probably should be.  We'd probably need 
someone to confirm that this doesn't cause problems on older (2.0, 2.2) 
Linux systems.  FWIW, I built Python 2.1.2 with large file support on 
Linux 2.4 using the instructions on the posix-largefiles doc page in the 
Python docs without a problem.

 Also, what about the --pymalloc? Is the binary Zope Python going to be
 compiled with it? should I still fear it?


Dunno.  Was it compiled in before?  Isn't this an issue that is solved 
in a roundabout way by not having stack pointer computation bugs in the 
first place?  I'm not sure how all of these bugs interact with each other.

 We almost lost a big client and almost got a lawsuit because we were
 bitten by both (or would that be three: RestrictedCompiler, ceval and
 --pymalloc?) bugs at the same time and took a long time to figure out
 how to work around them.

Sorry to hear that.

- C


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] allow_module broken in Zope 2.5?

2002-01-16 Thread Casey Duncan

I am working on a patch for Formulator so that its exception classes can be 
imported into a Python Script. the following code works for Zope 2.3 and 2.4 
but I get an unauthorized error when I try to import from this in 2.4 (Just 
tested b4, but not CVS). Here is the code from the module Errors.py in the 
Formulator product package dir:

Exception Classes for Formulator

# These classes are placed here so that they can be imported into TTW Python
# scripts. To do so, add the following line to your Py script:
# from Products.Formulator.Errors import ValidationError, FormValidationError

from Products.PythonScripts.Utility import allow_module, allow_class

allow_module('Products.Formulator.Errors')

class FormValidationError(Exception):

def __init__(self, errors, result):
Exception.__init__(self,Form Validation Error)
self.errors = errors
self.result = result

allow_class(FormValidationError)

class ValidationError(Exception):

def __init__(self, error_key, field):
Exception.__init__(self, error_key)
self.error_key = error_key
self.field_id = field.id
self.field = field
self.error_text = field.get_error_message(error_key)

allow_class(ValidationError)


If you create a python script containing:
from Products.Formulator.Errors import ValidationError, FormValidationError

You get an Unauthorized exception in 2.5, but not in 2.4 or 2.3. I realize 
this should probably go in the collector, but I wanted to make sure I wasn't 
doing something dumb first. Thanks.

/---\
  Casey Duncan, Sr. Web Developer
  National Legal Aid and Defender Association
  [EMAIL PROTECTED]
\---/

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Accessing objects starting with _

2002-01-16 Thread Gary Karyn

In a similar vein to Dieter's answer, depending on the rest of your
situation you might also want to look at my VirtualHostFolder, now in beta
at http://www.zope.org/Members/poster/VHF .  If virtual hosts are any part
of your set up, and you are willing to try a beta, I might be interested in
creating a new HostOverride implementation for your need, in order to show
the flexibility of my product and also to test my interface design.  I would
then not feel bad if you didn't end up using it, but would appreciate the
chance to try my design out with a real need.

So get back to me if this is of any interest to you (if you are not using
virtual hosts then there is probably no reason for me to kick in here: the
SiteAccess tool will do the job more efficiently, I would guess).

Gary

P.S. If you look at the product as released...

Since this last beta release I am still tweaking interfaces for future
design flexibility and current efficiency, as well as decoupling some of my
own implementations to follow my interfaces better.  I also now have a hard
redirect (I mean a browser redirect) IHostOverride object that can be a part
of a host object the same way an Alias can.  The Alias object is not what
you want, by the way: the design of that object is to alias folders only
(because it does some path hacking tricks that are only pertinent to
folders).  I would have to build you another IHostOverride implementation,
either (ideally) as some kind of generic stack rewriter modifiable through
the web or (if that UI proves too problematic) as a rewriter specific to
your FrontPage needs.  Writing the redirect sub-object was pleasantly easy,
an hour or less of work, so I make this offer in the expectation that it
would be a quick diversion to add some new flexibility to my product.

g


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )