Re: [Zope-dev] Zope3 on Google AppEngine

2008-06-01 Thread Kapil Thangavelu
perhaps too late to help with the sprints, but i got zope3 running on app engine last week http://zope3.appspot.com and http://zope3.appspot.com/tests, and blogged about to http://blog.kapilt.com most of zope.app isn't useable due to persistence or containment and security proxies, but page

[Zope-dev] Component registry simplification leftovers

2008-06-01 Thread Kapil Thangavelu
i was setting up a z3 app with a pau utility, and noticed some strange behavior, which tracked down to, the PluggableAuthentication's getPrincipal method, source below. def getPrincipal(self, id): if not id.startswith(self.prefix): next = queryNextUtility(self,

Re: [Zope-dev] Re: [Checkins] SVN: z3c.formjs/branches/pcardune-extjs/ creating a branch to see what I can do about extjs integration.

2008-04-19 Thread Kapil Thangavelu
On Sat, Apr 19, 2008 at 8:11 AM, Martijn Faassen [EMAIL PROTECTED] wrote: Jim Fulton wrote: [snip] can you elaborate with a few more sentences why? I could, but I'd rather not. I suggest reading: http://mjg59.livejournal.com/84586.html if you haven't already. I concur

Re: [Zope-dev] Re: straighting out the SQLAlchemy integration mess

2008-04-10 Thread Kapil Thangavelu
On Thu, Apr 10, 2008 at 1:31 PM, Andreas Jung [EMAIL PROTECTED] wrote: --On 10. April 2008 19:10:49 +0200 Brian Sutherland [EMAIL PROTECTED] wrote: Just adding my few requirements: - Integration into the component architecture in such a way that I can specify the db

Re: [Zope-dev] straighting out the SQLAlchemy integration mess

2008-04-09 Thread Kapil Thangavelu
On Tue, Apr 8, 2008 at 5:54 PM, Martijn Faassen [EMAIL PROTECTED] wrote: Hi there, [I originally picked this up on a thread on zope3-users, but this deserves its own thread here] There are at least three approaches to SQLAlchemy integration with Zope: * z3c.zalchemy (Christian Theune) *

Re: [Zope-dev] Re: straighting out the SQLAlchemy integration mess

2008-04-09 Thread Kapil Thangavelu
On Wed, Apr 9, 2008 at 9:15 AM, Laurence Rowe [EMAIL PROTECTED] wrote: The transaction manager here: http://svn.plone.org/svn/collective/collective.lead/branches/elro-tpc/collective/lead/tx.py Has support for TPC and savepoints. It is tested and works. The only issue with sqlite is that

Re: Exposing a the simple publisher (Re: [Zope-dev] Re: Reducing dependencies of zope.publisher)

2008-03-26 Thread Kapil Thangavelu
On Tue, Mar 25, 2008 at 9:19 AM, Jim Fulton [EMAIL PROTECTED] wrote: On Mar 25, 2008, at 5:25 AM, Martijn Faassen wrote: Security proxies: this topic may not be directly publisher related, It's not. but maybe it is. Nope. :) Somewhere quite low in the request handling of Zope 3 a

Re: [Zope-dev] Zope 3 without ZODB

2008-02-12 Thread Kapil Thangavelu
try ore.wsgiapp in pypi, you provide a root utility and traversal begins from there, the zodb is never opened. the default publication looks up the app root via utility and traversal continues from there. i've been using it successfully for a number of relational apps without the zodb. hth, kapil

Re: [Zope-PAS] proposal: IUserAdder plugins

2007-05-05 Thread Kapil Thangavelu
On Fri, 04 May 2007 14:54:59 -0400, Miles [EMAIL PROTECTED] wrote: I seem to be generating a sizable proportion of the traffic on this list! Apologies in advance for another email... My use case is as follows: I have a zope website, a php forum and blog that make up my site, each with

Re: [Zope-dev] Re: Killer App for ZClasses

2007-04-25 Thread Kapil Thangavelu
On Wed, 25 Apr 2007 16:13:43 -0400, Andreas Jung [EMAIL PROTECTED] wrote: --On 25. April 2007 21:51:24 +0200 Dieter Maurer [EMAIL PROTECTED] wrote: In your (stripped away) example, I saw lots of magic (e.g. grok.context, grok.name, @grok.action). But readable and comprehensible

Re: [Zope-PAS] Re: PlonePAS using SQL get AttributeError

2007-04-19 Thread Kapil Thangavelu
On Thu, 19 Apr 2007 08:16:25 -0400, Sidnei da Silva [EMAIL PROTECTED] wrote: On 4/19/07, Wichert Akkerman [EMAIL PROTECTED] wrote: Previously Sidnei da Silva wrote: Lets rephrase this: is the problem you see that the site user folder (which will be a PAS) issues a challenge, which results in

