nts:
"before I get started, I'm going to give myself convenient access
to the stuff I need."
You could also argue that we need a non-US-centric currency formatter,
and I agree; but I say again that we need it everywhere and not only via
some special syntax in ZPT.
--
Paul Winkler
ht
sequence of dictionaries
like {'user': some_user, 'files': (file1, file2...)}
Then your zpt could look like:
user goes here
file goes here
--
Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's TWINKLY-GIANT WOMAN!
(random
I just stumbled across this... I think it would be really cool if
there was a zope presence.
http://www.webdav.org/other/interop03/
--
Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's PORPOISE MADE OF BUTTER!
(random hero from isometric.spaceninj
er hack could I do ? The idea being that I don't want to
> recreate all the objects.
You might not have a choice.
A conversion script might take a while to run and your ZODB might
get a bit more bloated, but otherwise, it'll work fine.
--
Paul Winkler
http://www.slinkp.
ng that can easily waste hours of
debug time.
I was just saying to Andy McKay yesterday that sometimes I think
zope 2 is designed around the principle of greatest consternation
rather than the principle of least suprise. Case in point.
--
Paul Winkler
http://www.slinkp.com
Look! Up in the sky!
versions
basically do not work as advertised, leading in various cases to zodb
corruption or work that can't be saved. There are other security issues
that Oliver Bleutgen raised privately which I won't state here.
Comments? Could we get at least some warnings in the ZMI before
2
d,
unlike some other frameworks i could mention ;)
http://www.twistedmatrix.com
--
Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's BLIND HEADPHONE!
(random hero from isometric.spaceninja.com)
___
Zope-Dev maillist - [EMAIL PROTECTED]
h
there are 18000+ user accounts.
>
> - Users of the site get a "member folder" where they can create
> templates, Python scripts, and content within the ZODB. Some
> minimal workflow exists, controlling basically whether the user's
> content is included in s
stems including
the dev boxes, because
* we like to have the same environment everywhere for sanity's sake
* interactive debugging is very cool and has saved my butt more
than once.
--
Paul Winkler
http://www.slinkp.com
Look! Up in the
e?
+1. I also use zctl.py debug nearly every day.
of course it's just a convenience, but it's an important
convenience because nearly every document i can find
on debugging Zope says roughly "...and of course you
can use ZEO, but that's beyond the scope of this artic
On Mon, Mar 10, 2003 at 10:31:13PM -0500, Fred L. Drake, Jr. wrote:
> Detaching, or "daemonizing", will be a separate configuration
> parameter from everything else.
great, that is exactly what i really want.
--
Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It'
On Tue, Mar 11, 2003 at 12:11:25PM +1100, Adrian van den Dries wrote:
> Debug mode needs to be broken out into directives for its real
> effects.
+L
--
Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's ULTRA PENGUIN!
(rando
?
Or does it behave like z2.py and this depends on "debug mode" (booo) ?
--
Paul Winkler
http://www.slinkp.com
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTM
asy when you can just start by copy / pasting the
python expressions into a Script. If they were some
new-fangled "if: then: else:" syntax in TAL, you'd have to
rewrite from scratch... and we're right back in the
mess we got into with DTML: the poor developer is forced
to learn
it even keeps a cache.
!! OMG !!!
thank you - for some obscure reason it never would have occurred to
me in a million years that LDAPUserFolder already does this.
Well, duh.
> Huzzah open-source software!
Amen!
--
Paul Winkler
htt
On Thu, Mar 06, 2003 at 09:19:37AM +1100, Adrian van den Dries wrote:
> On March 5, Paul Winkler wrote:
> > I've been trying to understand how to implement dynamic local roles,
>
> Customise the Folder class and override __ac_local_roles__ with a
> method that returns a d
them in your app to find out something,
but they are not used by the internals to grant or deny access.
True?
If anybody could confirm or deny any of teh above it would really
help me grok what i'm doing here.
--
Paul Winkler
http://www.slinkp.com
__
On Tue, Mar 04, 2003 at 03:21:57PM -0600, Evan Simpson wrote:
> Is this worth a robust implementation, ZPT folks?
maybe, but i'd rather first wait and see how the PEP goes.
it would suck to have to constantly deal with two totally
different flavors of ternary.
--
Paul Wink
make changes on dev servers and push them to production
in a big bunch.
--
Paul Winkler
http://www.slinkp.com
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Re
e,
context,
cAccessControl.c: /*| def validate(self, accessed, container, name, value,
context
are you sure it's not BasicUser.allowed() that you mean?
there's a comment in there about checking roles manaully
rather than with getRolesInContext...
--
Paul Winkler
http://www.slinkp.com
On Tue, Feb 25, 2003 at 11:33:54PM +0100, Dieter Maurer wrote:
> Paul Winkler wrote at 2003-2-24 16:27 -0500:
> > ...
> > > It is easy to optimize this to "u + a" (via a dictionary),
> > > then thousands of roles should not be a problem.
> >
l
changes in lib/python/AccessControl and there's a few more thousand
lines of code in there which I haven't even looked at yet.
> exUserFolder has had modifications to allow construction of
> authentication sources that override user.getRolesInContext, but none of
> its default auth so
+ a" (via a dictionary),
> then thousands of roles should not be a problem.
would that mean you have to build a (potentially huge) dictionary every
time? I'd greatly appreciate it if you could expand on this suggestion.
Thanks!
--
Paul Winkler
http://www.slinkp.com
___
a lot easier.
my guess is that in our case, the number of roles would be comparable.
200 sites * 10 tasks = 2000 roles
200 sites * 10 users = 2000 roles
--
Paul Winkler
http://www.slinkp.com
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zo
ay need to allow a user to work on two sites
*simultaneously* which would not be possible in this model.
--
Paul Winkler
www.slinkp.com
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross
tions
* We have multiple applications, not all in zope, so LDAP is looking
attractive.
--
Paul Winkler
http://www.slinkp.com
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML enc
ck on the
> client side:
>
> http://www.zope-europe.org/Members/paul/tmp/moztop-pinstripe.png
For those of us who are noobs to this discussion, and to RDF in general,
can you sum up what I'm looking at? and how this demonstrates
RDF benefitting c
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
ould 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://ma
# "portals" is in the app root!
, # doesn't aq_inner work???
,
# what's this doing here?
]
--
Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's THE CLAUSTROPHOBIC NOSE!
(random hero from isometric.spaceninja.com)
__
on
length" errors, 700 "invalid transaction length" errors, and 200
POSKeyErrors in a single FileStorage.
--
Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's MALIFEROUS CONTORTIONIST!
(random hero from isometric.spaceninja.com)
ME/Products
$ find . -name "*py" -exec grep -H "except:" {} \; | wc -l
133
Great, so there's at least 133 things to examine to see if they
could catch a ConflictError. And I only wrote about 15 of those.
The rest could be very time-consuming to audit.
--
Paul Winkler
h
On Fri, Feb 07, 2003 at 12:41:36PM -0800, Jamie Heilman wrote:
> Paul Winkler wrote:
> > ... which, FYI is kind of a pain to use with zope prior to
> > CVS / 2.7, because zope insists on forking to the background
> > unless you run in debug (-D) mode, and daemontools (o
On Fri, Feb 07, 2003 at 03:16:46PM -0500, Shane Hathaway wrote:
> Okay, I added some features to the mockup:
>
> http://hathaway.freezope.org/Images/controller_snapshot2.png
I dig it.
(clicking on the mockup buttons) Ungh. Can't seem to make it work.
(drool drool)
--
Pau
it. The latter solution "works" but
seems rather fragile.
Have I mentioned lately that I'm very thankful to the people
that are working on decomposing the various behaviours toggled
by -D?
--
Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's PR
tributing
> to development of such a beast.
Oooh! Oooh! One more: build in a window with a python prompt
that connects straight in to a ZEO debugging session (
(possibly remotely).
--
Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's BETA CAPTAIN!
(random hero from isometr
On Fri, Feb 07, 2003 at 10:40:31AM +0100, Stefan H. Holek wrote:
> This worked great for me:
> <http://www.zope.org/Members/4am/debugspinningzope>
Oooh, thanks, I'll keep that handy next time!
Wish I knew how to trigger the behavior :(
--
Paul Winkler
http://www.slinkp.com
Lo
pective, I have had exactly 1 spin
on a production zope system since Jan 1. My group has had
*several* BEA server crashes in the same time.
I consider Zope to be much more reliable than BEA.
--
Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's LORD ORIGINATOR I LOV
? WOuld that give me anything
useful?
* this does not sound like other zope "spins"
I have heard of, in which python eats 99% CPU
indefinitely due to (probably) an application error.
see for example:
http://www.zopezen.org/Members/zopista/News_Item.2003-01-28.1025
--
Paul Winkler
ht
g is callable via URL. absolute_url is not.
Inconsistency is confusing, especially to newbies.
if I had the time, I'd go through the API Reference and
catalog methods that are callable by URL and methods that
are not, and try to make some sense of it.
I suspect it would be pretty random
, we do have something like a stupidHttpClient.)
-
Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's HIGHLY TOXIC PIRATE!
(random hero from isometric.spaceninja.com)
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/m
On Wed, Jan 22, 2003 at 07:49:11PM +, seb bacon wrote:
> Hmm, I thought the GIL pertains only to SMP?
The GIL pertains to the python interpreter on any hardware.
--
Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's PATHETIC LOOKING NOSE MASTICATOR!
(cou
> > He posted a patch to lib/python/zdaemon/Daemon.py.
> > Nobody said anything about ZEO/start.py.
>
> You're right. :-(
okay, NP... just trying to make sure i understood the discussion.
a summary, AFAICT: everybody agrees that splitting up the many things
in Zope toggled by deb
bout Zope's debug mode.
>
> Eh? This started with your suggesting a change to ZEO/start.py, to
> which I objected.
>
> Oh well. What a waste of time.
Now I'm lost.
He posted a patch to lib/python/zdaemon/Daemon.py.
Nobod
gled whether tracebacks were
displayed openly (debug mode) or embedded in an html comment.
> I'd like to address these problems for Zope 2.7, but I doubt it's going
> to be possible in the short term.
What he said. :(
--
Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It'
ies... finally, a fully really transparent
unix filesystem <-> ZODB solution that isn't a half-assed version of either!
didn't get into detail but it seems like it should be doable.
--
Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's THE BUT
ually the site uses only some of them. So when
> actually deploying a site, the system should resolve those images and put
> the required files.
I don't know of any existing tool to do that for zope.
You'd have to write your own.
--
Paul Winkler
http://www.slinkp.com
Loo
Is anybody planning a zope 3 sprint at pycon?
would be a good excuse for me to dive into
z3 :)
--
Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's COMPLEX ICE WITICIST!
(courtesy of isometric.spaceninja.com)
___
Zope-Dev mai
to be.
> >
> >Sorry about that.
Partly my fault, Andy - you asked me yesterday to verify that
you'd checked in everything I'd sent you, and I said yes.
There was also a change to lib/python/Products/OFSP/help/Response.py
that was part of my fix for #342 as well, did that make it i
301 - 349 of 349 matches
Mail list logo