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

2001-06-06 Thread ender
On Monday 04 June 2001 16:55, Andreas Jung 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. this brings up an interesting question of what is the best way to register a new

Re: [Zope-dev] Re: [Zope] **Important Notice** for Zope public CVS users

2001-04-13 Thread ender
On Friday 13 April 2001 02:22, Oleg Broytmann wrote: Hi! On Thu, 12 Apr 2001, Brian Lloyd wrote: We are soon going to begin checking in changes to the head of the Zope CVS that will require the use of Python 2.1. Once we start on the 2.4 tasks, you will not be able to use a public CVS

Re: [Zope-dev] **Important Notice** for Zope public CVS users

2001-04-12 Thread ender
On Thursday 12 April 2001 12:46, Brian Lloyd wrote: We are soon going to begin checking in changes to the head of the Zope CVS that will require the use of Python 2.1. Once we start on the 2.4 tasks, you will not be able to use a public CVS checkout of Zope with older Pythons. We are not going

Re: [Zope-dev] ZPatterns, DataSkins, forms and error checking/handling

2001-04-06 Thread ender
On Tuesday 27 March 2001 17:40, Itai Tavor wrote: Hi, I'm trying to work out the best way to check for and report errors when DataSkin objects are created/edited, but I'm having a lot of problems. For form validation, Zope's build-in constraints are pretty useless... things like ValueHandler

Re: [Zope-dev] DBObjects 1.0 and Demos for Proiektor ZQuest released

2001-04-05 Thread ender
hi, this seems pretty cool, and i'd like to thank stephen and iuveno for releasing it, but the release seems pretty half-baked. the website 1. dbobjects demo is not existent 2. the documentation for projektor is password protected 3. there are no downloads apparent for anything but dbobjects

Re: [Zope-dev] SAP DB -- ZODB ?

2001-03-10 Thread ender
On Friday 09 March 2001 07:20, Steve Alexander wrote: I just heard that the SAP DB has gone Free and Open Source. sapdb isn't open source yet. it will be in a few months. when it does it looks like it will instantly become the most advanced open source database out there. my current rankings

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

2001-02-06 Thread ender
my alpha quality dtml-contract tag does allows custom field converters much as has been requested here, its meant as a generic form processing engine with the ability to define per variable error pages. its got some other features. its modeled on the arsdigita (acs) ad_page_contract. due to

Re: [Zope-dev] Creating IMAP and SMTP services for Zope

2001-02-03 Thread ender
On Saturday 03 February 2001 10:28, Morten W. Petersen wrote: Hi guys, I'm wondering about creating IMAP and SMTP services for Zope. Someone mentioned to me that extending (using?) the ZServer could be a Good Thing (tm). probably. i've always been curious though about the threads in

[Zope-dev] Re: [medusa] Re: [Zope-dev] asynchat producer ready() method patch.

2001-01-31 Thread ender
On Wednesday 31 January 2001 04:18, Donovan Baarda wrote: On Mon, Jan 29, 2001 at 07:26:56PM +0100, Dieter Maurer wrote: Donovan Baarda writes: On Sun, Jan 28, 2001 at 09:31:07PM +0100, Dieter Maurer wrote: Donovan Baarda writes: I remember reading ages ago on a wishlist for

Re: [Zope] Zope memory usage / cache

