[Zope-dev] Class attributes and Presistence

2000-12-07 Thread Johan Carlsson
Hi, I'm using a class attribute _v_label_index to store an index of my managetab options (in a multi managementtabs mixin product). To create _v_label_index i use a module level method that I run in the class scope, like this: def initIndex(manage_options,...): ... class myclass(...): ...

Re: [Zope-dev] case insensitive sorts

2000-12-07 Thread Chris Withers
Dieter Maurer wrote: > > Andy McKay writes: > > what does anyone else think > > I would not like it. Why not? ;-) Chris ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

Re: [Zope-dev] Search Interface [was 'case insensitive sorts']

2000-12-07 Thread Chris Withers
Rik Hoekstra wrote: > > Hm, reading this... just a loose comment. > In light of the awkward search interface of ZCatalogs, would it be a good > idea to make a search interface for ZCatalog ZPatterns based? T I'm starting to feel like a stuck record on this, but lots of people seem to be asking f

Re: [Zope-dev] case insensitive sorts

2000-12-07 Thread Toby Dickenson
On Wed, 06 Dec 2000 18:00:31 +, Chris Withers <[EMAIL PROTECTED]> wrote: >(reasons of course would be helpful, particularly if you want it to stay >like it is ;-) I noticed the smiley, so Im not sure how serious the suggestion is. Ill bite anyway: 1. Python doesnt distinguish between 8-bi

[Zope-dev] CVS emergency_user bug

2000-12-07 Thread Robin Becker
z2.py makes references to AccessControl.User.emergency_user which causes an exception. Is it ok to use SpecialUsers.super instead? -- Robin Becker ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross

Re: [Zope-dev] Re: [Geeks] Re: Interface Meta Data proposal

2000-12-07 Thread Martijn Faassen
Guido van Rossum wrote: > > I notice you mention post/pre conditions (something that UML obviously talks > > about). I wonder if we want to do a bit of research on Eiffle and it's > > contractual description. The only thing I wonder is if some of this is > > actually useful programatically, if t

Re: [Zope-dev] CVS emergency_user bug

2000-12-07 Thread Shane Hathaway
Robin Becker wrote: > > z2.py makes references to AccessControl.User.emergency_user which causes > an exception. Is it ok to use SpecialUsers.super instead? No, it is not ok. :-) Have you updated AccessControl/User.py as well? If you have, this exception should not occur. Are you using specia

Re: [Zope-dev] case insensitive sorts

2000-12-07 Thread Shane Hathaway
Chris Withers wrote: > Who thinks the default python sort should stay like it is? Who thinks it > should change? > (reasons of course would be helpful, particularly if you want it to stay > like it is ;-) Python's sort() lets you sort based on not only strings but also tuples, lists, and numbers,

[Zope-dev] virtual domains

2000-12-07 Thread Josh Zeidner
Hello, Is it possible to configure zope for "virtual domains"? For instance, can I have one zope installation serve several domains? How do I configure this? -josh zeidner http://www.brooklynmedialabs.com _

Re: [Zope-dev] case insensitive sorts

2000-12-07 Thread Toby Dickenson
On Thu, 07 Dec 2000 10:54:06 -0500, Shane Hathaway <[EMAIL PROTECTED]> wrote: >The one thing I wonder is whether the sort order is consistent between >different versions of Python. I actually have a Collector bug report on exactly this question. http://classic.zope.org:8080/Collector/1219/view

Re: [Zope-dev] file references

2000-12-07 Thread Casey Duncan
Dan Sashko wrote: > > ~~~sorry for double post if you get it twice... I think I sent it first from > the wrong email address > > is there a way in zope to reference a document on a server without having it > to be in the > zope database??? > > if I want to display say a microsoft document, with

Re: [Zope-dev] CVS emergency_user bug

2000-12-07 Thread Robin Becker
In article <[EMAIL PROTECTED]>, Shane Hathaway <[EMAIL PROTECTED]> writes >Robin Becker wrote: >> >> z2.py makes references to AccessControl.User.emergency_user which causes >> an exception. Is it ok to use SpecialUsers.super instead? > >No, it is not ok. :-) Have you updated AccessControl/User.

Re: [Zope-dev] CVS emergency_user bug

2000-12-07 Thread Shane Hathaway
Robin Becker wrote: > > In article <[EMAIL PROTECTED]>, Shane Hathaway > <[EMAIL PROTECTED]> writes > >Robin Becker wrote: > >> > >> z2.py makes references to AccessControl.User.emergency_user which causes > >> an exception. Is it ok to use SpecialUsers.super instead? > > > >No, it is not ok. :-)

Re: [Zope-dev] virtual domains

2000-12-07 Thread Chris Withers
Josh Zeidner wrote: > > Hello, > > Is it possible to configure zope for "virtual domains"? For instance, can > I have one zope installation serve several domains? How do I configure > this? http://www.zope.org/Members/4am/SiteAccess2 cheers, Chris

Re: [Zope-dev] SQLAlias Memory Leak?

