[Zope-dev] regex (or re) modules

2000-12-19 Thread Tim McLaughlin
Does anybody know why these modules aren't available for DTML and Python Methods? (I already hacked my server, just wanna know what I'm riskin) Thanks, Tim ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev **

[Zope-dev] Product dev

2001-01-04 Thread Tim McLaughlin
I'm building a Product in Python and seem to be having some issues with the new registerClass method of Product registering. If I build it all fine as noted in Shane's recent HowTo, the product does not show up in the control panel. Then after much other chasing, I make a purposeful syntax error

[Zope-dev] ghost product

2001-01-04 Thread Tim McLaughlin
In fact (to clarify my preceding problem), when I removed the product folder, Zope still shows the product and error after restarting. Am I being stupid? I must be missing something Thanks ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.

RE: [Zope-dev] ghost product

2001-01-04 Thread Tim McLaughlin
ris McDonough [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 04, 2001 3:38 PM To: Tim McLaughlin; [EMAIL PROTECTED] Subject: Re: [Zope-dev] ghost product Delete the product from the Control Panel management interface. - Original Message - From: "Tim McLaughlin" <[EMAIL PROTECTE

[Zope-dev] Rowcount not available?

2001-01-17 Thread Tim McLaughlin
Is there a reason the rowcount property of the cursor object was not made available throught the DA (ideally as an optional parameter of the __call__ method)? Am I missing it somewhere else? Cheers, Tim McLaughlin ___ Zope-Dev maillist - [EMAIL

[Zope-dev] sql methods and the namespace stack

2001-01-22 Thread Tim McLaughlin
Does anybody know why sql methods only search the request object instead of traversing the dtml namespace stack? TIA, Tim McLaughlin ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

[Zope-dev] strange problem with LoginManager

2001-02-08 Thread Tim McLaughlin
but again connected through Worldnet is a no go. I suspect this has something (maybe) to do with Worldnet's proxies (if they have them) not handling the headers which zope may (or may not) send. Ok, so it's a guess please help. Thanks. Tim McLaughlin _

[Zope-dev] http headers

2001-02-12 Thread Tim McLaughlin
Anyone know how I can log or view the http headers that Zope sends when it responds to a http request? Tim McLaughlin ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding

[Zope-dev] problems with LoginManager and proxies

2001-02-12 Thread Tim McLaughlin
double proxied - I have an Apache reverse proxy setup. Is this problem an Apache issue, or a Zope issue? Please help TIA, and beaucoup thanks on the previous question. Tim McLaughlin ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org

[Zope-dev] zpopyda problems with typecasting

2001-02-12 Thread Tim McLaughlin
Timestamp columns do not seem to be converted to DateTime objects in Zope when used with 2.2.4 and PoPy 1.4.1 and ZPoPyDA 1.0.1. It returns a string object which will not convert to a DateTime without some help. The string returned is this '2001-01-24 21:52:19-05' which does not convert because of

[Zope-dev] 2gb ZODB size limit

2001-02-15 Thread Tim McLaughlin
Is this true on windows too? I saw some mention of this limit be lifted, but if so, in what version? ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists -

[Zope-dev] catalog object owners?

2001-02-26 Thread Tim McLaughlin
s already there). _______ Tim McLaughlin BCSwebservices.net Director, Technical Group 1950 Old Gallows Road tel: (703) 790.8081 x111 Suite 201 [EMAIL PROTECTED] Vienna, VA 22182 www .bcsw

RE: [Zope-dev] catalog object owners?

2001-02-26 Thread Tim McLaughlin
how? I can't seem to do it. (I'm sure that I'm just being daft though). I tried both "title_and_id" and "title_and_id()" to no avail. -Original Message- From: Chris McDonough [mailto:[EMAIL PROTECTED]] Sent: Monday, February 26, 2001 4:51 PM To: Ti

RE: [Zope-dev] catalog object owners?

2001-02-26 Thread Tim McLaughlin
never mind. dumb mistake. Thanks. -Original Message- From: Tim McLaughlin Sent: Monday, February 26, 2001 4:37 PM To: 'Chris McDonough'; Tim McLaughlin; Morten W. Petersen Cc: [EMAIL PROTECTED] Subject: RE: [Zope-dev] catalog object owners? how? I can't seem to do

[Zope-dev] is there a hook for before the transaction is committed

2001-03-05 Thread Tim McLaughlin
vail. TIA, Tim _______ Tim McLaughlin BCSwebservices.net Director, Technical Group 1950 Old Gallows Road tel: (703) 790.8081 x111 Suite 201 [EMAIL PROTECTED] Vienna, VA 22182 www .bcsw

RE: [Zope-dev] is there a hook for before the transaction is committed

2001-03-05 Thread Tim McLaughlin
t ;-) -Original Message- From: Toby Dickenson [mailto:[EMAIL PROTECTED]] Sent: Monday, March 05, 2001 12:08 PM To: Tim McLaughlin Cc: '[EMAIL PROTECTED]' Subject: Re: [Zope-dev] is there a hook for before the transaction is committed On Mon, 5 Mar 2001 10:56:38 -0500, Tim McLau

RE: [Zope-dev] is there a hook for before the transaction is committed

2001-03-05 Thread Tim McLaughlin
-- From: John D. Heintz [mailto:[EMAIL PROTECTED]] Sent: Monday, March 05, 2001 12:45 PM To: Tim McLaughlin Cc: '[EMAIL PROTECTED]' Subject: Re: [Zope-dev] is there a hook for before the transaction is committed Hi Tim, I have two suggestions, I hope one of them helps. 1) Attached is

