Phillip J. Eby wrote:
>At 12:35 PM 11/1/00 +1100, Itai Tavor wrote:
>>Hi,
>>
>>How do I implement gen-spec classes using ZPatterns and ZClasses?
>>For example, I want to implement Person and Customer. Writing it in
>>Python, it would be easy to subclass Person to get Customer, and
>>Customer woul
At 12:35 PM 11/1/00 +1100, Itai Tavor wrote:
>Hi,
>
>How do I implement gen-spec classes using ZPatterns and ZClasses?
>For example, I want to implement Person and Customer. Writing it in
>Python, it would be easy to subclass Person to get Customer, and
>Customer would inherit Person's properti
Hi,
How do I implement gen-spec classes using ZPatterns and ZClasses?
For example, I want to implement Person and Customer. Writing it in
Python, it would be easy to subclass Person to get Customer, and
Customer would inherit Person's properties and methods. If I instead
create a specialist a
I've released new 0.4.3 beta 2 versions of ZPatterns and PlugIns to fix the
minor bugs reported to date in beta 1. Specifically, the PlugIns package
now contains a "help" directory, and the problem with "name" shorthand in
SkinScript has been fixed as well. They can be found in the usual places.
"Phillip J. Eby" wrote:
> DataSkin is strictly a mix-in class. Sometimes I forget to remind people
> of that, and sometimes I even forget it myself. :(
DataskinAddons provides a nice DataSkin-derived class for debugging purposes
- it has a debug() method that prints out __dict__, and lets you
At 04:42 PM 10/31/00 +0100, Joachim Schmitz wrote:
>Hi Steve,
>
>On Tue, 31 Oct 2000, Steve Spicklemire wrote:
>
>>
>> Joachim> By the way, it only work if specify a DataSkin derived ZClass
>> Joachim> under the Storage tab.
>>
>> Yes... did you attempt to use a 'pure' DataSkin?
>>
>aft
At 04:44 PM 10/30/00 +0100, Morten W. Petersen wrote:
>After compiling the DynPerist module, I try to import it in the Python
>interpreter:
>
>"""
>morten@slakka:/usr/local/Zope/lib/python/Products/ZPatterns > gcc -o
DynPersist.so -c DynPersist.c -I../../ZODB
-I../../../Components/ExtensionClass -
Thanks, I did find the error on why Lynx was not working.
Was just a brain fart on my end. I forgot to include the single quotes
around the url.
example :
lynx -auth=username:password '
http://www.yourdomain.com/test?ids:list=acl_users&manage_delObjects:method=Delete'
Test is just a folder th
Hi Steve,
On Tue, 31 Oct 2000, Steve Spicklemire wrote:
>
> Joachim> By the way, it only work if specify a DataSkin derived ZClass
> Joachim> under the Storage tab.
>
> Yes... did you attempt to use a 'pure' DataSkin?
>
after your advise not to use a 'pure' DataSkin, I did all the tes
Hi Joachim,
> "Joachim" == Joachim Schmitz <[EMAIL PROTECTED]> writes:
Joachim> Hi Steve,
Joachim> that did it, many thanks, how did you debug this ?
The debugger is your friend. ;-). Seriously I'd be lost without it:
http://www.zope.org/Members/michel/HowTos/TheDebuggerIsYourFri
Yves-Eric Martin wrote:
> I am no Zope monitor expert, but maybe you will find my newbie point
For some definition of newbie... :-)
> of view helpful. Here is my understanding of the magic of this very
> helpful tool:
>
> - Zope.app() gives you a *copy* of the *real* application object.
> -
Hi Steve,
that did it, many thanks, how did you debug this ? By the way, it only work
if specify a DataSkin derived ZClass under the Storage tab.
it solved also the problem with the following setup, which
didn't work before applying the patch, with an setup like this:
SkinScript method:
WITH Q
At 09:16 AM 10/31/00 -0500, Steve Spicklemire wrote:
>
>OK I think I found the problem(s):
>
>*** Expressions.py 2000/10/18 23:11:55 1.1.1.3
>--- Expressions.py 2000/10/31 14:14:09
>***
>*** 133,139
> def eval(self,mapping):
> """Return the result of lo
[Yves-Eric Martin]
| - Zope.app() gives you a *copy* of the *real* application object.
| - app._p_jar.sync() reloads your copy with the real (losing your changes)
Ah, there it is; sync discards the changes made from the monitor, and then
reloads...
An extra thanks for the thorough (not-very-new
At 12:32 PM 10/31/00 +0100, Joachim Schmitz wrote:
>
>I changed the SkinScript to:
>
>WITH QUERY getevent() COMPUTE event_id ,datum_von
>
>that does not work, I get an key error: event_id
>
>but finally last try:
>
>WITH QUERY getevent() COMPUTE event_id=event_id ,datum_von=datum_von
>
>that worke
OK I think I found the problem(s):
*** Expressions.py 2000/10/18 23:11:55 1.1.1.3
--- Expressions.py 2000/10/31 14:14:09
***
*** 133,139
def eval(self,mapping):
"""Return the result of looking up/calling the name from 'mapping'.
If the object was
Hello,
I am no Zope monitor expert, but maybe you will find my newbie point
of view helpful. Here is my understanding of the magic of this very
helpful tool:
- Zope.app() gives you a *copy* of the *real* application object.
- app._p_jar.sync() reloads your copy with the real (losing your
Hi Steve,
somehow I got the first part working, I donĀ“t exactly remember, what was
wrong, but it worked anyhow.
my setup was:
SkinScript method in defaultRack, Data-Skin:
WITH ['a','b'] COMPUTE event_id=RESULT[0],datum_von=RESULT[1]
and under Storage I specified my ZClass and loaded accessin
When using the monitor_client, I do this:
-- Start monitor_client usage
python monitor_client.py localhost 8099
Enter Password:
warning: unhandled connect event
Python 1.5.2 (#1, Mar 11 2000, 13:03:53) [GCC 2.95.2 19991024 (release)]
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
Try something like (taken from my own code, so it works for me, caveta
emptor):
def mkcontext(self,context=None):
global default_dd
if not context:
return 'EH!'
c=string.split(context,'/')
newself=self
for a in c:
try:
newself.manage_addFolder(a,createPubl
20 matches
Mail list logo