2000-12-07 Thread Dyon Balding
OK, I've put this into the Collector. I'm intrigued as to what the operating procedure is with the Collector though - there appear to be a large number of Pending jobs. Does that mean that Digital Creations haven't even looked at them, or that they just haven't done anything about them? http://

Re: [Zope-dev] case insensitive sorts

2000-12-07 Thread Dieter Maurer
Chris Withers writes: > Dieter Maurer wrote: > > Andy McKay writes: > > > what does anyone else think > > > > I would not like it. > > Why not? ;-) I would not like to see this sort order in the management screens, because I use capitalization to ensure that essential objects ar

Re: [Zope-dev] case insensitive sorts

2000-12-07 Thread Andy McKay
But thats a result of the sorting... anyway I have in and tree patched, I'll post them tonight when I get home and let people do what they want. -- Andy McKay, Developer. ActiveState. - Original Message - From: "Dieter Maurer" <[EMAIL PROTECTED]> To: "Chris Withers" <[EMAIL PROTECTE

Re: [Zope-dev] case insensitive sorts

2000-12-07 Thread Andy McKay
> 3. ZCatalog stores objects in a pre-sorted order. Changing the sort > order of any object (not just strings) would break *all* existing > ZCatalog instances that store mixed case strings. (and other > applications too - the python language reference documents that this > assmption is safe at le

[Zope-dev] Linux Zope <-> Win2K SQL Server?

2000-12-07 Thread Neil K
I'm still trying to figure out what the missing pieces are... if anyone else has gotten a Linux Zope talking to a Win2K SQL Server 2000, I would appreciate some guidance. It seems I would have to write my own Product from scratch to do this, no matter what. None of the ODBC Products seem to be a

Re: [Zope-dev] Linux Zope <-> Win2K SQL Server?

2000-12-07 Thread Anthony Baxter
Use the Sybase client libraries, with ZSybaseDA. We do that here, and it works fine (but not for much longer, byebye sqlserver...) Or FreeTDS, but I don't think it's thread-safe, so you'll need to use a Thunked adaptor. >>> "Neil K" wrote > > I'm still trying to figure out what the missing pi

Re: [Zope-dev] Linux Zope <-> Win2K SQL Server?

2000-12-07 Thread Dyon Balding
I am currently running Zope <-> ZSQLRelayDA <-> SQLRelay+FreeTDS <-> SQLServer on NT. It works, but not particularly robustly it would seem. -d On Thu, Dec 07, 2000 at 02:57:28PM -0800, Neil K wrote: > > I'm still trying to figure out what the missing pieces are... if anyone else > has gotten

[Zope-dev] Linux Zope <-> Win2K SQL Server?

2000-12-07 Thread jimbo
I'm still trying to figure out what the missing pieces are... if anyone else has gotten a Linux Zope talking to a Win2K SQL Server 2000, I would appreciate some guidance. >It seems I would have to write my own Product from scratch to do this, >no >matter what. None of the ODBC Products seem to be

[Zope-dev] Significance of the ZODB split?

2000-12-07 Thread Robin Becker
Anyone know why AM Kuchling needs to split off a Sourceforge project based on ZODB? I really liked the ZEO examples, but where's this going? -- Robin Becker ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev **

Re: [Zope-dev] Significance of the ZODB split?

2000-12-07 Thread Michel Pelletier
On Fri, 8 Dec 2000, Robin Becker wrote: > Anyone know why AM Kuchling needs to split off a Sourceforge project > based on ZODB? I don't think it's a "split", but AMK is using ZODB internally at his job, and externally with his own projects, so I can see him wanting to have some control over the

[Zope-dev] FYI: calling doctest from ZUnit

2000-12-07 Thread Simon Michael
I added some ZUnit tests which invoke Tim Peters' doctest testing framework in the zope environment. More at http://zwiki.org/DocTest regards, -Simon ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cro

[Zope-dev] (was Flat Database/ZPatterns api, performance ?)

2000-12-07 Thread Simon Michael
Itamar Shtull-Trauring <[EMAIL PROTECTED]> writes: > Simon Michael wrote: > > Flat Database (was ListMate) is just what I need to whip up an > > interface for non-technical administrators - thanks. So I migrated two > > data tables ("workshops" & "registrations") from gadfly to flatdb > > instance

[Zope-dev] A few corrupt files in Public CVS discovered and corrected

2000-12-07 Thread Ken Manheimer
Recently (yesterday and today) we found a few files in the CVS repository to be corrupt - different than the internal CVS files from which they were mirrored. We've run a check to track down all such files, and have corrected them all. However, we don't know at this point whether or not the mirr

Re: [Zope-dev] Significance of the ZODB split?

2000-12-07 Thread Simon Michael
Michel Pelletier <[EMAIL PROTECTED]> writes: > I am, in particular, barely not lazy enough to check stuff into > branches, much less whole other repositories. ;) Nicely put. Posted on zwiki.org so I can use it later. :) -Simon ___ Zope-Dev maillist -