Re: [Zope-dev] Python core dump zope 2.6.1+CMF1.3
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 )
Re: [Zope-dev] Multiple author and reviewer roles in Zope CMF
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] Multiple author and reviewer roles in Zope CMF
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] Python core dump zope 2.6.1+CMF1.3
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
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 )
[Zope-dev] Re: [Zope] passing browserId value
Mario Bianchi wrote at 2003-2-12 14:46 +: > 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? I extended VHM (Virtual Host Monster) for this. I abused VHM's "_vh_" feature to get the session id in. Read the VHM documentation, for details. Dieter ___ 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
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 )
[Zope-dev] Multiple author and reviewer roles in Zope CMF
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? David Cain Senior Web Developer, Information Systems Department Syracuse University Library Syracuse, New York 13244-2010 (315) 443-5923 mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ___ 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
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] Python core dump zope 2.6.1+CMF1.3
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 )
Re: [Zope-dev] Re: Bare "except" dangerous to ZODB?
On Tuesday 11 February 2003 5:21 pm, Jeremy Hylton wrote: > On Tue, 2003-02-11 at 12:10, Shane Hathaway wrote: > I'd like to do the transaction states, because it would keep the code in > zodb3 and zodb4 similar. There are application-level reasons to mark a transaction as doomed, and I would like to keep *that* code looking similar ;-). The transaction states approach would work in that context too, right? -- Toby Dickenson http://www.geminidataloggers.com/people/tdickenson ___ 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] Re: Bare "except" dangerous to ZODB? was Re: [Zope-dev] Accept-Charset hearders causing 500 internal server error.[correct but not lenient]
On Tuesday 11 February 2003 11:04 pm, Leonardo Rochael Almeida wrote: > On Tue, 2003-02-11 at 13:19, Shane Hathaway wrote: > > I'm thinking the veto should be added by Connection.commit() and > > Connection.setstate() whenever a conflict is about to propagate. What > > do you think? > > Maybe I don't understand all the transaction code correctly, but > shouldn't it be set in ConflictError.__init__()? No. ConflictError exceptions can be created by the storage, but swallowed by conflict resolution code in the connection. Shane is correct; we assert a veto at the point where the conflict is terminal. -- Toby Dickenson http://www.geminidataloggers.com/people/tdickenson ___ 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 )