I was just reading the Zope 2.4.0 plan on dev.zope.org, and I have two
questions:
1. Will Unicode be supported (UTF-8 encoding) for results, posted data,
marshaled arguments, etc?
2. Will the BDB storage be standard with 2.4? Transactional Undo sounds
_very_ nice.
Thanks,
-Randy
If I understand your scenario, you are trying to run two instances of
Zope on a single machine, talking to a ZEO server?
That won't work :)
Neither Unix nor Windows knows what to do with two processes trying to
open the same port for listen. I'm surprised the second Zope instance
even starts.
_.SecurityGetUser()
-Randy
___
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
The documentation is in lib/python/AccessControl/DTML.py :)
From: Chris Withers [mailto:[EMAIL PROTECTED]]
dtml-var _.SecurityGetUser().getUserName()
as for simplifying _.SecurityGetUser().getUserName(), BasicUser defines
__str__ to return getUserName(), so dtml-var SecurityGetUser should
I may just be missing something obvious here, but it seems like there is
a hole in ZODB.Transaction.Transaction.commit and Shared.DC.ZRDB.TM.TM,
that can cause external transactions (those that use the TM mixin class,
like psycopg) to be abandoned (never get committed or rolled back).
Let's say
Try adding something like this in your render method (haven't tried
this, but from a poking around the code in the DocumentTemplate
directory in the past this seems about right):
import VSEval
expr = VSEval.Eval(variable_you_want_to_evaluate)
value = expr.eval(md)
-Randy
-Original
I haven't worked with this code closely in a few months, but as I recall
permissions that are acquired are stored as a list, and those that
aren't are stored as a tuple.
if type(self._View_Permission) == type(()):
# done, this permission isn't acquired above this point
Furthermore, I
I had that problem a while back but forgot to report it to Mr.
Transparent Folders (sorry...)
Anyway, this patch to TransparentFoldersPatch.py should fix you right
up:
def _getattr(self, name):
# This is the new ObjectManager.__getattr__(). If an object by
the
# given ID is
Sorry if these have already been fixed in 2.3.1, I haven't had time to
upgrade yet.
I fixed a small bug in SecurityInfo that made
SecurityInfo.setPermissionDefault() impossible to use:
191c191
self.roles[permission_name] = rdict.keys()
---
self.roles[permission_name] = rdict
What's wrong with AbstractCatalogBrain.getObject()? Doesn't that work?
-Randy
-Original Message-
From: Casey Duncan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 14, 2001 3:45 PM
To: R. David Murray; [EMAIL PROTECTED]
Subject: Re: [Zope-dev] Calling Catalog from python
Are you starting zope with ./start, or otherwise including -D when z2.py
is executed?
That will cause Zope to try to write to the terminal when an FTP
connection is made. Since the terminal is gone, Zope dies.
-Randy
-Original Message-
From: Pablo Bleyer Kocik [mailto:[EMAIL
11 matches
Mail list logo