2001-01-31 Thread ender
On Tuesday 30 January 2001 21:21, Ron Bickers wrote: -Original Message- From: ender [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 30, 2001 10:12 AM To: Ron Bickers; [EMAIL PROTECTED] Subject: Re: [Zope] Zope memory usage / cache this sounds like normal operating system

Re: [Zope] DTML difficulties

2001-01-30 Thread ender
dtml-with jobs dtml-in "objectValues('JobsZClass')" option value="dtml-var id"dtml-var title_or_id/option /dtml-in /dtml-with same thing for taskforces your error from what you tried was because you were trying to treat the taskforce and job folder objects as lists which they aren't. what you

Re: [Zope] Zope memory usage / cache

2001-01-30 Thread ender
On Tuesday 30 January 2001 10:09, Ron Bickers wrote: I have a site that has dozens of 300k+ Photo objects ( When I start Zope, it uses about 10MB. It will run at around 10-12MB for days as long as I don't access any of the photos. Once I access

Re: [Zope] License

2001-01-29 Thread ender
On Monday 29 January 2001 01:41, Chris Withers wrote: Olaf Zanger wrote: is the product planned to ship under GPL or an corresponding licence? Please don't shit it under GPL, it makes it much less useful :-S A variant of the Zope License would be much mroe friendly :-) cheers, Chris

Re: [Zope] CacheManagers are cool :)

2001-01-29 Thread ender
On Monday 29 January 2001 10:15, Seb Bacon wrote: I've just been experimenting with the RAM Cache manager, and FWIW I thought I'd share my findings: I ran some simple tests using ab against a single, dynamic page which has some display logic both in the filesystem product and dtml. I cached

Re: [Zope] RESPONSE.redirect

2001-01-29 Thread ender
On Monday 29 January 2001 09:14, Oliver Vecernik wrote: Hi all, I'd like to show a page and after a few seconds I'd like to redirect to another page. If I simply add !--#call "RESPONSE.redirect"-- it is done immediately. How can I achieve a delay of a couple of seconds? Oliver meta

Re: [Zope] Calling a DTML Document using a string

2001-01-24 Thread ender
On Wednesday 24 January 2001 12:00, Anderson Ami wrote: How can I do a dtml document call using the call dtml tag ? e.g. - I have 3 DTML documents ( bot1, bot2 and bot3) - I have in my request a int variable called varX - I would like do it, but this one doesn't work : ... dtml-var

[Zope-dev] Annouce Developer Version DTML-Page-Contract

2001-01-22 Thread ender
hello zen masters i just finished documenting a developer version of a port of the ACS's (arsdigita community system) acs_page_contract to dtml. test it out, i'm pretty sure everyone will be happy with the simplification of the resulting dtml. feed back and thoughts welcome. if no bugs are

Re: [Zope] ZPoPyDA woes

2001-01-22 Thread ender
the most recent versions of popy are currently hosted on sourceforge. popy wants some includes which are not included in a normal source make of popy. catalog/fe??h. i generally just copy them over from the

Re: [Zope] TCPWatch... and closing sockets..

2001-01-22 Thread ender
i'm guessing this has something to do with the default line terminators that medusa is looking for before it senses that a data buffer is ready to be processed. it seems like the url encoded ones request seem to have different line terminators. you can adjust this the fly by using the

Re: [Zope] HELP: ZPatterns Installation on Linux

2001-01-20 Thread ender
assuming you have a source distro of zope than this 'should' work # from zope base dir cd lib/python/Products/ZPatterns # the following is dependent on your python install, assuming # a stock redhat rpm cp /usr/lib/python1.5/config/ . make -f boot make

Re: [Zope-dev] Massive scalability

2001-01-17 Thread ender
On Tuesday 16 January 2001 20:42, Michael Bernstein wrote: Are you saying that Zope's startup and shutdown time is affected by the size of the ZODB? AFAIK on a filestorage zope loads up the indexes (oid, file_offset?) into memory on start to facilitate object retrieval which impacts start up

[Zope-dev] mounting obj to more than one zodb location

2001-01-17 Thread ender
whats happens when you create a persistent object and mount it to multiple points on your zodb. do you get a shared ref or multiple copies of the object? kapil ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope] zope, xemacs and efs

2001-01-17 Thread ender
On Wednesday 17 January 2001 18:39, Geoffrey L. Wright wrote: [EMAIL PROTECTED] (A.J. Rossini) writes: What version of EFS are you using, and if not recent, have you considered upgrading the EFS package? 1.21 That's the most recent version listed by the xemacs package manager. Is there

Re: [Zope] Re:External Methods

2000-11-29 Thread Ender
check out the urlencode function of urllib. kapil Kini Natekar wrote: Hi, I am currently running a external method .This method calls a python script using the following line a href=\"http://localhost/cgi-bin/\"%s/a" %(name,age,gender) Instead of calling the

