[Zope-dev] How do I create entries in another folder

2001-06-05 Thread r . laarhoven
I am new with zope and i am trying to foundout something i found in the zope book on www.zope.org. >From the zope book i found this piece of code to create an entry in a guest book """ Create a guest book entry. """ # create a unique document id id='entry_%d' % len(con

Re: [Zope-dev] memory eating Zope..

2001-06-05 Thread Toby Dickenson
>> > > Note that this is likely caused by some sort of brainbending circular >> > > reference problem that might be helped by Python 2.X's cyclic garbage >> > > collector. >> > >> > Well, will also try out python 2.x then... (btw. are all 2.x python versions >> > working without problems with Zope

Re: [Zope-dev] Zope Server hanging :-(

2001-06-05 Thread Erik Enge
On Sun, 29 Apr 2001, Erik Enge wrote: > I'll try to do an hour or so of analysing this tomorrow, and I'll get back > to you. :-) Well, now we all know what vikings believe "an hour or so" mean, don't we? I figured it out, I think. Let's say I have these two methods: def a(): b() d

[Zope-dev] aq_explicit bug?

2001-06-05 Thread Chris Withers
This code from a python script gets called when iterating over either a list of objects or catalog brains: obj = _.getitem('sequence-item', 0).aq_explicit url = getattr(obj,'getURL',obj.absolute_url)() folderish = obj.isPrincipiaFolderish I would always expect to get an attribute error on

Re: [Zope-dev] Request for a Pluggin Index (NameIndex)

2001-06-05 Thread Chris Withers
> Looks like you should write your own index type. Zope 2.4 > comes with an PlugableIndex interface to allow third-party > indexes to be integrated into the Catalog. Yeah, I know all that, and I'm very much looking forward to playing with this. :-) However, the email was an invitation for anyone

Re: [Zope-dev] Request for a Pluggin Index (NameIndex)

2001-06-05 Thread Matt Hamilton
On Tue, 5 Jun 2001, Chris Withers wrote: > > Looks like you should write your own index type. Zope 2.4 > > comes with an PlugableIndex interface to allow third-party > > indexes to be integrated into the Catalog. > > Yeah, I know all that, and I'm very much looking forward to playing with > this

Re: [Zope-dev] Request for a Pluggin Index (NameIndex)

2001-06-05 Thread Andreas Jung
- Original Message - From: "Chris Withers" <[EMAIL PROTECTED]> To: "Andreas Jung" <[EMAIL PROTECTED]> Cc: "zope-dev" <[EMAIL PROTECTED]> Sent: Tuesday, June 05, 2001 11:30 AM Subject: Re: [Zope-dev] Request for a Pluggin Index (NameIndex) > > Looks like you should write your own index

RE: [Zope-dev] SOAP again (or, xml-rpc client for MSIE)

2001-06-05 Thread Adrian Hungate
Title: RE: [Zope-dev] SOAP again (or, xml-rpc client for MSIE) What are you actually trying to achive? Adrian... Phil Harris wrote: > > Brad, > > There are a few COM/COM+ components around that do xml-rpc. > > I use them with MS Word to write Word files directly to Zope for instance. >

RE: [Zope-dev] dtml-in batching improved

2001-06-05 Thread Adrian Hungate
Title: RE: [Zope-dev] dtml-in batching improved Back before the zope.org product directory became so easy to navigate I wrote an index that I used to use which has batch links top and bottom: http://www.zope.org/Members/haqa/productlist/view_source Dunno if this helps... Adrian...

[Zope-dev] DCOracle2 Beta 1 Announcement

2001-06-05 Thread Matthew T. Kromer
Description DCOracle2 is a replacement for DCOracle, written primarily in C. DCOracle 1 uses OCI 7 bindings for most Oracle calls, with OCI 8 mixed in for LOB support. Oracle 8i disallows mixing of calls within a statement, and so breaks LOB support. DCO2 uses entirely OCI 8 calls, and thus can us

[Zope-dev] context bindings in python products

2001-06-05 Thread Bernd Dorn
hi isn't there some mixin class to provide bindings to python products like in python scripts? so that i have some objects like: context, container ... i searched through the zope site, but there is nothing which can do such stuff am i the only one who needs this, or is it a sign for wrong codi

Re: [Zope-dev] context bindings in python products

2001-06-05 Thread Chris McDonough
context = self container = self.aq_inner.aq_parent Bernd Dorn wrote: > > hi > > isn't there some mixin class to provide bindings to python products like in > python scripts? > so that i have some objects like: context, container ... > > i searched through the zope site, but there is nothing wh

Re: [Zope-dev] context bindings in python products

2001-06-05 Thread Bernd Dorn
thx, but i tried this already self always returns the instance of the class in which the method is defined, instead of the container/object from which it is called example: two classes, class x with method example(): return self class y with no method and is a subobject of x http://www.foo.bar/

Re: [Zope-dev] context bindings in python products

2001-06-05 Thread Chris McDonough
Oops, sorry... roughly, context = self.aq_parent container = self.aq_inner.aq_parent Bernd Dorn wrote: > > thx, but i tried this already > > self always returns the instance of the class in which the method is > defined, instead of the container/object from which it is called > > example: > t

Re: [Zope-dev] context bindings in python products

2001-06-05 Thread Bernd Dorn
this doesnt work either my test funtion: def test_htm(self): """ just test """ context = self.aq_parent return context.absolute_url() returns always the absolute_url of the parent object of the class instance is there something wrong with my product?? it inherits from

Re: [Zope-dev] context bindings in python products