[Zope-dev] get_request() idea

2001-03-15 Thread Tim McLaughlin
I'm making some mod's to the property sheets to allow them to fire an event (call a hook) when they change on an instance. Anyway, it looks like I'm gonna have to hand the REQUEST object all around, so I can get the data out of it that I need (as well as allow other inspection in the future). An

[Zope-dev] call method of ancestor of ZClass

2001-03-19 Thread Tim McLaughlin
ainer) do_something_else() TIA, Tim McLaughlin ___ 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-announce http://lists.zop

[Zope-dev] call pythonscript from python

2001-03-21 Thread Tim McLaughlin
bindings (and if you know how to get them automagically, that would be incredible)? Tim ___ Tim McLaughlin BCSwebservices.net Director, Technical Group 1950 Old Gallows Road tel: (703) 790.8081

RE: [Zope-dev] call pythonscript from python

2001-03-21 Thread Tim McLaughlin
I've found another way to do it. Thanks for the help, Tim -Original Message- From: Evan Simpson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 21, 2001 10:41 AM To: Tim McLaughlin; [EMAIL PROTECTED] Subject: Re: [Zope-dev] call pythonscript from python From: "Tim McLa

[Zope-dev] make an object unowned

2001-04-05 Thread Tim McLaughlin
Does anybody know how to make an object unowned, programmatically or through the interface? Thanks, Tim ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists

[Zope-dev] ZUserFolder usage and development

2001-04-09 Thread Tim McLaughlin
tch since in fact it calls the Super. 3. I'm gonna pitch this out. say it all to the benefit of all. Incidentally, great working with you on this. Excellent feedback, and your catchin' on quickly (hooray! another infected by the Zope bug). Tim -Original Message- From: Davi

Re: [Zope-dev] ZODBCA questions...

2001-04-10 Thread Tim McLaughlin
Andy- We've had no probs with ZODBCDA connected to SQL Server (7 and 2000). What leads you to think it's a prob with the DA? Tim Message: 2 From: "Andy McKay" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Date: Mon, 9 Apr 2001 10:45:55 -0700 Subject: [Zope-dev] ZODBCA questions... Im getting so

RE: [Zope-dev] ZODBCA questions...