Re: [Zope-PAS] Re: PlonePAS using SQL get AttributeError

2007-04-19 Thread Kapil Thangavelu
On Thu, 19 Apr 2007 08:33:16 -0400, Sidnei da Silva [EMAIL PROTECTED] wrote: On 4/19/07, Wichert Akkerman [EMAIL PROTECTED] wrote: But you can get that even with PAS if you change the challenger in your site PAS. For example if I configure my site to only allow OpenID logins you can no

Re: [Zope-PAS] PlonePAS using SQL get AttributeError

2007-04-18 Thread Kapil Thangavelu
my understanding is that part of the reason this was done, was laziness, on the part of the integrators, who didn't want to deal with the issues of having non pas users from the root acl browsing a plone site, and conditionally dealing with those the users within the plone code. i agree

[Zope-PAS] zope3 schemas and pas properties plugin

2007-04-04 Thread Kapil Thangavelu
hi folks, i put together a zope3 schema based property provider, with plone ui integration using formlib forms, which might be of use (ZPL2.1) more info and code at, https://svn.objectrealms.net/svn/public/ore.member/trunk/src/ore/member/readme.txt cheers, kapil

Re: [Zope-PAS] plone and openSSO

2006-09-10 Thread Kapil Thangavelu
i had to do this a few months back before sam went opensource. i relied on the apache agent to do auth, and had it pass the authenticated user name and groups in the request environment. the pas plugin for this (really just a generic pass through plugin) is available here. svn co

Re: [Zope-PAS] auth fallback with cookies

2005-08-07 Thread Kapil Thangavelu
make the cookie auth plugin push form credentials into the the request as basic auth headers ala cookie crumbler. -k On Jul 26, 2005, at 4:09 PM, J Cameron Cooper wrote: Say I have a user in a root acl_users folder (call it 'admin'). I also have a PAS user folder in a sub-object of the root.

Re: [Zope-dev] Product doesn't work in zope 2.7 that was working in 2.6

2004-10-16 Thread Kapil Thangavelu
this has nothing to do with zope. the problem is due to the severe monkey patching, use of eval, and other bad practices in this product. its monkey patched attributes into zcatalog and in doing so altered the modules namespace, replacing the id function with a string. which leads to the error,

Re: [Zope-dev] Re: inconsistent mimetype assignment for uploaded files

2004-10-11 Thread Kapil Thangavelu
i believe you were referring to http://freedesktop.org/Software/shared-mime-info spec http://freedesktop.org/Standards/shared-mime-info-spec its a system wide shared mime database for use by applications (ie. both gnome and kde). apparently no python bindings. -kapil On Tue, 2004-10-05 at

[Zope-dev] Re: [Zope3-dev] RE: [ZODB-Dev] Subversion repository layout

2004-04-27 Thread Kapil Thangavelu
On Tue, 2004-04-27 at 10:27, Martijn Faassen wrote: Kapil Thangavelu wrote: sigh.. debating over what the book says isn't very productive. my conclusions at the end of my previous email, namely that what this layout will accomplish for the zopeorg repository in terms of avoiding

[Zope-dev] RE: [ZODB-Dev] Subversion repository layout

2004-04-26 Thread Kapil Thangavelu
On Mon, 2004-04-26 at 15:48, Tim Peters wrote: [Jim] The standard subversion repository layout is by project: proj1 /trunk /branches /br1 /br2 ... /tags /tag1 /tag2

[Zope-dev] RE: [ZODB-Dev] Subversion repository layout

2004-04-26 Thread Kapil Thangavelu
On Mon, 2004-04-26 at 22:30, Tim Peters wrote: [Kapil Thangavelu] ... I like the layouts Jim's presented (specifically #2 of 3), i think when considering the subversion docs, the important distinctions are made between the directories used for branches and tags, as long

Re: [Zope-dev] order of transaction aborts

2004-04-20 Thread Kapil Thangavelu
shared/dc/zrdb/tm does not hijack the transaction mechanism it integrates with it. you should coalesce txn integration for your objects into a single txn integrator so you needn't depend on transaction message/jar ordering. -kapil On Tue, 2004-04-20 at 11:35, [EMAIL PROTECTED] wrote: Is there

RE: Zope + Ape + Subversion (was: RE: [Zope-dev] Using a truely r evis ion based storage for Zope ?)

2004-04-19 Thread Kapil Thangavelu
On Mon, 2004-04-19 at 13:33, Shane Hathaway wrote: On Sun, 18 Apr 2004, Kapil Thangavelu wrote: should we move this discussion to an ape specific mailing list? I'm happy with zope-dev and zodb-dev, but if there's a good reason to make a new list, that's fine. its a knowledge discovery

