[Zope-dev] wsgi/paste pipelines in Zope 2 or 3?

2006-09-28 Thread Brad Clements
it? Thanks (ps, I have something like xslfilter, but using wsgi and libxml2 and also an XSL version of TAL/METAL that I'd like to use in Zope) -- Brad Clements,[EMAIL PROTECTED](315)268-1000 http://www.murkworks.com AOL-IM or SKYPE: BKClements

Re: [Zope-dev] Making a ZSQL.DA fully multi-threaded?

2004-07-26 Thread Brad Clements
think this is why the thread has gone on so long. I'm ONLY talking about idle timeout drops, and nothing else. gvibDA and sapdbi make a distinction between idle timeout disconnects and others, since they know when the server has dropped them due to inactivity. -- Brad Clements

Re: [Zope-dev] Making a ZSQL.DA fully multi-threaded?

2004-07-23 Thread Brad Clements
? Remember, I'm talking about the DA catching connectioned timed out due to idle activity, and no other DB exceptions. -- Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax http://www.wecanstopspam.org

Re: [Zope-dev] Making a ZSQL.DA fully multi-threaded?

2004-07-23 Thread Brad Clements
performs an automatic abort on connection close The former modification cannot be lost because it was commited by the DA as part of the previous transaction. At least, gvibDA performs a database commit as part of the overall transaction machinery. So again, I don't see the loss.. -- Brad

Re: [Zope-dev] Making a ZSQL.DA fully multi-threaded?

2004-07-21 Thread Brad Clements
minutes of starting zope with more than 1 thread, way less than the timeout time. Either that or restructure the DA like I did for ZOracleDA ;-) I want to do that. Hope my client will pay for it ;-) -- Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com

Re: [Zope-dev] Making a ZSQL.DA fully multi-threaded?

2004-07-19 Thread Brad Clements
On 19 Jul 2004 at 7:44, Chris Withers wrote: Brad Clements wrote: What's the actual problem you're experiencing? I have set the SAPDB timeout to 32400 seconds. Unless you have an extremely heavily loaded Zope, that's too low, and may be causing you problems... That is the maximum

[Zope-dev] UnpickleableError using SESSION in 2.7.2RC1

2004-07-19 Thread Brad Clements
somehow. From this script I tried SESSION['user_details'] = I.aq_base But I got an attribute error, possibly that's a security thing hiding aq_base. Is there any way to store an instance in a SESSION? -- Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com

[Zope-dev] APE and .svn folders, broke ZMI

2004-07-19 Thread Brad Clements
object name: The above traceback occured, for example, when trying to create a file object called 'xyz'. -- Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax http://www.wecanstopspam.org/ AOL-IM

Re: [Zope-dev] Making a ZSQL.DA fully multi-threaded?

2004-07-16 Thread Brad Clements
extension to ZopeDA's to allow Pythonscripts, Products and external methods get an actual db connection. But that I suppose is a problem to solve later. I think I will take a look at ZOracleDA to see what you did. -- Brad Clements,[EMAIL PROTECTED] (315)268-1000 http

Re: [Zope-dev] Making a ZSQL.DA fully multi-threaded?

2004-07-16 Thread Brad Clements
you acquire before opening a connection release afterwards. Someone else said that every thread has it's own copy of ZODB, hence their own copies of each DA. So putting the mutex on the DA won't help this, will it? -- Brad Clements,[EMAIL PROTECTED] (315)268-1000 http

[Zope-dev] 2.7 series dropped PASV_FTP_PORTRANGE

2004-07-12 Thread Brad Clements
into medusa's ftp_server.py module? -- Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax http://www.wecanstopspam.org/ AOL-IM: BKClements ___ Zope-Dev

[Zope-dev] Making a ZSQL.DA fully multi-threaded?

