Re: [Zope-dev] Python core dump zope 2.6.1+CMF1.3

2003-02-12 Thread R. David Murray
On Tue, 11 Feb 2003, Barry Pederson wrote:
 Sounds like you need the THREAD_STACKS_SIZE patch for FreeBSD's Python 2.1

Well, the others seeing the problem are *not* running FreeBSD.
I was able to confirm that one saw it with Windows2000.  Not
sure about the others at the moment.

 If you've cvsup-ed your ports tree lately, there may already be a patch in
 place in that same directory named patch-Python-thread_pthread.h-stacksize
 that looks like it does basically the same thing.

I sup regularly, and rebuild regularly.  That patch is already
applied.  Also, 2.2 appears to not need the patch, and it crashes, too.

--RDM

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



[Zope-dev] passing browserId value

2003-02-12 Thread Mario Bianchi
Hi list,
I want to embed the browserId value in every link/button/clickable-item of 
the p
ages in my site, so that users get a sessioned access without using cookies.
How can I manage this task without having to manually rewrite the code of 
the pa
ges served by the site?
Some pages are the dynamical output of a Zope product call, how can I 
intercept
them, embed the browserId and then serve it to the client? It seems to me 
that embedding the browserId DYNAMICALLY is the only way to avoid statically 
re-write
a lot of code (error-prone and time-wasting approach), the matter is how!
I would prefer not to use JavaScript, only DTML or other Zopish/Pythonish 
resources.

Thanks in advance, cheers,
   Mario.



_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


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


Re: [Zope-dev] Multiple author and reviewer roles in Zope CMF

2003-02-12 Thread Leonardo Rochael Almeida



On Wed, 2003-02-12 at 13:27, David Cain wrote:
 I would like to apply Zope CMF to our organization which is made up of
 numerous departments.  Each department has one or more managers
 (reviewers) and content providers.  Also, some managers cross
 departments, as well as content providers.
 
 How can I create several Zope CMF roles (reviewer and author) for each
 department so that reviewers for that department will only see content
 created by authors in that department?  

Don't.

Create only one role for Reviewer, another for Author and so on. In your
user folder, don't give any of these roles to your users. Go to the
Security tab of the folder where you want to grant, say, user Fred, role
Reviewer, click on local roles, and make such a change.

Local Roles rule and should have more visible placement in the Security
tab...

Hmm, maybe I should file that as a Feature Request bug.

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


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



Re: [Zope-dev] Multiple author and reviewer roles in Zope CMF

2003-02-12 Thread Paul Winkler
On Wed, Feb 12, 2003 at 03:20:39PM -0200, Leonardo Rochael Almeida wrote:
 Local Roles rule and should have more visible placement in the Security
 tab...

I constantly forget that it exists :)
While we're on the subject - are local roles acquired
in subfolders?
 
 Hmm, maybe I should file that as a Feature Request bug.

+1

-- 

Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's JANITORIAL-BROOM-NINJA ANDREA KEG!
(random hero from isometric.spaceninja.com)

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



Re: [Zope-dev] Python core dump zope 2.6.1+CMF1.3

2003-02-12 Thread Andy McKay
Well, the others seeing the problem are *not* running FreeBSD.
I was able to confirm that one saw it with Windows2000.  Not
sure about the others at the moment.


Sorry mate, we've got ours (Win and Mac OS X) fixed. Our CMF was what 
out of whack with an attempted patch to FSObject.py. Our issue wasn't 
2.6.1 related.
--
  Andy McKay


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


Re: [Zope-dev] Multiple author and reviewer roles in Zope CMF

2003-02-12 Thread Adrian van den Dries
On February 12, Paul Winkler wrote:
 While we're on the subject - are local roles acquired
 in subfolders?

Yes, to the point that globals roles are actually redundant, but serve
as an optimisation of a local role at the same level as your
userfolder.

a.

-- 
 Adrian van den Dries   [EMAIL PROTECTED]
 Development team   www.dev.flow.com.au
 FLOW Communications Pty. Ltd.  www.flow.com.au

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



Re: [Zope-dev] Multiple author and reviewer roles in Zope CMF

2003-02-12 Thread Paul Winkler
On Thu, Feb 13, 2003 at 11:14:18AM +1100, Adrian van den Dries wrote:
 On February 12, Paul Winkler wrote:
  While we're on the subject - are local roles acquired
  in subfolders?
 
 Yes, to the point that globals roles are actually redundant, but serve
 as an optimisation of a local role at the same level as your
 userfolder.

thanks, that's good to know.

-- 

Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's ULTRA BONOBO FIGHTER!
(random hero from isometric.spaceninja.com)

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



Re: [Zope-dev] Python core dump zope 2.6.1+CMF1.3

2003-02-12 Thread Casey Duncan
On Wednesday 12 February 2003 09:20 am, R. David Murray wrote:
[snip]
 I sup regularly, and rebuild regularly.  That patch is already
 applied.  Also, 2.2 appears to not need the patch, and it crashes, too.

I can confirm that 2.2 does need to be configured with a larger stack size to 
work correctly with Zope/CMF on FreeBSD. Whether the port has this patch or 
not included I'm not sure. I don't use the port to run Zope apps, I only use 
it for others apps and testing.

This also affects MacOSX, but I think the stack size *is* automatically bumped 
up during the Python compile (Go figure).

As for Windows, no-one can honestly be surprised at software crashes there, it 
all part of the experience ;^)

-Casey

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