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
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
#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
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.
(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
**
> --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:/
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
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
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
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
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
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:/
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
(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
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
>
> 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
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
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
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
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
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
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
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
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
_____
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
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
________
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
.
--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]'
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
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
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
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
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
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]
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
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
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)
_________
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
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
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
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
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
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
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
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
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
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
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
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
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
--
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
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
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
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
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
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
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 -
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
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
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
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
_
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
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
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
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.
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
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
**
67 matches
Mail list logo