RE: [Zope-dev] Zope 2.4.0b2 seems to be broken on Windows

2001-06-29 Thread Randall F. Kern
Yeah, lots of the filenames are bogus under the Products\PluginIndexes\Splitter directory. -Randy > -Original Message- > From: Colin Sampaleanu [mailto:[EMAIL PROTECTED]] > Sent: Friday, June 29, 2001 3:09 PM > To: [EMAIL PROTECTED] > Subject: [Zope-dev] Zope 2.4.0b2 seems to be broken o

[Zope-dev] Zope 2.4: Unicode, Berkeley Storage?

2001-06-20 Thread Randall F. Kern
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

RE: [Zope-dev] ZEO on SMP

2001-05-23 Thread Randall F. Kern
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.

RE: [Zope-dev] CoreSessionTracking

2001-04-23 Thread Randall F. Kern
The documentation is in lib/python/AccessControl/DTML.py :) > From: Chris Withers [mailto:[EMAIL PROTECTED]] > as for simplifying _.SecurityGetUser().getUserName(), BasicUser defines __str__ to return getUserName(), so should result in the same output as -Randy _

RE: [Zope-dev] CoreSessionTracking

2001-04-23 Thread Randall F. Kern
_.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 http://lists.zope.or

[Zope-dev] External transaction integration bug?

2001-04-18 Thread Randall F. Kern
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 s

RE: [Zope-dev] Custom dtml tag ... parameters not evaluated

2001-04-12 Thread Randall F. Kern
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 Message

RE: [Zope-dev] Objects, Roles and Permissions

2001-04-10 Thread Randall F. Kern
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 may

[Zope-dev] RE: your mail

2001-04-09 Thread Randall F. Kern
t; Sent: Monday, April 09, 2001 1:23 AM > To: Randall F. Kern > Cc: [EMAIL PROTECTED] > Subject: Re: your mail > > > Scavenging the mail folder uncovered Randall F. Kern's letter: > > [snip] > > Concurrent updates are not supported in the serializable tran

[Zope-dev] Postgres DAs and Serializable Isolation Level

2001-04-07 Thread Randall F. Kern
This post is about fixing the "ProgrammingError: Can't serialize access due to concurrent update" exceptions you will often get when using PostgreSQL with Zope. First a little background on the error, for those of you not familiar with Postgres's transaction isolation. ANSI defines 4 levels of

RE: [Zope-dev] Transparent Folder bug?

2001-03-23 Thread Randall F. Kern
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

[Zope-dev] Zope 2.3.0 AccessControl/SecurityInfo.py

2001-03-01 Thread Randall F. Kern
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

RE: [Zope-dev] Calling Catalog from python script

2001-02-14 Thread Randall F. Kern
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

RE: [Zope-dev] The field converters (:int, :text, etc.)

2001-02-05 Thread Randall F. Kern
Unselected check boxes aren't in the request, maybe that is what your thinking of? -Randy > -Original Message- > From: Chris McDonough [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 05, 2001 7:18 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: [Zope-dev] The field conve

RE: [Zope-dev] Zope server dies with Netscape's FTP

2001-02-04 Thread Randall F. Kern
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 PROTEC