2001-06-05 Thread Chris McDonough
Bernd Dorn wrote: > > this doesnt work either > > my test funtion: > > def test_htm(self): > """ just test """ > context = self.aq_parent > return context.absolute_url() > > returns always the absolute_url of the parent object of the class instance I think I understand

Re: [Zope-dev] context bindings in python products

2001-06-05 Thread Bernd Dorn
either way - thx maybe such a bindings implementation is worth a proposal sometime ... - Original Message - From: "Chris McDonough" <[EMAIL PROTECTED]> To: "Bernd Dorn" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, June 05, 2001 11:18 PM Subject: Re: [Zope-dev] context bindi

[Zope-dev] manage_main modification time wrong

2001-06-05 Thread Andrew Sydelko
Our Zope installation has this really strange problem associated with the displayed "Modification Time" shown for each file in the /manage_main of a folder. The time that is shown is exactly one-hour later than the system time. I think I've tracked down this to the bobobase_modification_time

[Zope-dev] RDBM Connections per User

2001-06-05 Thread Christian Theune
Hello out there. I had following problem: In a software, using zope as appserver, we needed to have every user a single connection to the database (postgres 7.1) to have access- checks on database level. I hacked into the Connection code and found, that the interfaces are really hard to be used

RE: [Zope-dev] SOAP again (or, xml-rpc client for MSIE)

2001-06-05 Thread Brad Clements
I have an IE 5.5 one-page web application that manages related database tables exposed as ADO recordsets from a Zope/Interbase/Linux server. I would like to use either the webservices behavior in IE5 or find an XML-RPC client component for IE 5.5 so I can make RPC calls into Zope in a standard,

Re: [Zope-dev] Zope Server hanging :-(

2001-06-05 Thread richard
Erik Enge wrote: > On Sun, 29 Apr 2001, Erik Enge wrote: > I figured it out, I think. Let's say I have these two methods: > > def a(): > b() > > def b(): > a() > > If I call a(), then Zope dies and restarts without giving me any error > at all. Anyone got a clue? There are

Re: [Zope-dev] RDBM Connections per User

2001-06-05 Thread Jim Penny
On Tue, Jun 05, 2001 at 11:47:18PM +0200, Christian Theune wrote: > Hello out there. > > I had following problem: > > In a software, using zope as appserver, we needed to have every user > a single connection to the database (postgres 7.1) to have access- > checks on database level. I think tha

Re: [Zope-dev] Zope Server hanging :-(

2001-06-05 Thread Dieter Maurer
> Erik Enge wrote: > > On Sun, 29 Apr 2001, Erik Enge wrote: > > I figured it out, I think. Let's say I have these two methods: > > > > def a(): > > b() > > > > def b(): > > a() > > > > If I call a(), then Zope dies and restarts without giving me any error > > at

Re: [Zope-dev] Zope Server hanging :-(

2001-06-05 Thread richard
Dieter Maurer wrote: > > > Erik Enge wrote: > > > On Sun, 29 Apr 2001, Erik Enge wrote: > > > I figured it out, I think. Let's say I have these two methods: > > > > > > def a(): > > > b() > > > > > > def b(): > > > a() > > > > > > If I call a(), then Zope dies and re

Re: [Zope-dev] RDBM Connections per User

2001-06-05 Thread Stephan Richter
> > In a software, using zope as appserver, we needed to have every user > > a single connection to the database (postgres 7.1) to have access- > > checks on database level. You might want to check out DBObjects, since they are automatically implementing all the permission stuff on the Zope sid

[Zope-dev] __init__.py of ZServer is diff format?

2001-06-05 Thread Sin Hang Kin
I update zope from cvs this morning. The ZServer/__init__.py contain __init__.py is it in diff format? Rgs, Kent Sin - kentsin.weblogs.com kentsin.imeme.net ___ Zope-Dev maillist - [EMAIL PROTECTED] http://li

Re: [Zope-dev] __init__.py of ZServer is diff format?

2001-06-05 Thread Andreas Jung
Looks like a merge conflict during the cvs update. Try a fresh checkout or remove the file and retry cvs update. Andreas - Original Message - From: "Sin Hang Kin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 05, 2001 7:56 PM Subject: [Zope-dev] __init__.py of ZServer

[Zope-dev] Personalization (was RE: [Zope-CMF] List of subject/metadata sets?)

2001-06-05 Thread Bjorn Stabell
Ok, time to throw in my RMB 0.166 (US$ 0.02). SITE VOCABULARY In other CMS's, e.g., SiteServer, Spectra (Cold Fusion), and Vignette the main use of the subject/keywords is for user profiling and personalization; although they call it Vocbulary, Site Categories, and Category:Keywords respectivel

[Zope-dev] 60GB Data.fs?

2001-06-05 Thread Bjorn Stabell
Hi there, We're planning a Yahoo! Clubs like system that should scale to about 30, 000 users. Assuming about 3,000 groups and 20MB per group (group functionality includes photo albums), gives a database size of 60GB. Assuming on average 3,000 users per day, 20 page views per users, gives about 6

[Zope-dev] A simple dtml-if question...

2001-06-05 Thread Jeff Nielsen / UgoFast
How do I construct a dtml-if statement with two conditions joined by "and" logic? I want to do something like this: Jeff Nielsen / UgoFast http://www.UgoFast.com [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/ma

Re: [Zope-dev] SOAP again (or, xml-rpc client for MSIE)

2001-06-05 Thread Hannu Krosing
Brad Clements wrote: > > SOAP, WSDL and UDDI are coming in a big way. I think Zope/Python can compete > against MS .Net Services on the server side, but it does make sense to use .Net > components on the client, such as the webService behavior for IE. Does it really exist (the webService behavio