RE: Zope + Ape + Subversion (was: RE: [Zope-dev] Using a truely r evis ion based storage for Zope ?)

2004-04-18 Thread Kapil Thangavelu
On Wed, 2004-04-14 at 10:04, [EMAIL PROTECTED] wrote: Kapil, Right now, the svn transactions are entirely contained within a single fileops operation: for example a mkdir connects to a transaction root, performs the necessary operations, and commits, all in one shot. ok, thats what about

RE: Zope + Ape + Subversion (was: RE: [Zope-dev] Using a truely r evis ion based storage for Zope ?)

2004-04-18 Thread Kapil Thangavelu
:) -Original Message- From: Kapil Thangavelu [mailto:[EMAIL PROTECTED] Sent: April 14, 2004 6:49 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: Zope + Ape + Subversion (was: RE: [Zope-dev] Using a truely r evis ion based storage for Zope ?) On Tue, 2004-04-13 at 20:53

RE: Zope + Ape + Subversion (was: RE: [Zope-dev] Using a truely r evis ion based storage for Zope ?)

2004-04-18 Thread Kapil Thangavelu
On Wed, 2004-04-14 at 19:14, Shane Hathaway wrote: On Wed, 14 Apr 2004 [EMAIL PROTECTED] wrote: My initial, uneducated thoughts on the topic were simplistic, but then I'm a big K.I.S.S. fan: simply pickle the entire object back and forth as one entity. This means for each object, there

RE: Zope + Ape + Subversion (was: RE: [Zope-dev] Using a truely r evis ion based storage for Zope ?)

2004-04-18 Thread Kapil Thangavelu
it requires a schema set for commonly defined properties which beyond the zope core properties are application specific. i wouldn't worry about to well into the future. -kapil J.F. -Original Message- From: Kapil Thangavelu [mailto:[EMAIL PROTECTED] Sent: April 14, 2004 6:51 AM

RE: Zope + Ape + Subversion (was: RE: [Zope-dev] Using a truely r evis ion based storage for Zope ?)

2004-04-18 Thread Kapil Thangavelu
On Thu, 2004-04-15 at 00:16, [EMAIL PROTECTED] wrote: Oh, a very good idea indeed! We'll have to look at that eventually. The mechanism you describe is preferable, but it should be noted that subversion properties are easily accessible using the clients. So long as said properties are

RE: Zope + Ape + Subversion (was: RE: [Zope-dev] Using a truely r evis ion based storage for Zope ?)

2004-04-17 Thread Kapil Thangavelu
On Wed, 2004-04-14 at 19:28, Shane Hathaway wrote: In Subversion, is it possible to read/write a versioned object by unique identifier rather than by path? If so, it's a great blessing and we don't need a transaction script. not really, yes every svn node has an a node id, but there is no

RE: Zope + Ape + Subversion (was: RE: [Zope-dev] Using a truely r evis ion based storage for Zope ?)

2004-04-14 Thread Kapil Thangavelu
On Tue, 2004-04-13 at 20:53, [EMAIL PROTECTED] wrote: Hello, Hmmm, well it's as stable as Ape and Subversion are respectively :) I wouldn't call it stable no, it's something I did over the long week-end we just had, and that's about it :) Ape is at 0.8 and therefore becoming quite

RE: Zope + Ape + Subversion (was: RE: [Zope-dev] Using a truely r evis ion based storage for Zope ?)

2004-04-14 Thread Kapil Thangavelu
On Tue, 2004-04-13 at 22:46, Shane Hathaway wrote: On Tue, 13 Apr 2004 [EMAIL PROTECTED] wrote: Thanks for the extra tips, I'll check out those interfaces! I'm also getting up to speed on the whole mapper concept, where the work regarding properties handling seems to be ? Ape supports

Re: Zope + Ape + Subversion (was: RE: [Zope-dev] Using a truely revis ion based storage for Zope ?)

2004-04-14 Thread Kapil Thangavelu
On Tue, 2004-04-13 at 12:01, Shane Hathaway wrote: On Tue, 13 Apr 2004, Kapil Thangavelu wrote: since objects modified in a version are in essence locked from participating in other transactions, actions like modifying content in a version in a cmf site amounts to locking the catalog

Re: Zope + Ape + Subversion (was: RE: [Zope-dev] Using a truely revis ion based storage for Zope ?)

2004-04-14 Thread Kapil Thangavelu
in Plone. Thanks Arthur On Tue, 13 Apr 2004 04:06:26 -0400, Kapil Thangavelu wrote On Mon, 2004-04-12 at 18:03, [EMAIL PROTECTED] wrote: G'Day, Well, step one is done ... I now have Zope + Ape using Subversion as it's filesystem !! cool! This is step one because