2001-04-10 Thread Tim McLaughlin
ply put an unnecessary layer in between Zope and the db. Tim -Original Message- From: Schmidt, Allen J. [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 10, 2001 8:29 AM To: 'Tim McLaughlin'; '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]' Subject: RE: [Zope-dev] ZODBCA q

[Zope-dev] turn off proxying TTW

2001-04-12 Thread Tim McLaughlin
How in the heck do I do this? (also, does anybody know how to make an owned object "unowned"). It seems that once I select a proxy role, I can't turn it off... TIA, Tim ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinf

[Zope-dev] un-own an object

2001-04-12 Thread Tim McLaughlin
found this to be true with ZClass constructors at least. I believe that the method should take the permissions of the authenticated_user only in this scenario, but it does not. Any ideas? _______ Tim McLau

RE: [Zope-dev] un-own an object

2001-04-13 Thread Tim McLaughlin
may be SOL :-( -Original Message- From: Chris Withers [mailto:[EMAIL PROTECTED]] Sent: Friday, April 13, 2001 5:50 AM To: R. David Murray Cc: Tim McLaughlin; '[EMAIL PROTECTED]' Subject: Re: [Zope-dev] un-own an object "R. David Murray" wrote: > > Like I said (and th

RE: [Zope-dev] un-own an object

2001-04-13 Thread Tim McLaughlin
I meant create an instance of a ZClass owned by a user who no longer exists (if my 'construct' word made no sense - haven't had coffee yet ;-) ). -Original Message- From: Tim McLaughlin Sent: Friday, April 13, 2001 7:31 AM To: 'Chris Withers'; R. David Murray Cc

RE: [Zope-dev] un-own an object

2001-04-16 Thread Tim McLaughlin
2001 9:37 AM To: Tim McLaughlin Subject: Re: [Zope-dev] un-own an object Ah well :-S Never been much fo a ZClass fan myself, anyway :-S good luck, Chris Tim McLaughlin wrote: > > except for in my case the user itself is an instance of a ZClass (see > ZUserFolder). so it seems an i

[Zope-dev] why is this more efficient

2001-04-23 Thread Tim McLaughlin
7;,content_type, precondition)) # Now we "upload" the data. By doing this in two steps, we # can use a database trick to make the upload more efficient. self._getOb(id).manage_upload(file) _________

[Zope-dev] Re: a plea for help (again) (tav)

2001-04-27 Thread Tim McLaughlin
Tav, I don't see why you need to reimplement __repr__ in the first place. I believe that what yours is trying to do is the default implementation on a class. (somebody tell me if I am wrong) But this probably is not the fundamental issue. TIm ___ Z

[Zope-dev] Zope Server hanging :-(

2001-04-27 Thread Tim McLaughlin
Chris (and all), We seem to be having similar crashing issues. And interestingly enough, they don't seem to show up on any of our servers except the 2.3.0 upgraded to 2.3.1. 1. Hangs on anything from Pythonscript or dtml 2. top shows no significant mem or cpu usage 3. threads are all unrespo

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

2001-04-27 Thread Tim McLaughlin
I forgot to mention... our neither our z2.log or stupid_log show anything upon freezing. afterwards the stupid_log shows the failed transaction cleanup, but that's it. Tim -Original Message- From: Tim McLaughlin Sent: Friday, April 27, 2001 12:41 PM To: '[EMAIL PROTECTED]

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

2001-05-02 Thread Tim McLaughlin
ssage- From: Chris McDonough [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 02, 2001 12:00 PM To: Chris Withers Cc: Tim McLaughlin; [EMAIL PROTECTED] Subject: Re: [Zope-dev] Zope Server hanging :-( One of the more important bits is the "active" count when using the --detailed option

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

2001-05-03 Thread Tim McLaughlin
Sorry, Chris M, didn't mean to get you stuck in the documentation torture chamber ;-) Cheers, Tim -Original Message- From: Michel Pelletier [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 02, 2001 11:58 PM To: Chris McDonough Cc: Tim McLaughlin; Chris Withers; [EMAIL PROT

Subject: [Zope-dev] change ownership

2001-05-09 Thread Tim McLaughlin
Magnus, No, changeOwnership is not exposed for TTW calling. But you can expose it through an external method... I used this one on a ZClass. def set_owner(self, user): self.changeOwnership(user) return --Tim Message: 6 From: "Magnus Heino (Rivermen)" <[EMAIL PROTECTED]> T

RE: Subject: [Zope-dev] change ownership

2001-05-10 Thread Tim McLaughlin
er to changeOwnership is a User _object_. Good luck. --Tim -Original Message- From: Magnus Heino (Rivermen) [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 10, 2001 7:25 AM To: 'Tim McLaughlin'; '[EMAIL PROTECTED]'; Magnus Heino (Rivermen) Subject: SV: Subject: [Zope-dev] change

RE: Subject: [Zope-dev] change ownership

2001-05-10 Thread Tim McLaughlin
What kind of UserFolder are you using... LoginManager or something? -Original Message- From: Magnus Heino (Rivermen) [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 10, 2001 9:13 AM To: 'Tim McLaughlin'; Magnus Heino (Rivermen) Cc: '[EMAIL PROTECTED]' Subject: SV

RE: Subject: [Zope-dev] change ownership

2001-05-10 Thread Tim McLaughlin
. --Tim You could also try a ZUserFolder and use restrictedTraverse if you want. :-) -Original Message- From: Magnus Heino (Rivermen) [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 10, 2001 9:23 AM To: 'Tim McLaughlin'; Magnus Heino (Rivermen) Cc: '[EMAIL PROTECTED]'

RE: Subject: [Zope-dev] change ownership

2001-05-11 Thread Tim McLaughlin
User database houses 'username' user = self.acl_users.getUser(username) self.changeOwnership(user.__of__(self.acl_users)) return 'done.' --Tim McLaughlin (tmclaugh) -Original Message- From: Magnus Heino (Rivermen) To: 'Tim McLaughlin'; Magnus Heino

[Zope-dev] disable view on method for ZClass

2001-05-17 Thread Tim McLaughlin
be forged so that the method has false params. Disabling the method for TTW calling cleans everything up nicely. Anybody have any thoughts? Also, does anybody have any idea where it is currently getting the default set... I can't seem to find it. Thanks, Tim ________

[Zope-dev] Fwd: Fwd: ZClassEvents

2001-05-24 Thread Tim McLaughlin
u didnt get any response. I have successfully used it in two projects. I'll write an howto on monday and put up on zope.org Thanks for a great product and great support! /Magnus > > Tim > > -Original Message----- > From:Tim McLaughlin [EMAIL PROTECTED] > Sent:Fr

Re: [Zope-dev] multiple servers!

2001-06-11 Thread Tim McLaughlin
Stian, It's probably nicer to use the -P option for z2.py which allows you to specify a port offset for all ZServer services. ie. -P 8001 puts http on 8081 and ftp on 8022 or -P 8002 puts http on 8082 and ftp on 8023 --Tim _____

Re: [Zope-dev] multiple servers!

2001-06-12 Thread Tim McLaughlin
ssage. _____ Tim McLaughlin Iteration Zero - www.iterationzero.com 703-481-2233 Message: 8 Date: Mon, 11 Jun 2001 12:04:31 +0200 (CEST) From: Erik Enge <[EMAIL PROTECTED]> To: Stian Jenssen <[EMAIL PROTECTED]> cc: "'[EMAIL PRO

[Zope-dev] symbolic link to another object in the Zope DB

2001-06-14 Thread Tim McLaughlin
Has anybody seen a product that lets you make the equivalent of a symbolic link in unix in the Zope DB? Thanks, Tim _ Tim McLaughlin iterationZERO - www.iterationzero.com 703-481-2233 ___ Zope-Dev

[Zope-dev] security question

2001-06-15 Thread Tim McLaughlin
nnot however, access them directly: http://server/folder2/object1 Does this seem strange to anybody else, or have I just been working too long? _________ Tim McLaughlin iterationZERO - www.iterationzero.com 703-481-2233

[Zope-dev] checkPermission and proxy roles

2005-03-16 Thread Tim McLaughlin
if we switch to [2]. I can see there might be a need for [1]. But in this case you can use Zope's checkPermission method. If there are no objections I'll soon make a CVS checkin of the attached code. Cheers, Yuppie --- -- Tim McLaughlin

RE: [Zope-dev] Allowing python logging from restricted code

2005-10-11 Thread Tim McLaughlin
We are currently finishing up a "debug_log" much like the error log that Python scripts can write too. We would happily make that source available if you think it will fit the bill. Cheers, Tim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Wither

[Zope-dev] ZClass and ZCatalog

2001-07-06 Thread Tim McLaughlin
x27;. > How can I automaticallly index them ? > > > Thanks, > > - mn _ Tim McLaughlin iterationZERO - www.iterationzero.com 703-481-2233 ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope

[Zope-dev] Re: International Objects

2001-10-21 Thread Tim McLaughlin
(at least that's my first thought). Zope-devers, any ideas? Anybody know of any __getattr__ changes in the 2.4.0 to 2.4.1 transition? Cheers, Tim Roger Espinosa wrote: > > On Wed, 17 Oct 2001, Tim McLaughlin wrote: > > > > > If so, let me know what you think after you

Re: [Zope-dev] Versions (still)

2001-10-23 Thread Tim McLaughlin
I haven't implemented anything because it sounds too icky, and I keep thinking there's gotta be a better way :) Cheers, Tim -- Tim McLaughlin iterationZERO - www.iterationzero.com 703.481.2233 ___ Zope-Dev maillist - [EMAIL PROTECTED] ht

[Zope-dev] pdf - "Files" not viewable

2001-11-09 Thread Tim McLaughlin
hat the deal is since this used to work. Did something change in 2.4 that could have caused File objects to function badly? Thanks, Tim -- Tim McLaughlin iterationZERO - www.iterationzero.com 703.481.2233 ___ Zope-Dev maillist - [EMAIL PROTECTED] http:/

Re: [Zope-dev] pdf - "Files" not viewable

2001-11-09 Thread Tim McLaughlin
And another hint is that it works using ExtFile. This makes me suspect the serving of the object data. Ideas? Tim McLaughlin wrote: > > This used to work, and I'm vexed as to why it doesn't now. When PDFs > are uploaded as file objects and then viewed, on IE 5.0+ with Acr

[Zope-dev] ZSQL methods lookup vars in REQUEST only (why?)

2001-10-11 Thread Tim McLaughlin
rning and for remembering, and DTML in ZSQL should work the same as DTML in DTML Methods, etc. Please consider this and abuse me as appropriate ;) Regards, Tim -- Tim McLaughlin iterationZERO - www.iterationzero.com 703.481.2233 ___ Zope-Dev mai

Re: [Zope-dev] ZSQL methods lookup vars in REQUEST only (why?)

2001-10-11 Thread Tim McLaughlin
ggest a way around this? > > Thanks, > Paul Zwarts > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf > Of Tim McLaughlin > Sent: Thursday, October 11, 2001 1:30 PM > To: [EMAIL PROTECTED] > Cc: Micah Martin > Subject: [Zope-dev] ZSQ

[Zope-dev] nasty persistence problem

2001-10-12 Thread Tim McLaughlin
token is attached\n to the object. q_hL}q`h[K\x00shN(U\x05tokenqa and on and on for a while. -- Tim McLaughlin iterationZERO - www.iterationzero.com 703.481.2233 ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailma

Re: [Zope-dev] nasty persistence problem

2001-10-12 Thread Tim McLaughlin
> > import Zope > app = Zope.app() > app.fixupZClassDependencies(rebuild=1) > get_transaction().commit() > > exit the debugger and restart, see what happens. > > - Original Message - > From: "Tim McLaughlin" <[EMAIL PROTECTED]> > To: <[E

Re: [Zope-dev] nasty persistence problem

2001-10-15 Thread Tim McLaughlin
Michel Pelletier wrote: > > Tim McLaughlin wrote: > > A product had gotten copied in that moved a Product class from one > > module to another even though everything else was the same. It seems > > that ZODB doesn't like that. > > It sure doesn't. When

Re: [Zope-dev] ZClasses and Python

2002-02-19 Thread Tim McLaughlin
et instance in bar called foobar. > >If i change the properties of foobar, then manage_editProperties is >called( i'am right ). > >Is there a way to catch the manage_editProperties function(called from >foobar) in my base-class foo > >Thanks as > >P.S.: I h

[Zope-dev] two hard questions

2002-03-06 Thread Tim McLaughlin
class so that I can override some methods on an instance by instance basis? I tried doing a .__class__ replacement, but for whatever reason, Zope machinery seems to keep it from taking effect. Any ideas? I've tried about 5 different approaches to no avail :( Sincerely, Tim McLaughli

Re: [Zope-dev] two hard questions

2002-03-06 Thread Tim McLaughlin
Casey Duncan wrote: >On Wednesday 06 March 2002 07:27 am, Tim McLaughlin allegedly wrote: > >>Firstly, I'm trying to return a lazy list to a dtml-in, but it seems >>that the __getitems__ are all called up front This is the class and >>the print statement sho

Re: [Zope-dev] I/O Error

2002-09-09 Thread Tim McLaughlin
t traceback so far (it is in HTML comments). > > Any ideas what that can be? > > m. -- Tim McLaughlin Chief Technology Officer Siteworx, Inc... Set your site on the future! 703.390.5421 ___ Zope-Dev maillist - [EMAIL PROTECTED] http://li

Re: [Zope-dev] How can I find out who visited a URL within my ZopeProduct?

2002-10-08 Thread Tim McLaughlin
> --Craeg > > > ___ > 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-announce > http:/

Re: [Zope-dev] get_request() and GlobalRequestPatch

2002-10-27 Thread Tim McLaughlin
(that is quite old)? Best Regards, Johan Carlsson -- Tim McLaughlin Chief Technology Officer Siteworx, Inc... Set your site on the future! 703.390.5421 ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev **

[Zope-dev] property type

2003-02-06 Thread Tim McLaughlin
n I try to mix in this object w/ a Folder object, the instance returns for the 'prop' attribute. Is this an issue with pickling or something else? Cheers, Tim -- Tim McLaughlin Chief Technology Officer Siteworx, Inc... Set your site on the future! 703.390.5421 msg12579/pgp0.

[Zope-dev] override __of__

2003-02-06 Thread Tim McLaughlin
#x27;t do traversal. :( Cheers, Tim -- Tim McLaughlin Chief Technology Officer Siteworx, Inc... Set your site on the future! 703.390.5421 msg12585/pgp0.pgp Description: PGP signature