Re: [Zope-dev] Questions, Jar, Transactions, Metaclassess, ZPatterns

2000-11-27 Thread Ender
sorry for the poorly worded question (midnight madness), let me try and restate them a bit better in the fond hope that someone will answer any of them. whats is a jar? as far as i know its just the data representation of the object that gets stored in the zodb, hence its directly related to

Re: [Zope-dev] objectValues performance

2000-11-27 Thread Ender
Brett Carter wrote: I have a folder with greater than 5000 ZClass instances in it. It takes 5mins to do an objectValues for every object in the folder - is there a higher perfomance call I could make? -Brett use a catalog. (which only help if you want a filtered set or a schema attrs of

Re: [Zope-dev] SQL-Methods Through-the-FileSystem

2000-11-26 Thread Ender
Johan Carlsson wrote: Seb: Does anybody have a good suggestion how to develope SQL Method ftfs (through the filesystem) rather than ttw. Perferably in someway similare to the HTMLFile way try something like this: from Products.ZSQLMethods.SQL import SQL import

Re: [Zope] Python and EJB (J2EE)

2000-11-26 Thread Ender
Nitin Borwankar wrote: I've mentioned two-phase commit to Digicool people. Not sure whether it's already inside Zope or not, but it seems not. Zope's TM (Transaction Machinery) does not seem to be two-phase. See the file itself: it only has def _finish(self):

Re: [Zope] Python and EJB (J2EE)

2000-11-26 Thread Ender
assuming no errors, in which case you'll get rollback method calls, or subtransactions. a call to tpc_begin signals the begin of the two-phase commit. than comes a call to commit, next tpc_vote, and finally tpc_finish. kapil Ender wrote: Nitin Borwankar wrote: I've mentioned two

Re: [Zope] Python and EJB (J2EE)

2000-11-25 Thread Ender
Hung Jung Lu wrote: From: Ender [EMAIL PROTECTED] ... Thanks for the comments. I'll reply other points in a few more days. cool, i've been waiting for this discussion:) as for distributed technologies, while xml-rpc is useful and simple its not useful (IMO) for enterprise programming

Re: [Zope] How to checkout PythonMethod from CVS