Re: [Zope-dev] Re: [Zope3-dev] Zope and zope

2004-04-14 Thread Kapil Thangavelu
On Wed, 2004-04-14 at 09:00, Jim Fulton wrote: The first question is: Is it a problem to have two packages with names differing only in case? snip Perhaps we can get more input on whether there's a problem. A response with a positive sign (e.g. +1, +0, +2, ...) indicates agreement

Re: [Zope-dev] Re: [patch] More secure cookie crumbler?

2004-04-13 Thread Kapil Thangavelu
fwiw, Simon Eisenmann checked in a SessionStorage product into the collective which does much the same. released under the zpl http://cvs.sourceforge.net/viewcvs.py/collective/SessionCrumbler/ -kapil ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: Zope + Ape + Subversion (was: RE: [Zope-dev] Using a truely revis ion based storage for Zope ?)

2004-04-13 Thread Kapil Thangavelu
On Mon, 2004-04-12 at 18:03, [EMAIL PROTECTED] wrote: G'Day, Well, step one is done ... I now have Zope + Ape using Subversion as it's filesystem !! cool! This is step one because, as Shawn suggested (Thanks for the pointer, that's what I needed!), this simply means that Zope uses SVN

[Zope-dev] Re: Proposal: Move to subversion for source code control of the Zope and ZODB projects

2004-04-12 Thread Kapil Thangavelu
fwiw, i've been able to get good results at migrating the plone repository and branches using the refinecvs migration script http://lev.serebryakov.spb.ru/refinecvs/ the cvs2svn script included with subversion had several issues with branches, although it was a few months ago (prior to svn 1.0)

Re: [Zope-dev] ZODB with twisted web.

2004-04-04 Thread Kapil Thangavelu
On Fri, 2004-04-02 at 17:37, Dieter Maurer wrote: Syver Enstad wrote at 2004-4-2 11:38 +0200: I am checking out how to use ZODB with twisted web. I thought that I would have the DB instance globally accesible and call the open method to get a connection on each request. I thought that if I use

Re: [Zope-dev] strange path

2004-03-20 Thread Kapil Thangavelu
most likely Concepto object id is not being set properly. this question should be addressed to [EMAIL PROTECTED] this list is for the development *of* zope itself not development with zope. -kapil On Sat, 2004-03-20 at 10:51, Garito wrote: Hi on a ZPT I put a here/absolute_url and these

Re: [Zope-dev] Question about _v_ attributes and database connections

2004-03-11 Thread Kapil Thangavelu
fwiw, i think this is a viable solution (although you should not only scope connections to thread local but to da paths in the module level global) as there are problems with zope and das going away because of their volatiles.. it can lead to strange behavior, like say your in the midst of a long

RE: [Zope-dev] Serving big files thru zope?

2004-03-04 Thread Kapil Thangavelu
you could play with http://puggy.symonds.net/~srp/stuff/mod_auth_remote/ and have apache auth off zope. cheers, -kapil On Mon, 2004-03-01 at 11:06, Sandor Palfy wrote: I am also wondering about the security aspects of bypassing Zope to serve files - acess to some of the files we need to

Re: [Zope-dev] Custom class: cut,copy,rename?

2004-03-04 Thread Kapil Thangavelu
On Mon, 2004-03-01 at 13:59, Ian Beatty wrote: Greetings. I've created a package in Python with some basic classes. They work in the ZMI, except for the fact that the ZMI paste and rename functionality fails with the message The object xxx does not support this operation. I've dug into

Re: [Zope-dev] Non Bloating Page Counter

2002-11-08 Thread kapil thangavelu
On Friday 08 November 2002 01:55 pm, Dieter Maurer wrote: Brian R Brinegar writes: We've had requests from several of our users for the ability to have a drop in page counter within zope. However creating a page counter python script which increments some value in zope will bloat the

Re: [Zope-dev] User Module

2002-11-07 Thread kapil thangavelu
first, these questions are better directed at [EMAIL PROTECTED], this list is for discussion for development of the zope server, not development on zope. second, another good resource, the #zope irc channel on openprojects is a wealth of friendly helpful people. -kapil On Thursday 07 November

[Zope-dev] 2.6 MIA

2002-07-23 Thread kapil thangavelu
whats the release plan for 2.6? is it time for another alpha/beta release? curious, kapil ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope-dev] DirectoryViews for Zope2.6?