2004-07-09 Thread Brad Clements
? Thanks -- Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax http://www.wecanstopspam.org/ AOL-IM: BKClements ___ 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 Brad Clements
subdirectories named after revisions or branches. So /myFolder/.Prev/index_html would do what you expect (note you can't save to old versions anyway ..) -- Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax http

Re: [Zope-dev] DateTime stftime and TAI based timezone is broken or is it?

2003-12-03 Thread Brad Clements
? -- Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax http://www.wecanstopspam.org/ AOL-IM: BKClements ___ Zope-Dev maillist - [EMAIL PROTECTED] http

Re: [Zope-dev] re: DateTime stftime and TAI based timezone is broken or is it?

2003-12-02 Thread Brad Clements
at 16:45, Brad Clements wrote: I think adding right/EST5EDT tzfile info to DateTimeZone.py might solve my problem. Can someone email me the .py script used to create the DateTimeZone.py file? -- Brad Clements,[EMAIL PROTECTED] (315)268-1000 http

[Zope-dev] DateTime stftime and TAI based timezone is broken or is it?

2003-12-01 Thread Brad Clements
', '\\1%+05d' % (diff / 36), format) return strftime(format, safegmtime(self.timeTime() + diff)) -- Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax

[Zope-dev] re: DateTime stftime and TAI based timezone is broken or is it?

2003-12-01 Thread Brad Clements
I think adding right/EST5EDT tzfile info to DateTimeZone.py might solve my problem. Can someone email me the .py script used to create the DateTimeZone.py file? -- Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812

Re: [Zope-dev] Zope and interbase

2003-10-30 Thread Brad Clements
library that fails under multi-threading conditions. The gvibDA is thunked, but gds still hangs under heavy load. So, we're migrating to SAP DB, which is also much faster than Firebird (at least for our use case) -- Brad Clements,[EMAIL PROTECTED] (315)268-1000 http

Re: [Zope-dev] Versions: should they die?

2003-06-05 Thread Brad Clements
zserver on a different port (the one that feeds the world) with a particular revision. Or I could do this with ZEO. Probably there's too much overhead in this idea. -- Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268

[Zope-dev] ZEO 2.0 testConnection() takes 30 seconds (MountedStorage)

2002-11-08 Thread Brad Clements
','port':'4400','storage':'Common',} at Managers/Common Exception exceptions.AttributeError: Connection instance has no attribute '_Connection__connection' in method Connection.close of Connection instance at 0x8bea73c ignored Brad Clements,[EMAIL PROTECTED] (315)268-1000 http

Re: [Zope-dev] My 2.6.0 feature patch didn't make it!?

2002-10-30 Thread Brad Clements
On 30 Oct 2002 at 11:25, Chris Withers wrote: Brad Clements wrote: http://dev.zope.org/Wikis/DevSite/Projects/Zope2.6/ProposedFeatures But the passive port range patch didn't make it into 2.6 Do you have CVS access? No. I emailed both sets of patches to .. Brian (?) at the same time

[Zope-dev] My 2.6.0 feature patch didn't make it!?

2002-10-29 Thread Brad Clements
Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax AOL-IM: BKClements ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross

[Zope-dev] ZClass object - FTP Upload fails

2002-10-01 Thread Brad Clements
in the corresponding Product Define permissions tab. Though I don't see Ftp access as a permission on this zclass under define permissions on the class, but it is shown as an inherited permisson. 4. Shouldn't I be inheriting a PUT method from the ZDTMLDocument class? Brad Clements,[EMAIL

Re: [Zope-dev] Re: Passive ftp for zope.

2002-09-24 Thread Brad Clements
PASV ftp support has already been integrated into Zope 2.6 Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax AOL-IM: BKClements ___ Zope-Dev maillist - [EMAIL

Re: [Zope-dev] Potential Improvements for xml-rpc debugging

2002-08-30 Thread Brad Clements
with IE 5.5 clients, and getting a fault is a pita. I keep modifying xmlrpc.py (each time I update Zope) to print the traceback on the server, but that's a pita. Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax AOL-IM

[Zope-dev] Can't followup to bug 525 - Collector problem, DIFF attached

2002-08-19 Thread Brad Clements
=fatal,info=info) ! # Create an appropriate Fault object. Unfortunately, we throw away # most of the debugging information. More useful error reporting is # left as an exercise for the reader. Brad Clements,[EMAIL PROTECTED] (315)268-1000 http

[Zope-dev] Patch for 525, oops

2002-08-19 Thread Brad Clements
add import types to the modified xmlrpc.py Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax AOL-IM: BKClements ___ Zope-Dev maillist - [EMAIL PROTECTED] http

Re: [Zope-dev] passive FTP to Zope with a specified port-range

2002-08-02 Thread Brad Clements
then the privileged ports only. This feature has already been added to Zope 2.6 as a patch. I originally added it to Zope 2.5, so I think you can just copy the 2.6 ftp_server from CVS and drop it into your current Zope to get it to work. Brad Clements,[EMAIL PROTECTED] (315)268-1000

[Zope-dev] Singleton DA possible?

2002-07-17 Thread Brad Clements
. But that still messes it up. Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax AOL-IM: BKClements ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org

Re: [Zope-dev] AFS authentication with Zope

2002-06-11 Thread Brad Clements
? (not possible), 2. or you want Zope to authenticate to an existing AFS domain? (possible) I've done the later, used SWIG to wrap some AFS functions and created a userFolder object to authenticate to AFS. Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com

[Zope-dev] How to actually submit contributions for 2.6?

2002-03-29 Thread Brad Clements
I have two pending suggestions on the wiki. I'm ready to submit code/patches. What is the actual mechanism I should use? Just put patches into bug tracker? Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax AOL-IM

Re: [Zope-dev] Trapping Interbase Error Codes

2002-03-09 Thread Brad Clements
return exceptionObject.getSqlCode() Then when you get an exception, pass the exception object to the external method to get the sqlcode. Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax AOL-IM: BKClements

Re: [Zope-dev] Adding gzip compression to HTTPResponse.py

2002-02-06 Thread Brad Clements
On 6 Feb 2002 at 10:02, seb bacon wrote: I don't have much useful to add - I just wanted to mention that I know there are people out there who have succesfully used mod_gzip with Zope; and that I *like* the name dogzip :-) That's my dog, zip! Brad Clements,[EMAIL PROTECTED

Re: [Zope-dev] Adding gzip compression to HTTPResponse.py

2002-02-06 Thread Brad Clements
? Or will they only do this if its Transfer-Encoded? Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com AOL-IM: BKClements ___ Zope

[Zope-dev] Adding gzip compression to HTTPResponse.py

2002-02-05 Thread Brad Clements
if newlen startlen: self.body = z self.setHeader('content-length', newlen) self.setHeader('content-encoding','gzip') except: pass Brad Clements,[EMAIL PROTECTED] (315)268-1000 http

Re: [Zope-dev] Fat client thoughts, was: RE: [Zope] Zope + XML-RPC + native GUI

2002-01-22 Thread Brad Clements
I'm working with IBM's Sash http://sash.alphaworks.ibm.com/ Unfortunately the client is programmed in Javascript.. -- I'm also doing a lot of DHTML, XML/XSLT browser based stuff on IE. So-called one- page web applications based on XML-RPC, works nice. Brad Clements,[EMAIL

[Zope-dev] xmlrpc and PyXML, FYI

2001-12-27 Thread Brad Clements
2.5B3 Should Zope include PyXML components? Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com AOL-IM: BKClements

[Zope-dev] DA connection pooling thoughts

2001-12-12 Thread Brad Clements
seeing something on the list about per-thread state information being available somewhere.. an oid jar or something? Anyone have pointers? Thanks Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils

Re: [Zope-dev] more than one user: zope 'hangs'

2001-12-11 Thread Brad Clements
think the reason for using Thunked was because under Windows, gds is not truly multi-threaded and dies. I do not recall exactly what the story is.. You're welcome to try it without the Thunked Mixin. Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com

[Zope-dev] reduce() doesn't work in Python Scripts

2001-12-06 Thread Brad Clements
In Zope 2.4.3 binary on Linux import operator reduce(operator.add,[0,1,2,3,4]) gives me Error Value: global name 'reduce' is not defined Is this a faq? Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax

Re: [Zope-dev] reduce() doesn't work in Python Scripts

2001-12-06 Thread Brad Clements
. zope can't find the reduce function. right, but it can find the other built-in functions okay. Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com AOL-IM: BKClements

Re: [Zope-dev] zope-web community (was (SHOUT) NOTIFICATION!!!!)

2001-11-30 Thread Brad Clements
alternatives available, such as Roundup, Jitterbug, the SF bug tracker, and our unreleased SPLAT!. SPLAT, sounds interesting, like to see how that stacks up to roundup.. Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax

[Zope-dev] User folders, access rights, security, collector item 47

2001-11-29 Thread Brad Clements
been able to reproduce the condition so that we can say for certain if its a bug, or a mis-configuration. Thanks, Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com

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

2001-06-05 Thread Brad Clements
you could script them via jscript, and basically open up the connection easily. Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com AOL-IM: BKClements

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

2001-05-30 Thread Brad Clements
. Otherwise, I could use an XML-RPC client for IE5.5, but I can't find one! Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com AOL-IM: BKClements

[Zope-dev] TAL/ZPT expand-macros on when FTP get?

2001-05-18 Thread Brad Clements
a wish for the next release Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com AOL-IM: BKClements ___ Zope-Dev maillist

Re: [Zope-dev] Professional Sites Using Zope??

2001-05-16 Thread Brad Clements
the URL for, its for an importer-exporter handling 600 packages per day (shipping, tracking, customs, etc) His customers (100 or so) and their staff (200 or so) login to track packages every day. It's based on Zope 2.2 (argh) and Interbase on Linux. No problems. Brad Clements

Re: [Zope-dev] Professional Sites Using Zope??

2001-05-16 Thread Brad Clements
to generate a shipping interface. It's a work in progress but I'm really beginning to like XML and XSLT. ..lots of other 'professional' Zope sites to consider, for example at a random what do you call these two yes, but what the heck does professional mean? Brad Clements,[EMAIL

[Zope-dev] Plugable brains changed in 2.3x vs 2.2?

2001-04-23 Thread Brad Clements
minutes to make this work. thanks Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com AOL-IM: BKClements ___ Zope-Dev maillist

Re: [Zope-dev] Plugable brains changed in 2.3x vs 2.2?

2001-04-23 Thread Brad Clements
On 23 Apr 2001, at 14:45, Brad Clements wrote: I've been using zope 2.2.2 with a plugable brain that does something like this: class Mybrain: def __init__(self): self.__dict['myvar'] = 'xyzzy' Uh, sorry, this should probably not be on zope-dev. anyway the answer

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

2001-02-05 Thread Brad Clements
it. Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com AOL-IM: BKClements ___ Zope-Dev maillist - [EMAIL PROTECTED] http

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

2001-02-05 Thread Brad Clements
On 5 Feb 2001, at 9:38, Chris McDonough wrote: The last time I had to mess around with it, IE didn't pass along any empty form fields at all. Is this still the case? Still? I've never seen the behaviour you describe. My client uses IE exclusively. What version of IE did you test? Brad

Re: [Zope-dev] dtml-in batching

2001-01-23 Thread Brad Clements
its *still* pending Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com AOL-IM: BKClements ___ Zope-Dev maillist - [EMAIL

Re: [Zope-dev] dtml-in batching

2001-01-23 Thread Brad Clements
On 24 Jan 2001, at 11:15, [EMAIL PROTECTED] wrote: Brad Clements wrote: I posted this same bug AND a patch as bug # 1566 on Aug 28th, 2000. http://classic.zope.org:8080/Collector/1566/view Sad to see its *still* pending Well that's odd - I searched the collector for "

[Zope-dev] Converters.py field2date() and :ignore_empty

2000-12-12 Thread Brad Clements
a more permanant and "correct" solution. What do others think? Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com AOL-IM:

[Zope-dev] Pending bugs in collector - how do I send this patch?

2000-12-11 Thread Brad Clements
is: if int(cache[q][0]) == key: del cache[q] Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com AOL-IM: BKClements

[Zope-dev] Adding execute() to Zope DA's for use by External methods

2000-11-14 Thread Brad Clements
__call__ method" error. So then I tried passing the connection from dtml, ie dtml-var "MyMethod(db=MyInterbaseConnection())" but when MyMethod calls db.cursor() it gets a security error. Probably because this function isn't exposed by the security machinery. (same thing probably

Re: [Zope-dev] Wrox Book

2000-10-13 Thread Brad Clements
p.s. Anyone see my chapter on Embedding/Extending Python in the Wrox Professional Linux Programming book? looking for feedback (kudos, hatemail, etc) Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting

Re: [Zope-dev] Converters.field2date, allow empty string to return None?

2000-09-04 Thread Brad Clements
still does *not* fix the problem of using the test function in an SQL Method. Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com AOL-IM:

[Zope-dev] Converters.field2date, allow empty string to return None?

2000-09-01 Thread Brad Clements
to return None? Or do we need to add an explicit "optional" type? Either way, I'd like to fix this, but what's the best way? Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.mur

[Zope-dev] Bug in DT_In.py, still using collector? Here's a patch

2000-08-08 Thread Brad Clements
-index']=pend-1 kw['next-sequence-size']=pend+1-pstart except: if self.elses: result=render(self.elses, md) else: result='' else: result=render(section,md) Brad Clements