2000-11-25 Thread Ender
Milos Prudek wrote: How can I checkout PythonMethod from cvs? I tried to modify the "Zope2" in the following command: cvs -z7 -d :pserver:[EMAIL PROTECTED]:/cvs-repository checkout Zope2 (Zope2/PythonMethod, Zope/PythonMethod, Zope/DC/PythonMethod, Zope/Products/PythonMethod and

Re: [Zope] Python and EJB (J2EE)

2000-11-24 Thread Ender
i've been playing around with servlets (tomcat, jserv, and generally been pretty happy with them. development cycle is a lot slower than zope. i did some prelim work on hooking up jserv to zope but gave up cause the performance generally sucked (jserv is still using apj1.1 which

Re: [Zope-dev] Conflict Errors

2000-11-22 Thread Ender
Chris Withers wrote: i'm no expert but deeply nested data structures in a single object are rife with possibilities for conflict errors. if data might be changing concurrently in the structures or frequently changing you would be better off to switch the structure to nested persistent objects.

Re: [Zope] Search and replace

2000-11-22 Thread Ender
Mario Olimpio de Menezes wrote: On Tue, 21 Nov 2000, Lee Hunter wrote: On the other hand I actually *like* the Zope management interface - in fact, so far I've found it to be very easy to understand and a total pleasure to use. It just doesn't offer some things that I must have -

Re: [Zope] Search and replace

2000-11-22 Thread Ender
tom smith wrote: on 21/11/00 3:05 am, Ender at [EMAIL PROTECTED] wrote: Sadly this is a constraint of zope ide's being browser based (or based on current browsers). I would eagerly like to help out with a project that would like to see this changed. Building such an interface

Re: [Zope] Pseudo E-Mail Address validation

2000-11-22 Thread Ender
Martin Winkler wrote: Hi all, For a subscription tool of a mailing list I'd like to quick-check the e-mail address our users type. Is there a little product/method etc. available that does this? I know that you can only be sure whether an e-mail address exists or not, when you actually

Re: [Zope] Search and replace

2000-11-21 Thread Ender
Daniel Rusch wrote: I have been following this thread with mild amusement. Those of you who don't think that there is any need for a search and replace are being, at the least, disingenuous. Have you never needed to replace a dtml var that is on a hundred or more pages with another one, but

Re: [Zope] Search and replace

2000-11-20 Thread Ender
Lee Hunter wrote: Martin Winkler wrote I just wanted to express that this feature may be too hard to program for the (IMHO) rare cases that we really need it, but IF there its not that hard to program, if you want just want to replace, previewing is a bit difficult, because your asking

Re: [Zope-dev] strange FTP bug

2000-11-16 Thread Ender
Robin Becker wrote: I'm using python's ftplib to automate transfer of my dtml methods back and forth into my ZClasses I seem to be unable to GET a method called 'filtered_meta_types' from /Control_Panel/Procucts/myProduct/myZClass/propertysheets/methods I get instead a permissions

Re: [Zope] How do I form an XML-RPC query to a remote server?

2000-11-16 Thread Ender
Tony McDonald wrote: Hi all, I'm experimenting with collating data from a remote database that uses XML-RPC. I can send it messages like; import xmlrpclib medweb = xmlrpclib.Server("") medweb.getImages('scar') '?xml version="1.0" encoding="ISO-8859-1"

Re: [Zope] Do Zope Haz Templates?

2000-11-15 Thread Ender
Curtis Maloney wrote: On Wed, 15 Nov 2000, Padrino wrote: I Was Serching And looking For Templates and I Was Guessing if Zope really Has It? DTML. Document Template Markup Language. DTML is Zopes templating language. Look at DTML Documents and DTML Methods. Have a better one,

Re: [Zope] Can Zope use a Different Python?

2000-11-11 Thread Ender
Hi i'm not sure exactly whats being asked here. zope on linux doesn't include its own python interpreter. you can choose which one executes zope and its external methods by specifing the interpreter binary in the its quite possible that your installing third party modules into the

Re: [Zope] Bulk Mailing How-To!

2000-11-11 Thread Ender
Wow, this is really cool. nice job. btw. if anyone's interested i wrote a patch to change the mailhost behavior to use a persistent connection to the mta. email me if interested (yes, i submitted a feature/wpatch to the collector). also its good to note that the mailhost doesn't currently

Re: [Zope] Re: DateTime

2000-11-11 Thread Ender
Jerome Alet wrote: On Fri, 10 Nov 2000, Chris Withers wrote: mxDateTime is _not_ the DateTime in Zope. If only it was It's voting season, so I vote +10 for this one. bye, I'll second that +10 kapil ___ Zope maillist - [EMAIL

Re: [Zope] Question about dtml-in

2000-11-05 Thread Ender
Sean McGrath wrote: Hello all, I have a question about the dtml-in tag. When it is iterating over a sequence, and the items in the sequence happen to be tuples containing exactly two items, then dtml-in places the first item from the sequence in sequence-key, and the second item goes in

Re: [Zope] How do I logout?

2000-11-04 Thread Ender
I don't know if there is an elegant way to do this. if i'm the superuser i just try to find a junk method (The QuickStart Tutorial does nicely) and change the text to include the following. (if i'm another user it the same thing applies but i generally create a logout method._ dtml-raise

Re: [Zope] Upscaling of performance

2000-11-02 Thread Ender
has anyone tried the asyncore.c module from to speed up zserver? Kapil "J. Atwood" wrote: 1,000,000 hits is not that much but you can check out the Zope Benchmarks On some good hardware it can handle about 100

Re: [Zope] MailHost: bcc broken ?

2000-11-01 Thread Ender
"Stefan H. Holek" wrote: On Wed, 25 Oct 2000, Gregory Haley wrote: i was one of the participants in the recent discussion of zope bulk mail. i'm wondering about the mechanics of sending the work of the mail to the actual sendmail server outside of zope. would i do that by creating

Re: [Zope] XML-RPC vs External method?

2000-11-01 Thread Ender
if the xml format is simple you could just do it dtml, it would end up with some extra white space but it would still be valid. a dtml method akin to ?xml version="1.0"? dtml-in mysqlretrieve item contentdtml-var content/content squishydtml-var squishy/content /item /dtml-in

Re: [Zope] Zope Book Beta

2000-10-31 Thread Ender
Phil Harris wrote: Give me a few hours and I'll be knocking out the eBook and PDF versions. By the end of the day. Phil Hi Phil, how do you do that? for the pdf are you dumping stuff into reportlab? Kapil - Original Message - From: "Chris Withers" [EMAIL PROTECTED] To:

Re: [Zope] My Items will not show themself in manage_main (objectItems)

2000-10-30 Thread Ender
Max M wrote: I have made a product that inherits: "OFS.ObjectManager.ObjectManager" and so should be able to contain other object. In python any object can be a container, the use of the ObjectManager assists in creating an api and ui for the container's management of objects. I have

Re: [Zope] Reverse SendMail Question

2000-10-26 Thread Ender
[EMAIL PROTECTED] wrote: Has anyone thought of using SendMail (or any other e-mail program) to send e-mail to Zope and have that e-mail be loaded directly into a specific folder (say, based on the e-mail address or subject line)? This would be handy to keep track of e-mail. All the

Re: [Zope] which python gets used ... ?

2000-10-26 Thread Ender
Jonathan Cheyne wrote: Hi, just a quickie idiot question .. Does zope use any of the python on my RH6.2 box or does it use its own copy exclusively? I was trying to install the python xml libraries to try our the hyperdom product. I installed an rpm succesfully before remembering that

Re: [Zope] Displaying non-start values as the first batch seen in a batchprocessing dtml-inprocessing dtml-in

2000-10-26 Thread Ender
Chris Beaumont wrote: Hello, I'm using dtml-in to display a long list of events taken from a SQL table, as part of a calendar, using batch processing, (basically the example from the DTML reference adapted to use direct traversal to fetch the table contents) I want my calendar to be

Re: [Zope-dev] 2 Zopes

2000-10-25 Thread Ender
Andre Schubert wrote: Hi, Can anyone tell me a way to get Zope Objects from the first Zope-Installation to the second. I need this because i have to program a Product to putting data into different Zope Installations from one point of the Web. My boss want this way because he want a

Re: [Zope] Python product - inherittance

2000-10-25 Thread Ender
Petr Knapek wrote: Hi Zopists, I have a problem with inherittance of my publishable python classes. I created in python classA and classB(classA) classA has functionA and classB has functionB. In of my product I register only classB. My problem is that it is not

Re: [Zope] Not grocking RESQUEST.set syntax

2000-10-25 Thread Ender
Noah wrote: I'm still not grocking the syntax for setting REQUEST fields. I want to set a REQUEST field "filename" to be the value returned by a ZSQL call. I want something like this (pseudo-code of what I want): dtml-let FOO=MyFavoiteZSQLMethod dtml-call "REQUEST.set('filename', FOO)"

Re: [Zope] Modifiable local variables

2000-10-24 Thread Ender
Sean McGrath wrote: Hello all, I am trying to use the DTML engine outside of Zope, and would like to be able to create local variables in my DTML documents. Because I have no access to Zope, I can't do REQUEST.set, nor can I use the method shown on

Re: [Zope] using a dictionary returned from an external method

2000-10-24 Thread Ender
Matthew Wilbert wrote: I have some DTML that needs to call an external method that returns a dictionary. I don't have any problem referencing the resulting dictionary by doing something like dtml-var externalMethod()['key1'] dtml-var externalMethod()['key2'] . . However, I need to

Re: [Zope-dev] Unit testing, ZUnit

2000-10-23 Thread Ender
What do people think of this? you get my vote kapil ___ Zope-Dev maillist - [EMAIL PROTECTED] ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope] Looking for short term Zope contractor

2000-10-23 Thread Ender
Hello, i'm an experienced zope/acs developer in Pasadena,CA. my resume to follow. Cheers Kapil Kapil Thangavelu Contact Information: [EMAIL PROTECTED] [EMAIL PROTECTED] 2445 E. Del Mar Apartment 238

Re: [Zope] Looking for short term Zope contractor

2000-10-23 Thread Ender
Doh!, i've gotten far to use to hitting reply all on my emails:) kapil ___ Zope maillist - [EMAIL PROTECTED] ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope] One last request

2000-10-23 Thread Ender
Taco Scargo wrote: I have one unsolved mystery left. What I am trying to do is print the titles from the DTML Documents in the 'artikelen' folder (and actually another property called 'inleiding'. I believe the code below should do this, but it does not work. It returns 'Zope' instead of

Re: [Zope-dev] Excluding meta_types

2000-10-22 Thread Ender
you can redefine the meta_types tuple like so meta_types=({'name':'MessageFilter', 'action':'manage_addMessageFilter'},) btw how is GUM going? kapil "Morten W. Petersen" wrote: When I'm building a class which inherits from the OFS.Folder.Folder, how do I exlude the meta_types it brings

Re: [Zope] Multiple queries in a ZSQL method?

2000-10-22 Thread Ender
multiple non-select statements (max 1 select) are done through the use of dtml-var sql_delimiter kapil Noah wrote: Hi, I'm using MySQL. I need to have a ZSQL Method that does an insert and a select in one call. After I do an insert I need to check the LAST_INSERT_ID to get the primary

Re: [Zope] Creating Object

2000-10-22 Thread Ender
Salvatore DIDIO wrote: Hello, I am new to Zope I've just installed Zope on Linux. I just can't create any object !. I receive the following message : the object can not be owned by the superuser (line 217 in file Could someone help me ? Thank you very much i feel for

Re: [Zope] Problems with sequence-item

2000-10-22 Thread Ender
I thought at first this might be a permission problem, but after browsing around the site. i'm pretty sure its a calling issue. its hard to say for sure given the lack of details. Taco, i'm pretty sure your objectValues on the addressen folder to fill in to fill in the addresses of the artiklen

Re: [Zope] HELP! Permissions problem, ZClass

2000-10-22 Thread Ender
trying giving anonymous proxy roles on the actual add method. Eric Walstad wrote: Help, pls! I have a ZClass that is functioning beautifully if I am logged in, but the anonymous user keeps getting prompted for a password. The problem occurs when my DTML method trys to create a new

Re: [Zope-dev] Object references from dtml

2000-10-20 Thread Ender
Ross Boylan wrote: I have a log composed of sublogs, and so on. I would like for people to be able to see some kind of summary (e.g., short versions of the logs down n levels) on the screen and then click on one of interest and see a fuller display of it. Is there a good way to do this

Re: [Zope-dev] Lists of Objects

2000-10-19 Thread Ender
please don't post html to this zope mailing lists, many people aren't using html email readers Jack Fitzgerald wrote: Hello, I am currently keeping a list of objects sorted in a particular object. I am wondering if anyone has an opinion about whether I should keep just the 'id' in

Re: [Zope] Want to access ZClass Instance from external program

2000-10-18 Thread Ender
Jon Prettyman wrote: Well, I've gotten xmlprclib and fixed it up so I can talk to my server. So far I can retrieve objectIds and retrieve objects via an objectid, but I can't figure out how to get to the property sheets. Here's what I've got: server = Server( ""

Re: [Zope] Want to access ZClass Instance from external program

2000-10-18 Thread Ender
er print "ERROR", v Gives me output, although I'm pretty shure it's not the right thing. Output: title base Both of these are properties of server.EBQ. -jon Ender [EMAIL PROTECTED] writes: Jon Prettyman wrote: Well, I've gotten xmlprclib and fixed it up