2002-06-05 Thread kapil thangavelu
, but they are included with the distro. -kapil Robert - Original Message - From: kapil thangavelu [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 30, 2002 3:09 AM Subject: [Zope-dev] DirectoryViews for Zope2.6? hi folks, i was wondering if there is interest (or possiblity

[Zope-dev] DirectoryViews for Zope2.6?

2002-06-04 Thread kapil thangavelu
hi folks, i was wondering if there is interest (or possiblity) of including directory views in zope2.6. i've been using them for team development with zope, and i've come to think their a fantastic dev. method in combination with cvs. any takers? cheers kapil

Re: [Zope-dev] putting the 'two' back in tpc

2002-06-04 Thread kapil thangavelu
+1 for adding _vote() to TM.py all XAs/DMs should have voting privleges, even if they don't exercise such. the default behavior should be due to nothing, for as with people in a democracy most tm subclasses won't vote. -kapil On Tuesday 04 June 2002 12:54 pm, Leonardo Rochael Almeida wrote:

Re: [Zope-dev] python question

2002-04-27 Thread kapil thangavelu
On Saturday 27 April 2002 08:44 am, Andy McKay wrote: Look at pydoc http://www.google.ca/search?q=pydochl=enmeta= last i tried it, pydoc has issues with some zope stuff, its also distracting and educational to realize how much support stuff zope mixins... happydoc is a nice tool that differs

Re: [Zope-dev] How about a Bug Day this Friday?

2002-04-08 Thread kapil thangavelu
On Monday 08 April 2002 12:40 pm, Brian Lloyd wrote: Hi all - A while back I posted a summary of the semi-regular bug days we'd like to start having: http://dev.zope.org/CVS/BugDays We are planning to have the inaugural bug day this Friday (April 12th) from around 9 a.m. US /Eastern

[Zope-dev] Re: [Zope] isecure XML-RPC handling.

2002-04-02 Thread kapil thangavelu
he's testing against zope.org and the traceback is enclosed html comments, which probably does mean it is debug mode. as for the concerns... i leave that to others. -k On Tuesday 02 April 2002 12:18 pm, Chris McDonough wrote: You are running Zope in debug mode (with the -D switch in the

Re: [Zope-dev] Underscore trouble.

2002-03-12 Thread kapil thangavelu
rename your columns in the select statement, this question belongs on [EMAIL PROTECTED] -kapil On Tuesday 12 March 2002 03:23 am, Romain Slootmaekers wrote: Yo, We have to connect to an existing database from zope. In this database, some of the fieldnames start with an underscore (fi

Re: [Zope-dev] Help System Searches

2002-03-11 Thread kapil thangavelu
would it make sense to make the help system still allow searching but do storage in a mounted zodb ? cheers kapil On Saturday 09 March 2002 10:55 am, Chris McDonough wrote: There is no way to fix this? What other problems are there with the help system? Not that I can think of.

[Zope-dev] Transaction Bugs

2002-03-11 Thread kapil thangavelu
previously experiencing problems. if this does not solve your problem, and you believe its the fault of the transaction system, please email me. i don't use an rdbms with zope, but i'm happy to further investigate. cheers kapil thangavelu ___ Zope-Dev

Re: [Zope-dev] Zope 2.6 planning - call for contributors!

2002-03-06 Thread kapil thangavelu
On Wednesday 06 March 2002 04:58 am, Joachim Werner wrote: Hi! What I'd expect from Zope 2.6 depends a bit on when Zope 3 will be available. If we are talking about a couple of months, I'd prefer only having bug fixes in 2.5.x (and no 2.6 at all). If we are talking about more than half a

Re: [Zope-dev] Re: [ZODB-Dev] Replacing bobobase_modification_time

2002-01-08 Thread kapil thangavelu
On Tuesday 08 January 2002 06:47 am, Chris McDonough wrote: I think that a much better approach, if modification time is important to your application, is to store the application modification time in the object as a data attribute. It might be better to cause common Zope objects to do

Re: [Zope-dev] Re: [Zope] [Bug] bobobase_modification_time unreliable to catalog

2002-01-07 Thread kapil thangavelu
On Monday 07 January 2002 06:20 am, Casey Duncan wrote: On Saturday 05 January 2002 08:15 pm, kapil thangavelu allegedly wrote: On Sunday 30 December 2001 08:00 pm, Casey Duncan wrote: This behavior is logical if unintuitive. I propose that we can kill two birds with one stone to fix

Re: [Zope-dev] Re: [Zope] [Bug] bobobase_modification_time unreliable to catalog

2002-01-06 Thread kapil thangavelu
On Sunday 30 December 2001 08:00 pm, Casey Duncan wrote: This behavior is logical if unintuitive. I propose that we can kill two birds with one stone to fix this: - Add a new method perhaps: getModificationTime() to the API of SimpleItem or even Persistent that returns the ZODB

Re: [Zope-dev] References, persistence, BTrees

2002-01-05 Thread kapil thangavelu
Hi jeffrey, perhaps it might save you a bit of trouble. i've written a publish/subscribe event channel that seems to have must of the functionality listed below although it does use the techniques that you wanted to avoid. its at http://www.zope.org/Members/k_vertigo/Products/EventChannel at

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-11 Thread kapil thangavelu
On Thursday 11 October 2001 03:30 am, Itamar Shtull-Trauring wrote: kapil thangavelu wrote: twisted is GPL and zope is not gpl compatible and that does not appear to be changing despite some mention from zc about trying to achieve compatiblity. Twisted is LGPL, and it might be possible

Re: [Zope-dev] ZPL2.0

2001-10-11 Thread Kapil Thangavelu
Only a little bit more arm twisting needs to be done in order for RMS to approve ZPL 2.0 as GPL compatable. We're very close, it's just sometimes, tricky to get a straight answer when speaking in legal terms. and there was much rejoicing:) seriously, i'll buy a round for those involved

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread kapil thangavelu
On Wednesday 10 October 2001 08:09 am, Michel Pelletier wrote: Just to throw out another idea, Amos has discussed with me in the past the idea of replacing medusa with Apache 2.0. Compelling as many of Twisted's features may be, Apache 2.0 as far as i can tell supports many of them as well

[Zope-dev] [ann] developer tools

2001-10-02 Thread kapil thangavelu
://www.zope.org/Members/k_vertigo cheers kapil thangavelu ___ 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

Re: [Zope-dev] Web Services for Zope

2001-09-27 Thread kapil thangavelu
On Wednesday 26 September 2001 04:41 pm, Andy McKay wrote: trying-to-auto-generate-a-wsdl-from-my-product'ly yours they're is a python script/product on ibm.com/developer that will automate much of the wsdl generation or you. its linked from one of uche's web services articles. its under the

Re: [Zope-dev] Web Services for Zope

2001-09-27 Thread kapil thangavelu
was ever going to see the light of day or if there was another strategy that would work as well. curious, kapil thangavelu ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding

[Zope-dev] pluggable indexes and ranking

2001-09-14 Thread kapil thangavelu
i've hooked up some external indexing machinery to zcatalog via a pluggable index. i get backed ranked results and i'd like not to loose the ranking info, but i don't know how to return a result set that preserves this information. any ideas? -kapil

[Zope-dev] exceptions on windows

2001-09-14 Thread kapil thangavelu
i've always been curious why zope on windows with a bundled python seems to have problems with finding the standard lib exceptions. does anyone know why? for example from exceptions import SyntaxError class MySyntaxErr(SyntaxError): pass in a product generates an import error. (i last

Re: [Zope-dev] Using Zope-modules in Python

2000-10-18 Thread Kapil Thangavelu
Thomas Weholt wrote: Hi, I want to use some Zope-modules in plain Python, no web-stuff, namely ZODB and Persistence (maybe others too ). I've installed BeOpen Python 2.0 and Zope 2.2.2. I want to import the Zope-modules, but adding the C:\Program Files\WebSite\lib\python-folder to

Re: [Zope] Mozilla-back button

2000-10-18 Thread Kapil Thangavelu
[EMAIL PROTECTED] wrote: To support Mozilla I'd like to switch to M18, but in the Zope-Management-Interface the back-button doesn't seems to work. What am I missing?? mozilla not handling frames and history correctly... i think the latest nightly does it properly. kapil

Re: [Zope] How about removing broken things like Confera and ZDiscussions?

2000-10-18 Thread Kapil Thangavelu
Cary O'Brien wrote: Why are things like ZDiscussions and Confera even on the zope download pages? They don't work! It would be better if they were moved to a section called "Things that worked once but aren't being maintained so they don't work any more". Otherwise people starting out

Re: [Zope] Problems with PoPy 1.4 ZPoPyDA 0.7

2000-10-17 Thread Kapil Thangavelu
hi dustin your probably not running the same python interpreters. check your start shell script and see which python interpreter its using and compare it to (i'm kinda of assuming your're on a *nix system) which python they probably aren't the same. just edit the start script accordingly.

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

2000-10-17 Thread Kapil Thangavelu
Jon Prettyman wrote: I have a folder containing a bunch of ZClass instances that I want to access from an external (non-web) python application. I need to be able to read the values of the instance properties. Is there a way to do this with the ZClient stuff? If not, what can I use.

Re: [Zope] strange dtml-sendmail problem

2000-10-17 Thread Kapil Thangavelu
Erik Myllymaki wrote: This is a DTML_Method I call from my standard_error_message: dtml-sendmail mailhost="MailHost" To: Webmaster dtml-var webstaff From: ZopeServer dtml-var zopeserveraddress Subject: Problem at dtml-var URL Error Type: dtml-var error_type Error Value: dtml-var

Re: [Zope] List from another list in DTML?

2000-10-16 Thread Kapil Thangavelu
Alexander Chelnokov wrote: Hello All, A form contains data items ['firstname','secondname','dofb' etc] and some "service" fields ['submit','sid','form','nform']. With REQUEST.form.items() all these fields are included in a single list. How can another list be created from the list which

Re: [Zope] NEWBIE: assign next free ID automatically

2000-10-16 Thread Kapil Thangavelu
ola, the below will should work fine, although the _string.atoi is unesc since you can just use 0, or 1 by itself inside "" and have it treated as an int and its a bit inefficient to use objectValues over objectIds (list of objects vs. list of strings) although it saves you from having to do a

Re: [Zope] image attachments in dtml-sendmail and dtml-mime

2000-10-16 Thread Kapil Thangavelu
Matt wrote: I have benn having a problem with attaching images to a dtml-sendmail. The following is my dtml code : dtml-sendmail mailhost="MailHost" To: Feedback Recipient [EMAIL PROTECTED] From: Zope Feedback Form [EMAIL PROTECTED] Subject: Feedback from the web Feedback from :

Re: [Zope] image attachments in dtml-sendmail and dtml-mime

2000-10-16 Thread Kapil Thangavelu
spoke to soon.. replace dtml-var "paris" with dtml-var "paris.data" Kapil Matt wrote: I have benn having a problem with attaching images to a dtml-sendmail. The following is my dtml code : dtml-sendmail mailhost="MailHost" To: Feedback Recipient [EMAIL PROTECTED] From: Zope Feedback

Re: [Zope] I want to use html_quote as a function

2000-10-16 Thread Kapil Thangavelu
Hello, "Ryan M. Dolensek" wrote: try... dtml-call "REQUEST.set('htmldesc',utils.httpEscapedString(REQUEST['description']))" huh??, what is this, i'm not aware of anything resembling this being in zope's core, i think you are using some type of custom lib. if not i'd like to hear about

Re: [Zope] object properties

2000-10-14 Thread Kapil Thangavelu
Matt wrote: Can someone give me an example, either in dtml or external methods of accessing or listing the properties of the current object I am calling a method on. Or point me to a source Matt Bion you can ask an object what properties it has and retrieve them through dtml, like

Re: [Zope] object properties

2000-10-14 Thread Kapil Thangavelu
Matt wrote: Thanks for your response. I tried your methods on a normal folder that contains some other folders, dtmldocuments, and images, but it failed on the dtml-let sheet=sequence-item which followed the dtml-in "propertysheets.items()". i made a simple error. this code is tested

Re: [Zope] date comparison

2000-10-11 Thread Kapil Thangavelu
michael angelo ruberto wrote: i want to create an index page that displays whether or not a page has been updated in the past 7 days or the past 20 days. however, i can't figure out how to get the bobobase_modification_date to compare with ZopeTime. can someone give me a clue before i rush

[Zope-dev] MailHost Improvements

2000-10-09 Thread Kapil Thangavelu
There has been intermittent talk of improving mailhost's ability to scale. i just wanted to solicit some comments to some ideas for improving mail host performance. Stage I. Persistent Socket 1. make the smtp connection persistent 2. preface sending mail with a 'noop' operation to verify

Re: [Zope-dev] Re: [Zope] Container Class questions

2000-10-08 Thread Kapil Thangavelu
Dieter Maurer wrote: Robin Becker writes: I would like to add properties in a property sheet, but cannot find a neat way to see the properties on the base object and on the propertySheet. So I would like my properties to show id title and the properties on my basic

Re: [Zope] Underscore Caracter

2000-10-07 Thread Kapil Thangavelu
Chris McDonough wrote: Yes. Thank you. Note however that methods of modules accessed via the underscore namespace may be filtered individually, so although 'replace' exists as a method of the Python string module, this does not necessarily make it accessible implicitly through Zope via

Re: [Zope] sudden ZClass breakage

2000-10-06 Thread Kapil Thangavelu
Timothy Wilson wrote: Hi everyone, I've been working away on a ZClass-based product that will provide a searchable job board for our Human Resources Dept. here at school. Things were going along fine until, it seemed, out of the blue I started getting an error message about an "Invalid

Re: [Zope] Java equivalent to WorldPilot?

2000-10-06 Thread Kapil Thangavelu
Hung Jung Lu wrote: Hi, Does anyone know any Java software (commercial or not) that is equivalent to WorldPilot? regards, Hung Jung take a look at the java.apache.org projects. relevant ones james (mailet server) jetspeed (icalendar functionality and content feeds in a portal

Re: [Zope] Detecting Roles not working

2000-10-04 Thread Kapil Thangavelu
Jonathan Cheyne wrote: Hi all I have built the basis of a site with full, form-based webediting of objects. Coming round to cleanup time and I wanted to remove certain visible functions from the default object views unless you have already logged in (with various possible roles) in

Re: [Zope] WDDX anyone?

2000-10-04 Thread Kapil Thangavelu
Albert Boulanger wrote: Has anyone considered WDDX for Zope? This seems like a nice next step to exchanging data beyond RSS, but not as ambitious as SOAP and has SDKs for CF, perl, etc. I have some applications in mind for intranet syndication that goes beyond what RSS can do. Also

Re: [Zope] IMAP and Zope!

2000-10-03 Thread Kapil Thangavelu
Joachim Werner wrote: Hello! I am searching for a current IMAP Adapter solution for Zope. What we have found so far is Ryan Hughes' WorldPilot, which has great IMAP support, but doesn't really integrate with Zope, and the two products "NotMail" and "IMAP Adapter" on the classic Zope

[Zope-dev] two-phase-commit question

2000-09-29 Thread Kapil Thangavelu
ZOPE_HOME/lib/python/Shared/DC/ZRDB/TM.py Glancing over the Transaction TM mixin class... i noticed a line commit=tpc_abort=tpc_begin i can understand tpc_begin=commit, but the abort seems strange. if an abort happens in the two phase commit the equality doesn't make sense to me. whats going

[Zope-dev] ZModules - A loaded gun

2000-09-28 Thread Kapil Thangavelu
i wrote up an interface to allow for module registration in the dtml namespace, _ its got major caveats, but it might be useful for some. at the moments its just a stop gap till the new python methods come along. at the moment if just allows for people to write more code in dtml:( or ttw python

Re: [Zope] PyGreSQLDA

2000-09-27 Thread Kapil Thangavelu
"Bak @ kedai" wrote: ZPYGre is not threadsafe, so with it and all non-threadsafe da's zope uses a lock around access. (Thunked.py) The solution is to just use multiple DA connections and let postgres sort out the concurrency issues. i'm not clear about "use multiple DA

Re: [Zope] BTreeFolder (easy?) questions

2000-09-27 Thread Kapil Thangavelu
Dennis Nichols wrote: 1. Can I blithely use BTreeFolder in place of Folder without loss of functionality? afaik, yes. btreefolders subclass from folders and reimplement the setOb, getOb methods of a folder and the __getattr__ method, ie they have the same external interface. 2. Can I

Re: [Zope] PyGreSQLDA

2000-09-26 Thread Kapil Thangavelu
"Leichtman, David J" wrote: Has anyone had significant speed issues using the PyGreSQLDA? It seems like I'm only getting one DB connection at a time. Is this an issue with the DA, with Zope, or am I doing something wrong? I have a pgsql db running just fine, and in Zope I have a connection

Re: [Zope] Re: Download Problem

2000-09-26 Thread Kapil Thangavelu
Shane Hathaway wrote: Suzette Ramsden wrote: I have had this same problem downloading squishdot zip files and I don't know if it is something I am doing. When I attempt to unzip the file, I keep getting: "error reading header after processing 0 entries" What archiver are you

Re: [Zope] Dynamically render DTML?

2000-09-17 Thread Kapil Thangavelu
"Mark N. Gibson" wrote: Is it possible to return dtml from python, and have it rendered correctly on the page? for example, the python might look like this... def get_header(somevar=1): if somevar==1: return 'dtml-var standard_html_header' else: return 'dtml-var

Re: [Zope] are there any known memory leaks in Zope 2.2.1?

2000-09-12 Thread Kapil Thangavelu
Skip Montanaro wrote: I'm experiencing bad memory leaks in my ZServer-based system. I recently upgraded from 2.0.0 to 2.2.1. I didn't have leakage using 2.0.0 - certainly nothing like I'm seeing it now. When I call the same method (same parameters as well) over and over, I pretty

Re: [Zope] Zope and the GPL poison pill

2000-09-12 Thread Kapil Thangavelu
Karl Anderson wrote: Correct me if I'm wrong (and don't bother with the discussion on the merits or non- of the GPL, I don't care in this context), but: In order to link/incorporate a GPL'd module, you have to be able to distribute the entire work under the GPL. RMS says that the ZPL

Re: [Zope] keeping Java Servlets session ids based on url rewriting

2000-09-09 Thread Kapil Thangavelu
albert boulanger wrote: I am using the latest Zope release using ZServer directly (but will be running under Apache) I need to coordinate Zope based sessions and servelet sessions. We will be using url rewriting (I know use cookies, but we are doing worst case planning.). As you may

Re: [Zope] Renderable Base Class ???

2000-09-05 Thread Kapil Thangavelu
Brian Withun wrote: I'd read some discussion dating back to last year about a the concept of a Renderable Base ZClass; something that would allow a ZClass to be called like dtml-var "myClassInstance" Have there been any developments along this line, or any plans to incorporate the idea

  1   2   >