Re: [Zope] Dynamic ordering of DTML-IN?

2001-01-23 Thread Adam Karpierz

 You can use something like:

 dtml-if "orderby=='firstname'"
 dtml-in "sql_search(search='foo')" sort=firstname
 dtml-elif "orderby=='lastname'"
 dtml-in "sql_search(search='foo')" sort=lastname
 /dtml-if

For Zope.2.3.0+ you can use:

dtml-in "sql_search(search='foo')" sort_expr="orderby"

--
Adam Karpierz
[EMAIL PROTECTED]





___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Opensource DBMS for WIN?

2001-01-23 Thread Adam Karpierz

 Greetings,

 Was wondering if there was an open source dbms to use with Zope on a
 Win2k machine...? I found references of using cygwin to run PGSQL (which
 we have on our unixbox) but would prefer something that doesnt run over
 an extender-shell...

 TIA,
 Paz

InterBase
From versiom 6.0 it is Open Source RDBMS.
http://www.interbase.com

Works good eg. with gvibDA adapter.


--
Adam Karpierz
[EMAIL PROTECTED]




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] slow response with 2.2.5b1, 2.2.5, 2.3.0b1 win32 version

2001-01-17 Thread Adam Karpierz

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED] 
Sent: Wednesday, January 17, 2001 10:39 AM
Subject: [Zope] slow response with 2.2.5b1, 2.2.5, 2.3.0b1 win32 version


[...]
 There was a similar post by the end of last year, but unfortunately I
 didn't find an "enlightening" ;-) answer on the list.

 Anyone else with the same phenomenon? Any suggestions?

Yes. I have the same behaviour on Win98/ME and Zope2.2.5

--
Adam Karpierz
[EMAIL PROTECTED]




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Patch to avoid hypenation variables and more

2000-12-04 Thread Adam Karpierz

- Original Message -
From: "Michel Pelletier" [EMAIL PROTECTED]
To: "Tino Wildenhain" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, December 04, 2000 7:10 PM
Subject: Re: [Zope] Patch to avoid hypenation variables and more

[...]
 It's cool.

Yes !. It is _very_ cool and very long awaited.
Thank you Tino :)

Maybe also is a good time to mix and apply
my old patch for 'sort' attribute with Tino's patch ?.
Please, take a look at:
http://classic.zope.org:8080/Collector/1542/view
http://classic.zope.org:8080/Collector/1541/view

Regards

Adam Karpierz
[EMAIL PROTECTED]




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] FTP crashing Zope?

2000-08-30 Thread Adam Karpierz

Dario Lopez-KXsten wrote:
 Is this a bug in latest Zope (2.2.1) or is this expected behaviour? If, the
 latter is the case, what can I do to a) turn off FTP access, b) make sure
 that my Zope is up and running automagically after a crash?

