Re: [Zope-dev] _getOb or __getattr__?

2001-03-07 Thread Chris Withers
subobjects because acquisition only looks at object attributes. It doesn't know anything about _getOb(). (And it's not a good idea to teach it to use _getOb(); think what it would be like if a Xeon ran like a 386...) I remember the days when... ;-) Seriously though, why would that make it

Re: [Zope-dev] Possible 'bad' with Client.py and urllib

2001-03-07 Thread Chris Withers
Has anyone got any ideas how I'd go about inestigating this? You could try to figure out in what state Zope is when it blocks. Does is consumes time? Maybe, you can use a debugger to determine in what state the various threads are. This may give us a hint where the block is established.

Re: [Zope-dev] _getOb or __getattr__?

2001-03-07 Thread Shane Hathaway
Chris Withers wrote: subobjects because acquisition only looks at object attributes. It doesn't know anything about _getOb(). (And it's not a good idea to teach it to use _getOb(); think what it would be like if a Xeon ran like a 386...) I remember the days when... ;-) Seriously

Re: [Zope-dev] _getOb or __getattr__?

2001-03-07 Thread Chris Withers
Shane Hathaway wrote: No. The expensive part is invoking Python code from C. It's the same problem described by the documentation for the Python sort() method: it's much faster to sort() then reverse() than it is to sort() with a comparison function that reverses the elements. Invoking C

RE: [Zope-dev] RE: ZODBC problem

2001-03-07 Thread Bryan Baszczewski
Alan, I am having a similar lock-out problem while performing a complex query on SQL Server 2K. All other hits cannot connect until the query returns the results. My research has so far taken me here: http://www.zope.org/Members/petrilli/DARoadmap Which is telling me I am probably using at

[Zope-dev] [OT] Zope Designer For Hire

2001-03-07 Thread Michael R. Bernstein
Hi all, I realize this is a little off-topic, but I figured I'd give it a shot anyway. I am a Zope-savvy web-designer that has recently been 'downsized', and I'm looking for a new employer. I'm located in Las Vegas, NV, and would prefer not to relocate, but would be open to telecommuting.

Re: [Zope-dev] Attribute providers for Specialists

2001-03-07 Thread Dieter Maurer
Johan Carlsson writes: SGksDQpBcyBJIHVuZGVyc3RhbmQgaXQgU3BlY2lhbGlzdCBjYW4ndCBnZXQgdGhlcmUgYXR0cmli dXRlcyBmcm9tIGEgcHJvdmlkZXI/DQoNCkZvciBpbnN0YW5jZSwgdGhlIExvZ2luTWFuYWdlciBr If you would not post MIME messages, I would be able to read your posts. I know what I get is base64

Re: [Zope-dev] dtml-in: next-batches

2001-03-07 Thread Brett Carter
I tried accessing keys off the 'data' object, and I just get an 'unathorized' error. -Brett "Dieter" == Dieter Maurer [EMAIL PROTECTED] writes: Dieter Brett Carter writes: I'm running Zope 2.2.2, and I'm trying to use the batching stuff for the dtml-in tag, however, I can't seem

[Zope-dev] dtml-in: next-batches

2001-03-07 Thread Brett Carter
Does anybody have an example of how to use the supposed next-batches mapping returned by dtml-in? I'm trying to build a google-like pageing feature into my application, so we just show the first 5 results, then have a link to each next page, ie "1,2,3,4..." Thanks, -Brett

RE: [Zope-dev] dtml-in: next-batches

2001-03-07 Thread Bryan Baszczewski
I found this in some Zope documentation. It wont give you "1,2,3,4,5...10" it gives "(1-10)(11-20)(21-30)...". Monkey with it a little and you'll get it. Beware it will call your External Method or ZSQL as many times/10. dtml-in expr="SOME_EXTERNAL_METHOD(REQUEST)" previous orphan=1 size=10

[Zope-dev] FYI. I've removed my Base64 MIME encoding

2001-03-07 Thread Johan Carlsson
FYI. I've removed my Base64 MIME encoding. Thanks to Dieter for alerting me to the problem. Regards, Johan Carlsson ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! **

[Zope-dev] Saving attributes for a DataSkin

2001-03-07 Thread Johan Carlsson
Hi, I'm having some trouble figuring out how to write a method and a skinscript to save attributes of a DataSkin. Specialist is the LoginManager. DataSkin is: class EasyGroupUser(LoginUser): ... def getRoles(self): ... def getDomains(self): ... def