Re: [Zope-dev] Zope reference counts

2003-01-23 Thread Dieter Maurer
Ivo van der Wijk wrote at 2003-1-22 16:10 +0100:
 > On Wed, Jan 22, 2003 at 11:57:20AM +, Toby Dickenson wrote:
 > > 
 > > >  Is there a
 > > > way to optimize this?
 > > 
 > > 1. Obviously, use fewer threads. Do you have a component that otherwise 
 > > benefits from many threads? 
 > > 
 > 
 > No, except that the server is pretty heavy loaded sometimes, and multiple
 > threads should improve responsiveness (right?)
When you have both short and long requests, then multiple threads help
that the short requests are processed faster.

When all your requests take approximately the same time, you
will not be more responsive but your average response time
becomes much worser (provided you can only use a single
processor which is normal for Python threads).


Dieter

___
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] Registering Product with Control Panel

2003-01-23 Thread Dieter Maurer
Brian R Brinegar wrote at 2003-1-21 18:48 -0500:
 > I've got a product (Basic content object) Called HTMLBlock. When I start
 > my ZEO Client with the product installed I don't recieve any error
 > messages. The product is listed in the "Select type to add..." menu.
 > However if I try to add an instance of the Product I recieve an
 > AttributeError on HTMLBlock. After a little poking around I realized that
 > the product is not listed in the /Control_Panel/Products/ list. The
 > traceback I get when trying to add an instance is below.
You should have one (!) ZEO client (ZOPE instance) which defines
the environment variable "FORCE_PRODUCT_LOAD".

This ZEO client will then build the products list for all of
your ZEO clients (when it is restarted).

Read the ZEO documentation, to find out more...


Dieter

___
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] 2.6.1b2?

2003-01-23 Thread Guido van Rossum
> > I'd just like to know when can we expect a 2.6.1b2. It would be nice to
> > have a new release where we don't have to patch just to get ZClasses to
> > work.
> 
> Yes, it IS indeed a problem if there is no single Zope version out there 
> that can be used without patches. 2.6.0 has the DateTime bug, the 
> 2.6.1b1 has new issues. I have complained a lot about the lousy release 
> management in the past, but nobody seems to listen.
> 
> Joachim
> 
> P.S.: After all, it's so easy: Take a Zope version that has some bugs, 
> fix the bugs and release it as a bugfix release. DON'T add features that 
> might trigger new bugs. THEN start working on the next feature release.
> 
> AND: THERE SHOULD NEVER, I REPEAT: NEVER BE NEW FUNCTIONALITY OR CODE 
> CHANGES BETWEEN A FINAL BETA AND A RELEASE! IF IT IS NOT FINAL; RELEASE 
> ANOTHER BETA!!

If only it were that easy.  Everybody wants "no new features" except
for the one feature they desperately want to have without upgrading to
the next feature release. :-(

--Guido van Rossum (home page: http://www.python.org/~guido/)

___
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] 2.6.1b2?

2003-01-23 Thread Andreas Jung


--On Donnerstag, 23. Januar 2003 20:31 +0100 Joachim Werner 
<[EMAIL PROTECTED]> wrote:

Hi,

I'd just like to know when can we expect a 2.6.1b2. It would be nice to
have a new release where we don't have to patch just to get ZClasses to
work.


Yes, it IS indeed a problem if there is no single Zope version out there
that can be used without patches. 2.6.0 has the DateTime bug, the 2.6.1b1
has new issues. I have complained a lot about the lousy release
management in the past, but nobody seems to listen.

Joachim

P.S.: After all, it's so easy: Take a Zope version that has some bugs,
fix the bugs and release it as a bugfix release. DON'T add features that
might trigger new bugs. THEN start working on the next feature release.

AND: THERE SHOULD NEVER, I REPEAT: NEVER BE NEW FUNCTIONALITY OR CODE
CHANGES BETWEEN A FINAL BETA AND A RELEASE! IF IT IS NOT FINAL; RELEASE
ANOTHER BETA!!



I think the situation has improved since new features will make it only
into the major 2.X.0 releases. All other releases are bugfix releases
only. This is at least true for the Zope 2.6 branch were only a
minor feature was added to the DateTime module.

-aj


___
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] 2.6.1b2?

2003-01-23 Thread Joachim Werner
Hi,

I'd just like to know when can we expect a 2.6.1b2. It would be nice to
have a new release where we don't have to patch just to get ZClasses to
work.


Yes, it IS indeed a problem if there is no single Zope version out there 
that can be used without patches. 2.6.0 has the DateTime bug, the 
2.6.1b1 has new issues. I have complained a lot about the lousy release 
management in the past, but nobody seems to listen.

Joachim

P.S.: After all, it's so easy: Take a Zope version that has some bugs, 
fix the bugs and release it as a bugfix release. DON'T add features that 
might trigger new bugs. THEN start working on the next feature release.

AND: THERE SHOULD NEVER, I REPEAT: NEVER BE NEW FUNCTIONALITY OR CODE 
CHANGES BETWEEN A FINAL BETA AND A RELEASE! IF IT IS NOT FINAL; RELEASE 
ANOTHER BETA!!


___
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] 2.6.1b2?

2003-01-23 Thread Leonardo Rochael Almeida
Hi,

I'd just like to know when can we expect a 2.6.1b2. It would be nice to
have a new release where we don't have to patch just to get ZClasses to
work.

-- 
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: [Zope-dev] i18n

2003-01-23 Thread Florent Guillaume
Magnus Heino  <[EMAIL PROTECTED]> wrote:
> Where is the ZPT i18n-support described?
> 
> I cant find anything thats up2date.

http://www.zope.org//Wikis/DevSite/Projects/ComponentArchitecture/ZPTInternationalizationSupport

It's in Zope3Proposals but has actually been backported to Zope 2.

Florent
-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:[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] Newbie security development question

2003-01-23 Thread Chris Withers
David Cain wrote:

Running Zope 2.6.0 (binary release, python 2.1, linux2-x86

I would like to import the ClassSecurityInfo class from a Python script


Why? it would be intrinsicaly unsafe to do so, given that ClassSecurityInfo 
instances are how you manipulate security assertions in python.

Ultimately I want to change the default permission on an uploaded file
to not be viewable by anonymous, until a manager approves this and sets
it viewable.


You looked at CMF? You get all this for free...

Otherwise, read Leo's post :-)

cheers,

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 )