Ewww.. this seems quite nasty :(

If you can reproduce this, I'd stick it with a really detailed
description into the collector

Has anyone else seen this?

Unfortunately I do... :(
Crash occurs when I try to use various FTP command
during using telnet on port 8021 and when I type QUIT
command immediately _after_ _initialize_ data transmission.
Of course I didn't able to seen any data on telnet console
(data transmission port is assigned automacically and
quite different then control port).
More precisely, crash (Python crash) happend immediately
after sequention:
RETR index_html
QUIT
I try reproduce this error once or twice but without effect.
Before crash I (if remember precisely) was trying:
RETR index_html
ABOR
QUIT
several times and don't happened something wrong.

PS: I dont remember if crash occurs in PASV mode.
--
Adam Karpierz
[EMAIL PROTECTED]





___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope-dev] Voting for Patches?

2000-08-24 Thread Adam Karpierz

Adam Karpierz wrote:
 There is a patch for it:
 http://classic.zope.org:8080/Collector/1540/view

I wonder whether it'd be worth enabling people to vote on what
patches they'd like integreated and what bugs they'd like solved in the
collector?

Sorry ChrisW but I dont understand what you mean :( ?
(probably my horrible poor english is a cause..)
I dont want enabling people, I dont want any votes.
It only was my reply for _your_ problem.
Below is my full post:

--
Adam Karpierz wrote:
ChrisW wrote:
Okay, firstly, I notice dtml-tree doesn't support the standard
abbreviation:

dtml-TAG "x" - dtml-TAG expr="x"

As the following:

dtml-tree "_.getitem('sequence-item',0)" branches="postingValues"

gives me:

Error Type: KeyError
Error Value: "_.getitem('sequence-item',0)"

There is a patch for it:
http://classic.zope.org:8080/Collector/1540/view
[...]


Where you see any problems in my reply ?
I made patch earlier for my private use (likewise as _all_ other
patches posted by me) and according to your suggestion on IRC
I stuck it into collector... My post was only notification for you.

The one for me is the ability, in effect, to shout 'Me too!' when I see
a bug that I've experienced too.

Heh funny...
Ability for such simple and trivial things as my patches ? Experience ?
Eh... Sorry but this eventually would was true 20 years ago
when I'd started my adventure with programming of stupid computers :)
How you think ? What is my motivation to produce patches etc ?.
Answer is very simple...

Maybe this would help filter down the
collector or at least give anotehr way that it could be prioritised?

What way ?. It was a little bug and inconsistence it tree tag and
I dont see any better way then very simple and safe (without any
influence for compatibility) patch.

Best Regards
--
Adam Karpierz
[EMAIL PROTECTED]




___
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.zope.org/mailman/listinfo/zope )




Re: [Zope] dtml-let .. method /dtml-let

2000-08-23 Thread Adam Karpierz

 Phil Harris [EMAIL PROTECTED] wrote:
I seem to remember a entry to the collector about this

There is a patch for Zope 2.2.1b1:
http://classic.zope.org:8080/Collector/1542/view

Please for discussion about it.

Regards
--
Adam Karpierz
[EMAIL PROTECTED]




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Using crontab instead of rc.d

2000-08-23 Thread Adam Karpierz

Is this setup at all possible?

Regards,

George Osvald


Hi George

It's my working solution (Linux RH):

crontab command
-
0,30 * * * * /home/adares/.start

setup file: /home/adares/.start
--
#! /bin/sh

ZOPEDIR="/home/adares/Zope"
PORTMASK="8000"
INFOMAIL="[EMAIL PROTECTED]"

STARTFILE="$ZOPEDIR/start"
STOPFILE="$ZOPEDIR/stop"
PIDFILE="$ZOPEDIR/var/Z2.pid"
PID1ACTIVE=0
PID2ACTIVE=0
if [ -x $STARTFILE ]; then
  if [ -r $PIDFILE ]; then
PID1=`cut -d" " -f1 $PIDFILE`
PID2=`cut -d" " -f2 $PIDFILE`
if
ps -p $PID1 /dev/null 21
then
  PID1ACTIVE=1
fi
if
ps -p $PID2 /dev/null 21
then
  PID2ACTIVE=1
fi
  fi
  if [ $PID1ACTIVE -eq 0 -o $PID2ACTIVE -eq 0 ]; then
$STOPFILE /dev/null 21
sleep 10
$STARTFILE -P $PORTMASK -Z 'var/Z2.pid'
    date | mail -s"Zope restarted" $INFOMAIL /dev/null 21
  fi
fi


Regards
--
Adam Karpierz
[EMAIL PROTECTED]



begin 666 .start
M(R$@+V)I;B]S: H*6D]0141)4CTB+VAO;64O861AF5S+UIO4B"E!/4E1-
M05-+/2(X,# P(@I)3D9/34%)3#TB861AF5S0%LAA+G!L(@H*4U1!4E1
M24Q%/2(D6D]0141)4B]S=%R="(*4U1/4$9)3$4](B1:3U!%1$E2+W-T;W B
M"E!)1$9)3$4](B1:3U!%1$E2+W9AB]:,BYP:60B"E!)1#%!0U1)5D4], I0
M240R04-4259%/3 *:68@6R M" D4U1!4E124Q%(%T[('1H96X*("!I9B!;
M("UR("1024124Q%(%T[('1H96X*(" @(%!)1#$]8-U=" M9"(@(B M9C$@
M)%!)1$9)3$5@"B @("!0240R/6!C=70@+60B("(@+68R("1024124Q%8 H@
M(" @:68*(" @('!S("UP("10240Q(#XO95V+VYU;P@,CXF,2 *(" @('1H
M96X*(" @(" @4$E$,4%#5$E613TQ"B @("!F:0H@(" @:68*(" @('!S("UP
M("10240R(#XO95V+VYU;P@,CXF,0H@(" @=AE;@H@(" @("!0240R04-4
M259%/3$*(" @(9I"B @9FD*("!I9B!;("10240Q04-4259%("UE2 P("UO
M("10240R04-4259%("UE2 P(%T[('1H96X*(" @("135$]01DE,12 ^+V1E
M=B]N=6QL(#(^)C$*(" @('-L965P(#$P"B @(" D4U1!4E124Q%("U0("10
M3U)434%32R M6B G=F%R+UHR+G!I9"*(" @(1A=4@?"!M86EL("US(EIO
M4@F5S=%R=5D(B D24Y3TU!24P@/B]D978O;G5L;" R/B8Q"B @9FD*
#9FD*
`
end


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope-dev] Patch for extended expression syntax of dtml-tag attributes.

2000-08-22 Thread Adam Karpierz

Very please for discussion and acceptance:

http://classic.zope.org:8080/Collector/1541/view

Regards
--
Adam Karpierz
[EMAIL PROTECTED]



___
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.zope.org/mailman/listinfo/zope )




Re: [Zope] dtml-tree, the bane of my life :(

2000-08-22 Thread Adam Karpierz

Okay, firstly, I notice dtml-tree doesn't support the standard
abbreviation:

dtml-TAG "x" - dtml-TAG expr="x"

As the following:

dtml-tree "_.getitem('sequence-item',0)" branches="postingValues"

gives me:

Error Type: KeyError
Error Value: "_.getitem('sequence-item',0)"

There is a patch for it:
http://classic.zope.org:8080/Collector/1540/view

Regards
--
Adam Karpierz
[EMAIL PROTECTED]




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Extended expression syntax for 'sort' attribute of dtml-in tag (sort-python=...).

2000-08-22 Thread Adam Karpierz

Very please for discussion and acceptance:

http://classic.zope.org:8080/Collector/1542/view

Regards
--
Adam Karpierz
[EMAIL PROTECTED]



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Help: Confera product broken.

2000-08-01 Thread Adam Karpierz

-WiadomoϾ oryginalna-
Od: Gilles Lavaux [EMAIL PROTECTED]
Do: [EMAIL PROTECTED] [EMAIL PROTECTED]
Data: 1 sierpnia 2000 18:03
Temat: [Zope] Help: Confera product broken.


hello,

Probably something stupid:
   under zope2.2.0 I can not install confera 1.2, the product is broken.
Error is:
[...]
  File "/var/zope/Zope-2.2.0-src/lib/python/SearchIndex/TextIndex.py", line
217, in ?
from Lexicon import Lexicon, query, stop_word_dict
ImportError: cannot import name query

What is the solution??


This is'nt Confera bug. It is undoudtedly Zope 2.2.0 bug.
Currently I am working on a patch witch (maybe) fix this bug.
I let you know if it will be finished.

--
Adam Karpierz
[EMAIL PROTECTED]





___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Variable sort in dtml-in

2000-07-14 Thread Adam Karpierz

In my search form, I have a selection box "in_sort_by" whose value can
be "Category", "Field", or "Title".  I am trying to make dtml-in sort by
this value.  I am using:

 dtml-in SQL_search sort="_['in_sort_by']" size=list_size
start=query_start

Hi Aaron again

I have attached appropriate patch for dtml-in tag for Zope 2.2.0b3/b4
(Of course this patch was checked and works ok).

Just for you, the syntax of my patch for dtml-in should be:

dtml-in SQL_search sort="expr:_['in_sort_by']" size=list_size start=query_start

or best and simply (and strict equivalent above):

dtml-in SQL_search sort="expr:in_sort_by" size=list_size start=query_start

I want extend my proposal to others attributes like eg. size:

dtml-in SQL_search sort="expr:in_sort_by"
  size="expr:REQUEST.user_list_size" 
start=query_start

It is possible easy extend other DTML tags through the same way  too,
but I dont know what other zopistas (especcially from DC)  thinks about this.

My syntax proposal is one which not caused serious comtatibility problems.
Eg. natural syntax attr="something" is treated (unfortunately) as attr=something
and therefore would not be adapt and apply for indirect lookup of attribute
without breaking of compatibility.

Very please all for comments.

--
Adam Karpierz
[EMAIL PROTECTED]



begin 666 DT_In.py
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C#0HC( T*(R!:;W!E
M(%!U8FQI8R!,:6-E;G-E("A:4$PI(%9EG-I;VX@,2XP#0HC("TM+2TM+2TM
M+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2T-"B,@#0HC($-O'ER:6=H
M=" H8RD@1EG:71A;"!#F5A=EO;G,N("!!;P@FEG:'1S(')EV5R=F5D
M+@T*(R -"B,@5AIR!L:6-E;G-E(AAR!B965N(-EG1I9FEE9"!AR!/
M5N(%-O=7)C92AT;2DN#0HC( T*(R!2961IW1R:6)U=EO;B!A;F0@=7-E
M(EN('-O=7)C92!A;F0@8FEN87)Y(9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@("!C;VYT:6YU97,@=\@9W)O=RX@5AIR!IR!O;F4@=V%Y('1O
M(%SW5R92!T:%T(=R;W=T:"X-"B,@#0HC(#0N($%L;"!A9'9EG1IVEN
M9R!M871EFEA;',@86YD(1O8W5M96YT871I;VX@;65N=EO;FEN9PT*(R @
M("!F96%T=7)ER!D97)I=F5D(9R;VT@;W(@=7-E(]F('1H:7,@V]F='=A
MF4@;75S="!D:7-P;%Y#0HC(" @('1H92!F;VQL;W=I;F@86-K;F]W;5D
M9V5M96YT.@T*(R -"B,@(" @(" B5AIR!PF]D=6-T(EN8VQU95S('-O
M9G1W87)E(1E=F5L;W!E9"!B2!$:6=I=%L($-R96%T:6]NPT*(R @(" @
M(9OB!UV4@:6X@=AE(%H@3V)J96-T(%!U8FQIVAI;F@16YV:7)O;FUE
M;G0-"B,@(" @(" H:'1T#HO+W=W=RYZ;W!E+F]R9R\I+B(-"B,@#0HC(" @
M($EN('1H92!E=F5N="!T:%T('1H92!PF]D=6-T()E:6YG(%D=F5R=ES
M960@:6YC;'5D97,@86X-"B,@(" @:6YT86-T(%IO4@9ES=')I8G5T:6]N
M("AW:71H(-O'ER:6=H="!A;F0@;EC96YS92!I;F-L=61E9"D-"B,@(" @
M=AE;B!T:ES(-L875S92!IR!W86EV960N#0HC( T*(R U+B!.86UER!A
MW-O8VEA=5D('=I=@@6F]P92!OB!$:6=I=%L($-R96%T:6]NR!M=7-T
M(YO="!B92!UV5D('1O#0HC(" @(5N9]RV4@;W(@')O;6]T92!PF]D
M=6-TR!D97)I=F5D(9R;VT@=AIR!S;V9T=V%R92!W:71H;W5T#0HC(" @
M('!R:6]R('=R:71T96X@5R;6ESVEO;B!FF]M($1I9VET86P@0W)E871I
M;VYS+@T*(R -"B,@-BX@36]D:69I960@F5D:7-TFEB=71I;VYS(]F(%N
M2!F;W)M('=H871S;V5V97(@;75S="!R971A:6X-"B,@(" @=AE(9O;QO
M=VEN9R!A8VMN;W=L961G;65N=#H-"B,@#0HC(" @(" @(E1H:7,@')O9'5C
M="!I;F-L=61ER!S;V9T=V%R92!D979E;]P960@8GD@1EG:71A;"!#F5A
M=EO;G,-"B,@(" @("!F;W(@=7-E(EN('1H92!:($]B:F5C="!0=6)L:7-H
M:6YG($5N=FER;VYM96YT#0HC(" @(" @*AT=' Z+R]W=WNF]P92YOFO
M*2XB#0HC( T*(R @("!);G1A8W0@*')E+2ED:7-TFEB=71I;VYS(]F(%N
M2!O9F9I8VEA;"!:;W!E(')E;5AV4@9\@;F]T#0HC(" @(')E75IF4@
M86X@97AT97)N86P@86-K;F]W;5D9V5M96YT+@T*(R -"B,@-RX@36]D:69I
M8V%T:6]NR!AF4@96YC;W5R86=E9"!B=70@;75S="!B92!P86-K86=E9"

[Zope-dev] Patch lets use Python expression syntax for attribute 'sort' in dtml-in .. tag. Discussion needed !

2000-07-12 Thread Adam Karpierz

Proposals for python expression syntax for sorting in dtml-in ... tag:

Currently is:
0) sort=literal, sort="literal"
Proposals:
1) sort=literalsort="expression" ,   # best, but 
compatibility problem !!!
2) order=literal order="expression",
3) sort=literal, sort="literal" sortexpr=expression,  sortexpr="expression",
4) sort=literal, sort="literal" sort="expr:expression"   sort=expr:expression

Last (4) syntax is currently implemented in my patch.
I can implement others proposals but I dont know which is correct,
best and accepted by community and Zope developers from DC.
Very please for discussion.

Note: Of course in Zope 2.2.0 has implemented multiple key sorting
  (Ross Lazarus nice job:) and my patch works with multiple sort
  keys too.

I think that my 4) or similar proposition will be useful for
dynamically (indirection) setting others DTML tag attributes
in the future too. In addition without serious compatibility issues.

I have attached both: patch and modified file for Zope 2.2.0b3/b4.
Patch was tested and I think that works ok.

--
Adam Karpierz
[EMAIL PROTECTED]



begin 666 DT_In.py.patch
M*BHJ(QI8B]P71H;VXO1]C=6UE;G1496UP;%T92]$5%]);BYP2YOF)
M5AU($UA2 R-2 Q,CHS,SHT,R R,# P"BTM+2!L:6(O'ET:]N+T1O8W5M
M96YT55MQA=4O1%1?26XN'D)5V5D($IU;" Q,B P-SHR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('-OG0]/2=S97%U96YC
M92UI=5M)SH@V5L9BYS;W)T/2G"B @"B @(" @(" @("!I9B!H87-?:V5Y
M*"=R979EG-E)RDZ"B @(" @(" @(" @(" @V5L9BYR979EG-E/6%R9W-;
M)W)E=F5RV4G70HM+2T@-#(Q+#0T," M+2TM"B @(" @(" @("!H87-?:V5Y
M/6%R9W,N:%S7VME0H@( H@(" @(" @(" @:68@:%S7VME2@GV]R="I
M.@HA(" @(" @(" @(" @('-OG0]87)GULGV]R="=="B$@(" @(" @(" @
M(" @V]R=5X'(]3F]N90HA(" @(" @(" @(" @(EF('-OG0]/2=S97%U
M96YC92UI=5M)SH@"B$@(" @(" @(" @(" @(" @('-OG0])R*(2 @(" @
M(" @(" @("!E;EF('-OG1;.C5=/3TG97APCHG.@HA(" @(" @(" @(" @
M(" @("!S;W)T/7-OG1;-3I="B$@(" @(" @(" @(" @(" @('1R3H@V]R
M=5X'(]179A;"AS;W)T+"!E'!R7V=L;V)A;',I+F5V86P*(2 @(" @(" @
M(" @(" @(" @97AC97!T(%-Y;G1A$5RF]R+"!V.@HA(" @(" @(" @(" @
M(" @(" @(" @F%IV4@4%RV5%G)OBP@* HA(" @(" @(" @(" @(" @
M(" @(" @(" @("\W1R;VYG/D5X')EW-I;VX@*%!Y=AO;BD@4WEN=%X
M(5RF]R/"]S=')O;F^.B*(2 @(" @(" @(" @(" @(" @(" @(" @(" G
M7X\')E/EQN)7-;CPO')E/EQN)R E('9;,%TL"B$@(" @(" @(" @(" @
M(" @(" @(" @(" @)VEN)RD*(2 @(" @(" @(" @("!S96QF+G-OG0]V]R
M= HA(" @(" @(" @(" @('-E;8NV]R=5X'(]V]R=5X'(*(" *(" @
M(" @(" @(EF(AAU]K97DH)W)E=F5RV4G*3H*(" @(" @(" @(" @("!S
M96QF+G)E=F5RV4]87)GULGF5V97)S92=="BHJ*BHJ*BHJ*BHJ*BHJ*@HJ
M*BH@-#@Y+#0Y-B J*BHJ"B @(" @(" @(" *(" @(" @(" @(UA'!I;F]
MV5L9BYM87!P:6YG"B @"B$@(" @(" @("!I9B!S96QF+G-OG0@:7,@;F]T
M($YO;F4Z"B$@(" @(" @(" @(" @V5Q=65N8V4]V5L9BYS;W)T7W-E75E
M;F-E*'-E75E;F-E*0H@( H@(" @(" @(" @:68@V5L9BYR979EG-E(ES
M(YO="!.;VYE.@H@(" @(" @(" @(" @('-E75E;F-E/7-E;8NF5V97)S
M95]S97%U96YC92AS97%U96YC92D*+2TM(#4P

[Zope] Patch lets use Python expression syntax for attribute 'sort' in dtml-in .. tag. Discussion needed !

2000-07-12 Thread Adam Karpierz

Proposals for python expression syntax for sorting in dtml-in ... tag:

Currently is:
0) sort=literal, sort="literal"
Proposals:
1) sort=literalsort="expression" ,   # best, but 
compatibility problem !!!
2) order=literal order="expression",
3) sort=literal, sort="literal" sortexpr=expression,  sortexpr="expression",
4) sort=literal, sort="literal" sort="expr:expression"   sort=expr:expression

Last (4) syntax is currently implemented in my patch.
I can implement others proposals but I dont know which is correct,
best and accepted by community and Zope developers from DC.
Very please for discussion.

Note: Of course in Zope 2.2.0 has implemented multiple key sorting
  (Ross Lazarus nice job:) and my patch works with multiple sort
  keys too.

I think that my 4) or similar proposition will be useful for
dynamically (indirection) setting others DTML tag attributes
in the future too. In addition without serious compatibility issues.

I have attached both: patch and modified file for Zope 2.2.0b3/b4.
Patch was tested and I think that works ok.

--
Adam Karpierz
[EMAIL PROTECTED]



begin 666 DT_In.py.patch
M*BHJ(QI8B]P71H;VXO1]C=6UE;G1496UP;%T92]$5%]);BYP2YOF)
M5AU($UA2 R-2 Q,CHS,SHT,R R,# P"BTM+2!L:6(O'ET:]N+T1O8W5M
M96YT55MQA=4O1%1?26XN'D)5V5D($IU;" Q,B P-SHR-CHS,R R,# P
M"BHJ*BHJ*BHJ*BHJ*BHJ*@HJ*BH@,S@U+#,Y," J*BHJ"BTM+2 S.#4L,SDQ
M("TM+2T*("!?7W)CU]I9%]?/2D260Z($147TEN+G!Y+'8@,2XT," R,#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V4G70HM+2T@-#(Q+#0T," M+2TM"B @(" @(" @("!H87-?:V5Y
M/6%R9W,N:%S7VME0H@( H@(" @(" @(" @:68@:%S7VME2@GV]R="I
M.@HA(" @(" @(" @(" @('-OG0]87)GULGV]R="=="B$@(" @(" @(" @
M(" @V]R=5X'(]3F]N90HA(" @(" @(" @(" @(EF('-OG0]/2=S97%U
M96YC92UI=5M)SH@"B$@(" @(" @(" @(" @(" @('-OG0])R*(2 @(" @
M(" @(" @("!E;EF('-OG1;.C5=/3TG97APCHG.@HA(" @(" @(" @(" @
M(" @("!S;W)T/7-OG1;-3I="B$@(" @(" @(" @(" @(" @('1R3H@V]R
M=5X'(]179A;"AS;W)T+"!E'!R7V=L;V)A;',I+F5V86P*(2 @(" @(" @
M(" @(" @(" @97AC97!T(%-Y;G1A$5RF]R+"!V.@HA(" @(" @(" @(" @
M(" @(" @(" @F%IV4@4%RV5%G)OBP@* HA(" @(" @(" @(" @(" @
M(" @(" @(" @("\W1R;VYG/D5X')EW-I;VX@*%!Y=AO;BD@4WEN=%X
M(5RF]R/"]S=')O;F^.B*(2 @(" @(" @(" @(" @(" @(" @(" @(" G
M7X\')E/EQN)7-;CPO')E/EQN)R E('9;,%TL"B$@(" @(" @(" @(" @
M(" @(" @(" @(" @)VEN)RD*(2 @(" @(" @(" @("!S96QF+G-OG0]V]R
M= HA(" @(" @(" @(" @('-E;8NV]R=5X'(]V]R=5X'(*(" *(" @
M(" @(" @(EF(AAU]K97DH)W)E=F5RV4G*3H*(" @(" @(" @(" @("!S
M96QF+G)E=F5RV4]87)GULGF5V97)S92=="BHJ*BHJ*BHJ*BHJ*BHJ*@HJ
M*BH@-#@Y+#0Y-B J*BHJ"B @(" @(" @(" *(" @(" @(" @(UA'!I;F]
MV5L9BYM87!P:6YG"B @"B$@(" @(" @("!I9B!S96QF+G-OG0@:7,@;F]T
M($YO;F4Z"B$@(" @(" @(" @(" @V5Q=65N8V4]V5L9BYS;W)T7W-E75E
M;F-E*'-E75E;F-E*0H@( H@(" @(" @(" @:68@V5L9BYR979EG-E(ES
M(YO="!.;VYE.@H@(" @(" @(" @(" @('-E75E;F-E/7-E;8NF5V97)S
M95]S97%U96YC92AS97%U96YC92D*+2TM(#4P

Re: [Zope] Zope patches or update for Python 2.0?

2000-07-12 Thread Adam Karpierz

I would suggest trying 2.2 beta 4. I think that all of
the multi-arg append()'s are out of that

Not quite. I currently found 3 events.
I will send apropriate patches to Collector today.
I promise that will check all of Zope sources for
append() incompatibility (without non-standard
Products of course :).
Maybe for socket.connect() too.

Adam Karpierz
[EMAIL PROTECTED]




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Zope patches or update for Python 2.0?

2000-07-12 Thread Adam Karpierz

Great - if you hunt 'em down, I'll make sure the
fixes get in for 2.2 final.

thanks!


I have done.
Both list.append() and socket.connect().
All things in Collector.

Regards
--
Adam Karpierz
[EMAIL PROTECTED]




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] medusa question

2000-07-03 Thread Adam Karpierz

Where does medusa look for html files by default? I have regular old html
files that I'd like to make available without fiddling with Zope. Is that
possible?


Yes , but through use Medusa as standalone server.
Look at http://www.nightmare.com/medusa/index.html
Download http://www.nightmare.com/medusa/medusa-src-2601.tar.gz
and look at and /docs directory,  INSTALL.txt and especially, start_medusa.py.

Adam Karpierz
[EMAIL PROTECTED]




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope-dev] Patch to allow expression syntax for attribute 'sort' in dtml-in .. tag. Very please, test it !

2000-07-01 Thread Adam Karpierz

Dear community

Please check out and test this patch that I would send it to Collector.
I suppose that this feature is very usefull for us and would be good
thing if will be insert in next beta of Zope2.2.0.
This patch is crude, without any checks (because my Zope needs reinstall),
but very simple and I not quess that is so buggy.

PS: Second little patch I have attached is only cosmetic and not important.

(apologies for my 'english'..)
--
Regards
Adam Karpierz
[EMAIL PROTECTED]



begin 666 DT_In.py.patch
M*BHJ(QI8B]P71H;VXO1]C=6UE;G1496UP;%T92]$5%]);BYP2YOF)
M5AU($UA2 R-2 Q,CHS,SHT,R R,# P"BTM+2!L:6(O'ET:]N+T1O8W5M
M96YT55MQA=4O1%1?26XN'D)4W5N($IU;" P,B P,#HQ.3HU.2 R,# P
M"BHJ*BHJ*BHJ*BHJ*BHJ*@HJ*BH@,S@U+#,Y," J*BHJ"BTM+2 S.#4L,SDQ
M("TM+2T*("!?7W)CU]I9%]?/2D260Z($147TEN+G!Y+'8@,2XT," R,# P
M+S U+S(U(#$V.C,S.C0T('-H86YE($5X" D)PH@(%]?=F5RVEO;E]?/2D
M4F5V:7-I;VXZ(#$N-# @)"=;,3$Z+3)="B @"BL@9G)O;2!$5%]5=EL(EM
M]R="!%=F%L+"!E'!R7V=L;V)A;',*("!FF]M($147U5T:6P@:6UP;W)T
M(%!AG-E17)R;W(L('!AG-E7W!AF%MRP@;F%M95]P87)A;2P@W1R"B @
M9G)O;2!$5%]5=EL(EM]R="!R96YD97)?8FQO8VMS+"!);G-T86YC941I
M8W0L(%9A;ED871I;VY%G)O@H@(9R;VT@W1R:6YG(EM]R="!F:6YD
M+"!A=]I+"!J;VEN+"!SQI= HJ*BHJ*BHJ*BHJ*BHJ*BH**BHJ(#0P-2PT
M,3$@*BHJ*@H@( H@(-L87-S($EN0VQAW,Z"B @(" @(5LV5S/4YO;F4*
M(2 @(" @97APCUS;W)T/6)A=-H/6UA'!I;F]3F]N90H@(" @("!S=%R
M=%]N86UE7W)E/4YO;F4*(" @(" @F5V97)S93U.;VYE"B @(" @( HM+2T@
M-# V+#0Q,B M+2TM"B @"B @8VQAW,@26Y#;%SSH*(" @(" @96QS97,]
M3F]N90HA(" @("!E'!R/7-OG0]V]R=5X'(]8F%T8V@];6%PEN9SU.
M;VYE"B @(" @('-T87)T7VYA;65?F4]3F]N90H@(" @("!R979EG-E/4YO
M;F4*(" @(" @"BHJ*BHJ*BHJ*BHJ*BHJ*@HJ*BH@-#(P+#0R-R J*BHJ"B @
M(" @(" @("!H87-?:V5Y/6%R9W,N:%S7VME0H@( H@(" @(" @(" @:68@
M:%S7VME2@GV]R="I.@HA(" @(" @(" @(" @('-E;8NV]R=#US;W)T
M/6%R9W-;)W-OG0G70HA(" @(" @(" @(" @(EF('-OG0]/2=S97%U96YC
M92UI=5M)SH@V5L9BYS;W)T/2G"B @"B @(" @(" @("!I9B!H87-?:V5Y
M*"=R979EG-E)RDZ"B @(" @(" @(" @(" @V5L9BYR979EG-E/6%R9W-;
M)W)E=F5RV4G70HM+2T@-#(Q+#0T," M+2TM"B @(" @(" @("!H87-?:V5Y
M/6%R9W,N:%S7VME0H@( H@(" @(" @(" @:68@:%S7VME2@GV]R="I
M.@HA(" @(" @(" @(" @('-OG0]87)GULGV]R="=="B$@(" @(" @(" @
M(" @V]R=5X'(]3F]N90HA(" @(" @(" @(" @(EF('-OG0]/2=S97%U
M96YC92UI=5M)SH@"B$@(" @(" @(" @(" @(" @('-OG0])R*(2 @(" @
M(" @(" @("!E;EF('-OG1;.C%=/3TG(B@86YD('-OG1;+3$Z73T])R(G
M(%N9"!L96XHV]R="D@/B Q.@HA(" @(" @(" @(" @(" @("!S;W)T/7-O
MG1;,3HM,5T*(2 @(" @(" @(" @(" @(" @=')Y.B!S;W)T97APCU%=F%L
M*'-OG0L(5X')?9VQO8F%LRDN979A; HA(" @(" @(" @(" @(" @("!E
M-E'0@4WEN=%X17)R;W(L('8Z"B$@(" @(" @(" @(" @(" @(" @("!R
M86ES92!087)S945RF]R+" H"B$@(" @(" @(" @(" @(" @(" @(" @(" @
M)SQS=')O;F^17APF5SVEO;B H4'ET:]N*2!36YT87@@97)R;W(\+W-T
MF]N9SXZ)PHA(" @(" @(" @(" @(" @(" @(" @(" @("=;CQPF4^7XE
MUQN/"]PF4^7XG("4@=ELP72P*(2 @(" @(" @(" @(" @(" @(" @(" @
M(" G:6XG*0HA(" @(" @(" @(" @('-E;8NV]R=#US;W)T"B$@(" @(" @
M(" @(" @V5L9BYS;W)T97APCUS;W)T97AP@H@( H@(" @(" @(" @:68@
M:%S7VME2@GF5V97)S92I.@H@(" @(" @(" @(" @('-E;8NF5V97)S
M93UAF=S6R=R979EG-E)UT**BHJ*BHJ*BHJ*BHJ*BHJ"BHJ*B T.#DL-#DV
M("HJ*BH*(" @(" @(" @( H@(" @(" @(" @;6%PEN9SUS96QF+FUA'!I
M;F*(" *(2 @(" @(" @(EF('-E;8NV]R="!IR!N;W0@3F]N93H*(2 @
M(" @(" @(" @("!S97%U96YC93US96QF+G-OG1?V5Q=65N8V4HV5Q=65N
M8V4I"B @"B @(" @(" @("!I9B!S96QF+G)E=F5RV4@:7,@;F]T($YO;F4Z
M"B @(" @(" @(" @(" @V5Q=65N8V4]V5L9BYR979EG-E7W-E75E;F-E
M*'-E75E;F-E*0HM+2T@-3 R+#4Q,2 M+2TM"B @(" @(" @(" *(" @(" @
M(" @(UA'!I;F]V5L9BYM87!P:6YG"B @"B$@(" @(" @("!S;W)T/7-E
M;8NV]R= HA(" @(" @(" @:68@V]R="!IR!N;W0@3F]N93H*(2 @(" @
M(" @(" @("!I9B!S96QF+G-OG1E'!R(ES(YO="!.;VYE.B!S;W)T/7-E
M;8NV]R=5X'(H;60I"B$@(" @(" @(" @(" @V5Q=65N8V4]V5L9BYS
M;W)T7W-E75E;F-E*'-E75E;F-E+"!S;W)T*0H@( H@(" @(" @(" @:68@
MV5L9BYR979EG-E(ES(YO="!.;VYE.@H@(" @(" @(" @(" @('-E75E
M;F-E/7-E;8NF5V97)S95]S97%U96YC92AS97%U96YC92D**BHJ*BHJ*BHJ
M*BHJ*BHJ"BHJ*B V-#0L-C4Q("HJ*BH*(" @(" @("

[Zope] Patch to allow expression syntax for attribute 'sort' in dtml-in .. tag. Very please, test it !

2000-07-01 Thread Adam Karpierz

Dear community

Please check out and test this patch that I would send it to Collector.
I suppose that this feature is very usefull for us and would be good
thing if will be insert in next beta of Zope2.2.0.
This patch is crude, without any checks (because my Zope needs reinstall),
but very simple and I not quess that is so buggy.

PS: Second little patch I have attached is only cosmetic and not important.

(apologies for my 'english'..)
--
Regards
Adam Karpierz
[EMAIL PROTECTED]



begin 666 DT_In.py.patch
M*BHJ(QI8B]P71H;VXO1]C=6UE;G1496UP;%T92]$5%]);BYP2YOF)
M5AU($UA2 R-2 Q,CHS,SHT,R R,# P"BTM+2!L:6(O'ET:]N+T1O8W5M
M96YT55MQA=4O1%1?26XN'D)4W5N($IU;" P,B P,#HQ.3HU.2 R,# P
M"BHJ*BHJ*BHJ*BHJ*BHJ*@HJ*BH@,S@U+#,Y," J*BHJ"BTM+2 S.#4L,SDQ
M("TM+2T*("!?7W)CU]I9%]?/2D260Z($147TEN+G!Y+'8@,2XT," R,# P
M+S U+S(U(#$V.C,S.C0T('-H86YE($5X" D)PH@(%]?=F5RVEO;E]?/2D
M4F5V:7-I;VXZ(#$N-# @)"=;,3$Z+3)="B @"BL@9G)O;2!$5%]5=EL(EM
M]R="!%=F%L+"!E'!R7V=L;V)A;',*("!FF]M($147U5T:6P@:6UP;W)T
M(%!AG-E17)R;W(L('!AG-E7W!AF%MRP@;F%M95]P87)A;2P@W1R"B @
M9G)O;2!$5%]5=EL(EM]R="!R96YD97)?8FQO8VMS+"!);G-T86YC941I
M8W0L(%9A;ED871I;VY%G)O@H@(9R;VT@W1R:6YG(EM]R="!F:6YD
M+"!A=]I+"!J;VEN+"!SQI= HJ*BHJ*BHJ*BHJ*BHJ*BH**BHJ(#0P-2PT
M,3$@*BHJ*@H@( H@(-L87-S($EN0VQAW,Z"B @(" @(5LV5S/4YO;F4*
M(2 @(" @97APCUS;W)T/6)A=-H/6UA'!I;F]3F]N90H@(" @("!S=%R
M=%]N86UE7W)E/4YO;F4*(" @(" @F5V97)S93U.;VYE"B @(" @( HM+2T@
M-# V+#0Q,B M+2TM"B @"B @8VQAW,@26Y#;%SSH*(" @(" @96QS97,]
M3F]N90HA(" @("!E'!R/7-OG0]V]R=5X'(]8F%T8V@];6%PEN9SU.
M;VYE"B @(" @('-T87)T7VYA;65?F4]3F]N90H@(" @("!R979EG-E/4YO
M;F4*(" @(" @"BHJ*BHJ*BHJ*BHJ*BHJ*@HJ*BH@-#(P+#0R-R J*BHJ"B @
M(" @(" @("!H87-?:V5Y/6%R9W,N:%S7VME0H@( H@(" @(" @(" @:68@
M:%S7VME2@GV]R="I.@HA(" @(" @(" @(" @('-E;8NV]R=#US;W)T
M/6%R9W-;)W-OG0G70HA(" @(" @(" @(" @(EF('-OG0]/2=S97%U96YC
M92UI=5M)SH@V5L9BYS;W)T/2G"B @"B @(" @(" @("!I9B!H87-?:V5Y
M*"=R979EG-E)RDZ"B @(" @(" @(" @(" @V5L9BYR979EG-E/6%R9W-;
M)W)E=F5RV4G70HM+2T@-#(Q+#0T," M+2TM"B @(" @(" @("!H87-?:V5Y
M/6%R9W,N:%S7VME0H@( H@(" @(" @(" @:68@:%S7VME2@GV]R="I
M.@HA(" @(" @(" @(" @('-OG0]87)GULGV]R="=="B$@(" @(" @(" @
M(" @V]R=5X'(]3F]N90HA(" @(" @(" @(" @(EF('-OG0]/2=S97%U
M96YC92UI=5M)SH@"B$@(" @(" @(" @(" @(" @('-OG0])R*(2 @(" @
M(" @(" @("!E;EF('-OG1;.C%=/3TG(B@86YD('-OG1;+3$Z73T])R(G
M(%N9"!L96XHV]R="D@/B Q.@HA(" @(" @(" @(" @(" @("!S;W)T/7-O
MG1;,3HM,5T*(2 @(" @(" @(" @(" @(" @=')Y.B!S;W)T97APCU%=F%L
M*'-OG0L(5X')?9VQO8F%LRDN979A; HA(" @(" @(" @(" @(" @("!E
M-E'0@4WEN=%X17)R;W(L('8Z"B$@(" @(" @(" @(" @(" @(" @("!R
M86ES92!087)S945RF]R+" H"B$@(" @(" @(" @(" @(" @(" @(" @(" @
M)SQS=')O;F^17APF5SVEO;B H4'ET:]N*2!36YT87@@97)R;W(\+W-T
MF]N9SXZ)PHA(" @(" @(" @(" @(" @(" @(" @(" @("=;CQPF4^7XE
MUQN/"]PF4^7XG("4@=ELP72P*(2 @(" @(" @(" @(" @(" @(" @(" @
M(" G:6XG*0HA(" @(" @(" @(" @('-E;8NV]R=#US;W)T"B$@(" @(" @
M(" @(" @V5L9BYS;W)T97APCUS;W)T97AP@H@( H@(" @(" @(" @:68@
M:%S7VME2@GF5V97)S92I.@H@(" @(" @(" @(" @('-E;8NF5V97)S
M93UAF=S6R=R979EG-E)UT**BHJ*BHJ*BHJ*BHJ*BHJ"BHJ*B T.#DL-#DV
M("HJ*BH*(" @(" @(" @( H@(" @(" @(" @;6%PEN9SUS96QF+FUA'!I
M;F*(" *(2 @(" @(" @(EF('-E;8NV]R="!IR!N;W0@3F]N93H*(2 @
M(" @(" @(" @("!S97%U96YC93US96QF+G-OG1?V5Q=65N8V4HV5Q=65N
M8V4I"B @"B @(" @(" @("!I9B!S96QF+G)E=F5RV4@:7,@;F]T($YO;F4Z
M"B @(" @(" @(" @(" @V5Q=65N8V4]V5L9BYR979EG-E7W-E75E;F-E
M*'-E75E;F-E*0HM+2T@-3 R+#4Q,2 M+2TM"B @(" @(" @(" *(" @(" @
M(" @(UA'!I;F]V5L9BYM87!P:6YG"B @"B$@(" @(" @("!S;W)T/7-E
M;8NV]R= HA(" @(" @(" @:68@V]R="!IR!N;W0@3F]N93H*(2 @(" @
M(" @(" @("!I9B!S96QF+G-OG1E'!R(ES(YO="!.;VYE.B!S;W)T/7-E
M;8NV]R=5X'(H;60I"B$@(" @(" @(" @(" @V5Q=65N8V4]V5L9BYS
M;W)T7W-E75E;F-E*'-E75E;F-E+"!S;W)T*0H@( H@(" @(" @(" @:68@
MV5L9BYR979EG-E(ES(YO="!.;VYE.@H@(" @(" @(" @(" @('-E75E
M;F-E/7-E;8NF5V97)S95]S97%U96YC92AS97%U96YC92D**BHJ*BHJ*BHJ
M*BHJ*BHJ"BHJ*B V-#0L-C4Q("HJ*BH*(" @(" @("

[Zope-dev] Zope2.2.0b3 Image/File object create/upload bug (w/patch)

2000-06-27 Thread Adam Karpierz

This bug causes that there is impossible to
add/create/upload etc. Image and/or File object
if image/file body has a file type
(type(file) == FileType) in:
def manage_addImage(self, id, file, title='',..
def manage_addFile(self, id, file='', title='',..

The patch has attached.



begin 666 Image.py.patch
M*BHJ(QI8EQP71H;VY3T937$EM86=E+G!Y+F]R9PE4=64@2G5N(#(P(#$U
M.C(X.C,Y(#(P,# *+2TM(QI8EQP71H;VY3T937$EM86=E+G!Y"5=E9"!*
M=6X@,C@@,#,Z,3,Z,S$@,C P, HJ*BHJ*BHJ*BHJ*BHJ*BH**BHJ(#DW+#$P
M-B J*BHJ"B @9G)O;2!';]B86QS(EM]R="!097)S:7-T96YT"B @9G)O
M;2!!8W%U:7-I=EO;B!I;7!OG0@26UP;EC:70*("!FF]M($1A=54:6UE
M(EM]R="!$871E5EM90H@( H@( HM(%-TFEN9U1Y4]='EP92@G)RD*
M+2 *("!M86YA9V5?861D1FEL949OFT]2%1-3$9I;4H)VEM86=E061D)RP@
M9VQO8F%LR@I+$MI;F0])T9I;4G+MI;F0])V9I;4G*0H@(1E9B!M86YA
M9V5?861D1FEL92AS96QF+ED+9I;4])RL=ET;4])RL')E8V]N9ET
M:6]N/2G+"!C;VYT96YT7W1Y4])RL"B @(" @(" @(" @(" @(" @(" @
M(%)%455%4U0]3F]N92DZ"BTM+2 Y-RPQ,#4@+2TM+0H@(9R;VT@1VQO8F%L
MR!I;7!OG0@45RVES=5N= H@(9R;VT@06-Q=6ES:71I;VX@:6UP;W)T
M($EMQI8VET"B @9G)O;2!$871E5EM92!I;7!OG0@1%T951I;64**R!F
MF]M('1Y5S(EM]R="!);G-T86YC951Y4L(%-TFEN9U1Y4*(" *
M(" *("!M86YA9V5?861D1FEL949OFT]2%1-3$9I;4H)VEM86=E061D)RP@
M9VQO8F%LR@I+$MI;F0])T9I;4G+MI;F0])V9I;4G*0H@(1E9B!M86YA
M9V5?861D1FEL92AS96QF+ED+9I;4])RL=ET;4])RL')E8V]N9ET
M:6]N/2G+"!C;VYT96YT7W1Y4])RL"B @(" @(" @(" @(" @(" @(" @
M(%)%455%4U0]3F]N92DZ"BHJ*BHJ*BHJ*BHJ*BHJ*@HJ*BH@,C@R+#(Y-R J
M*BHJ"B @"B @(" @(1E9B!?F5A9%]D871A*'-E;8L(9I;4I.@H@(" @
M(" @(" @"B @(" @(" @("!N/3$\/#$V"B @(" @(" @(" *(" @(" @(" @
M(EF('1Y4H9FEL92D@:7,@4W1R:6YG5'EP93H*(" @(" @(" @(" @("!S
M:7IE/6QE;BAF:6QE*0H@(" @(" @(" @(" @(EF('-IF4@/"!N.B!R971U
MFX@9FEL92P@VEZ90H@(" @(" @(" @(" @(')E='5R;B!09%T82AF:6QE
M*2P@VEZ90HM( HM(" @(" @(" @:68@9FEL92Y?7V-L87-S7U\@:7,@41A
M=$Z"BT@(" @(" @(" @(" @VEZ93UL96XH9FEL92D*+2 @(" @(" @(" @
M("!R971UFX@9FEL92P@VEZ90H@( H@(" @(" @(" @V5E:SUF:6QE+G-E
M96L*(" @(" @(" @(')E860]9FEL92YR96%D"BTM+2 R.#$L,CDV("TM+2T*
M(" *(" @(" @95F(%]R96%D7V1A=$HV5L9BP@9FEL92DZ"B @(" @(" @
M(" **R @(" @(" @(EF('1Y4H9FEL92D@:7,@26YS=%N8V547!E(%N
M9"!F:6QE+E]?8VQAW-?7R!IR!09%T83H**R @(" @(" @(" @("!S:7IE
M/6QE;BAF:6QE*0HK(" @(" @(" @(" @(')E='5R;B!F:6QE+"!S:7IE"BL@
M"B @(" @(" @("!N/3$\/#$V"B @(" @(" @(" *(" @(" @(" @(EF('1Y
M4H9FEL92D@:7,@4W1R:6YG5'EP93H*(" @(" @(" @(" @("!S:7IE/6QE
M;BAF:6QE*0H@(" @(" @(" @(" @(EF('-IF4@/"!N.B!R971UFX@9FEL
M92P@VEZ90H@(" @(" @(" @(" @(')E='5R;B!09%T82AF:6QE*2P@VEZ
M90H@( H@(" @(" @(" @V5E:SUF:6QE+G-E96L*(" @(" @(" @(')E860]
*9FEL92YR96%D"@``
`
end


___
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.zope.org/mailman/listinfo/zope )




Re: [Zope] zgadfly and zsql problem

2000-06-23 Thread Adam Karpierz

[...]
but it s seems that zgadfly doesn t support da LIKE sql tag!
anyone have an ID ???

From gadfly FAQ:

"""
Where is the LIKE predicate?

The LIKE predicate for string matching is still not supported at the SQL level. For 
what it's worth, it is easy to use Python's
string matching (regex, re, string.search, etcetera) facilities on the result of a 
query. Also, for what it's worth, since the
gadfly optimizer won't easily be able to optimize for string matching the "by hand" 
method would essentially be what gadfly would do
anyway, without major modifications to the implementation.
"""

Adam Karpierz
[EMAIL PROTECTED]




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope-dev] Re: [Zope] Re: Zope 2.1.5/6/7 upgrading issues

2000-06-16 Thread Adam Karpierz

Hi!

   My vote is here:

On Fri, 16 Jun 2000, Brian Lloyd wrote:
   o retract the 2.1.7 release in favor of getting 2.2 beta 2
 out on Monday, which doesn't have the cruft problem of
 the 2.1.x branch and contains all fixes to date (and
 which will fix SQLMethod problems and support the SiteAccess
 release that Evan is making today).

   I am not running any production servers (yet), so I better will start to
experiment with new Zope, rather than patching old one.
   Other people esp. those who run prod. servers free to have different
opinions :)


For me it's not big problem too (yet:) and better way to trying to use
new beta rather fighting with old patches and hacks.

But.. maybe will be a general problem for contributed products
wchich uses MailHost (such as EMarket, ETailer, maybe WordlPilot etc)
bacause MailHost API (especially MailHost.add)  method was changed
in 2.2 branch (in current 2.1.7 too), due to use of standard smtplib module.

And there is a big and serious problem (I think not only for me:).
On my Win box Zope2.2b1 craches (GFP), dont allow add objects (eg. Folder),
dont allow enter Control Panel if product incorect installed, etc..
2.2b1 is very , very unstable for now. Of course I understand the reasons
(a lot of very important changes).
If I would help to avoid some problems I can test v2.2b2 extensively, especially
on Win32 box (Win98, Win2000) and a little (for comparison of behaviour)
on RH Linux.

PS: appologize for my 'english'

Adam Karpierz
[EMAIL PROTECTED]




___
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.zope.org/mailman/listinfo/zope )




Re: [Zope-dev] Zope ...2.1.7 update - patches for MailHost

2000-06-15 Thread Adam Karpierz

Patches for MailHost product for Zope 2.1.7


begin 666 __init__.py.patch
M*BHJ(%]?:6YI=%]?+G!Y+F]R9PEFD@07!R(#(Q(#$P.C$Q.C$Q(#(P,# *
M+2TM(%]?:6YI=%]?+G!Y"49R:2!*=6X@,38@,#,Z-#DZ,#4@,C P, HJ*BHJ
M*BHJ*BHJ*BHJ*BH**BHJ(#$P,2PQ,#4@*BHJ*@H@(" @(" @(" @*0H@(" @
M(" I"B @"BT@(" @(-O;G1E'0NF5G:7-T97)(96QP*"D*+2 @(" @"BTM
/+2 Q,#$L,3 S("TM+2T*
`
end

begin 666 addMailHost_form.dtml.patch
M*BHJ(%D9$UA:6Q(;W-T7V9OFTN9'1M;"YOF)1G)I($%PB R,2 Q,#HQ
M,3HQ,2 R,# P"BTM+2!A91-86EL2]S=%]F;W)M+F1T;6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#D@*BHJ*@H@(" @(" @(" @
M(" @(UH;W-T/6UD6W-E;8N;6%I;AOW1="B @(" @(" @("!E;EF('-E
M;8NVUTAOW0Z"B @(" @(" @(" @(" @;6AOW0]36%I;$)AV4H*0HA
M(" @(" @(" @(" @(UH;W-T+E]I;FET*QO8V%L2]S=#UG971H;W-T;F%M
M92@I+"!S;71P2]S=#US96QF+G-M='!H;W-T+ HA(" @(" @(" @(" @(" @
M(" @(" @(" @('-M='!0;W)T/7-E;8N]R="D*(" *(" @(" @(" @(UH
M;W-T+G-E;F0HV5L9BYS96-T:6]N*UD+G1H:7,L(UD*2P@V5L9BYM86EL
M=\L('-E;8N;6%I;9R;VTL"B @(" @(" @(" @(" @(" @(" @('-E;8N
MW5B:F5C="P@V5L9BYE;F-O94I"BTM+2 Q.#(L,3@X("TM+2T*(" @(" @
M(" @(" @("!M:]S=#UM9%MS96QF+FUA:6QH;W-T70H@(" @(" @(" @96QI
M9B!S96QF+G-M='!H;W-T.@H@(" @(" @(" @(" @(UH;W-T/4UA:6Q"87-E
M*"D*(2 @(" @(" @(" @("!M:]S="Y?:6YI="AS;71P2]S=#US96QF+G-M
M='!H;W-T+"!S;71P4]R=#US96QF+G!OG0I"B @"B @(" @(" @("!M:]S
M="YS96YD*'-E;8NV5C=EO;BAM9"YT:ES+"!M9"DL('-E;8N;6%I;'1O
M+"!S96QF+FUA:6QFF]M+ H@(" @(" @(" @(" @(" @(" @("!S96QF+G-U
48FIE8W0L('-E;8N96YC;V1E*0H`
`
end


___
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.zope.org/mailman/listinfo/zope )