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] Dynamic ordering of DTML-IN?

2001-01-23 Thread Adam Karpierz

> You can use something like:
>
> 
> 
> 
> 
> 

For Zope.2.3.0+ you can use:



--
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] 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 2>&1
then
  PID1ACTIVE=1
fi
if
ps -p $PID2 >/dev/null 2>&1
then
  PID2ACTIVE=1
fi
  fi
  if [ $PID1ACTIVE -eq 0 -o $PID2ACTIVE -eq 0 ]; then
$STOPFILE >/dev/null 2>&1
sleep 10
    $STARTFILE -P $PORTMASK -Z 'var/Z2.pid'
date | mail -s"Zope restarted" $INFOMAIL >/dev/null 2>&1
  fi
fi


Regards
--
Adam Karpierz
[EMAIL PROTECTED]



begin 666 .start
M(R$@+V)I;B]S: H*6D]0141)4CTB+VAO;64O861A" D4U1!4E1&24Q%(%T[('1H96X*("!I9B!;
M("UR("10241&24Q%(%T[('1H96X*(" @(%!)1#$]8&-U=" M9"(@(B M9C$@
M)%!)1$9)3$5@"B @("!0240R/6!C=70@+60B("(@+68R("10241&24Q%8 H@
M(" @:68*(" @('!S("UP("10240Q(#XO9&5V+VYU;&P@,CXF,2 *(" @('1H
M96X*(" @(" @4$E$,4%#5$E613TQ"B @("!F:0H@(" @:68*(" @('!S("UP
M("10240R(#XO9&5V+VYU;&P@,CXF,0H@(" @=&AE;@H@(" @("!0240R04-4
M259%/3$*(" @(&9I"B @9FD*("!I9B!;("10240Q04-4259%("UE<2 P("UO
M("10240R04-4259%("UE<2 P(%T[('1H96X*(" @("135$]01DE,12 ^+V1E
M=B]N=6QL(#(^)C$*(" @('-L965P(#$P"B @(" D4U1!4E1&24Q%("U0("10
M3U)434%32R M6B G=F%R+UHR+G!I9"<*(" @(&1A=&4@?"!M86EL("US(EIO
M<&4@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] method

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 )




[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 )




[Zope] 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 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]

2000-08-22 Thread Adam Karpierz

>Okay, firstly, I notice dtml-tree doesn't support the standard
>abbreviation:
>
> -> 
>
>As the following:
>
>
>
>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 )




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] anyone skilled in the ways of changing page properties?

2000-07-28 Thread Adam Karpierz

>
>
>
>
>

you should use following or similar:



--
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-13 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:
>
> 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:



or best and simply (and strict equivalent above):



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



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(%9E2!F;W)M(&UU2!$:6=I=&%L($-R96%T:6]N2!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=61E2!O9F9I8VEA;"!:;W!E(')E;&5A2!S97!A0T*(R @("!L86)E;&5D(&%S('5N;V9F:6-I
M86P@9&ES=')I8G5T:6]N2!F;W)M+"!A2!$:6=I=&%L($-R96%T:6]N2!I;F1I
M=FED=6%L6YT87@@9F]R('1H92!I;B!C
M;VUM86YD(&ES.CH-"@T*(" @(" @(" @("4H:6X@;F%M92E;#0H@(" @(" @
M(" @(" @("!T97AT#0H@(" @(" @(" @)2AI;B!N86UE*5T-"@T*(" @(" @
M(%1H92!(5$U,('-Y;G1A>"!F;W(@=&AE(&EN(&-O;6UA;F0@:7,Z.@T*#0H@
M(" @(" @(" @/"$M+2-I;B!N86UE+2T^#0H@(" @(" @(" @(" @("!T97AT
M( T*(" @(" @(" @(#PA+2TC+VEN(&YA;64M+3X-"@T*(" @(" @4V5E('1H
M92!E>&%M<&QE(&)E;&]W('1H870@2!B92!C;VUB:6YE9"!T;R!D
M:7-P;&%Y(&$@<&]SGD@86-T:79A=&EO;B!I;G-T86YC
M97,N( T*#0H@(" @("!7:71H:6X@86X@)VEN)R!B;&]C:RP@=F%R:6%B;&5S
M(&%R92!S=6)S=&ET=71E9"!F&%M<&QE+"!T;R!G970-"B @(" @(" @(" @86X@:71E
M;7,@)W1I=&QE)R!A='1R:6)U=&4L('5S92 G2<@+2T@5&AE(&ME>2!A"P@"P@65D(&ES
M('1H92!F:7)S="!O9B!T:&4@9&ES<&QA>65D(&5L96UE;G1S+ T*(" @(" @
M(" @("!A;F0@9F%L2!B92!U2!B92!S970Z#0H-
M"B @(" @(" @(" G7!I8V%L;'DL(&]N
M;'D@)W-T87)T)R!A;F0@)W-I>F4G('=I;&P@8F4@'0Z#0H-"B @(" @
M(" @(" G2!S
M=')I;F<@9VEV96X@:6X@82!G970-"B @(" @(" @(" @("!R97%U97-T('=I
M=&@@=&AE(&9O0T*(" @(" @
M(" @(" @(" @(" @(" @(" @(" M+3XF8F%T8VA?'0M#TQ)GD],B"<@+2T@5&AE
M(&EN9&5X+"!S=&%R=&EN9R!FF4@=7-E9"X-"@T*(" @(" @(" @("=PF4G
M("TM(%1H92!S:7IE(&]F('1H92!B871C:"!P65D+@T*#0H@(" @(" @(" @(" @16%C:"!O
M9B!T:&5S92!M87!P:6YG(&]B:F5C=',@:6YC;'5D92!T:&4@9F]L;&]W:6YG
M#0H@(" @(" @(" @(" @=F%R:6%B;&5S.@T*#0H@(" @(" @(" @(" @(" @
M8F%T8V@M"<@+2T@5&AE(&EN9&5X+"!S=&%R=&EN9R!F'0M'0MF4@
M;V8@=&AE(&)A=&-H(&%F=&5R#0H@(" @(" @(" @(" @=&AE(&-U"P@"P@&5D#0H@
M(" @("!F2X@($EN(&%D9&ET:6]N+ T*(" @(" @9F]R(&5V97)Y(&]N92!O9B!T
M:&5S92!V87)I86)L97,@=&AE'AX(BP@=VAE"(@:7,@
M86X@96QE;65N= T*(" @(" @871T2!S=&%T:7-T:6-S#0H-"B @(" @(%=H96X@<&5R9F]R;6EN
M9R!S97%U96YC92!I;G-E2!B
M90T*(" @(" @=7-E9"!T;R!O8G1A:6X@2!S=&%T:7-T:6-S+B @
M5&\@;V)T86EN(&$@0T*(" @(" @" M+2!4:&4@;6%X:6UU;2!O9B!N;VXM;6ES2!B92!U'!R7V=L;V)A;',-"F9R;VT@1%1?
M571I;"!I;7!O'!R/6)A=&-H/6UA<'!I;F<]
M3F]N90T*(" @('-T87)T7VYA;65?'!R
M/22@G'!R/4YO;F4-"B @(" @(" @(" @(&EF('-O6YT87@@97)R;W(\+W-T
M'!R/7-O'!R#0H-"B @(" @(" @:68@:&%S7VME
M>2@G2AN*3H@'0G
M.@T*(" @(" @(" @(" @:68@:&%S7VME>2AN*2!A;F0@;F]T('-E;&8N8F%T
M8V@Z#0H@(" @(" @(" @(" @(" @7!E*'8I/3UT>7!E*"&-E<'0Z#0H@(" @(" @
M(" @(" @(" @(" @('-

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] 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 )




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

2000-07-11 Thread Adam Karpierz

Proposals for python expression syntax for sorting 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]P>71H;VXO1&]C=6UE;G1496UP;&%T92]$5%]);BYP>2YO2 R-2 Q,CHS,SHT,R R,# P"BTM+2!L:6(O<'ET:&]N+T1O8W5M
M96YT5&5M<&QA=&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)C'!R7V=L;V)A;',*("!F'!R/7-O0H@( H@(" @(" @(" @:68@
M:&%S7VME>2@G0H@( H@(" @(" @(" @:68@:&%S7VME>2@G3H@'!R7V=L;V)A;',I+F5V86P*(2 @(" @(" @
M(" @(" @(" @97AC97!T(%-Y;G1A>$5R'!R*&UD*0HA(" @(" @(" @(" @('-E<75E
M;F-E/7-E;&8N'!R(&ES(&YO="!.;VYE.B!S;W)T/7-E;&8N60N961U+F%U"B @(" @(" @(" C(&5G(#QD=&UL(&EN
M(")F;V\B('-O2QA;F]T:&5R:V5Y/@H@(" @(" @(" @"BT@(" @
M(" @("!S;W)T/7-E;&8N3$L:V5Y,B *(" @
M(" @(" @(&UU;'1S;W)T(#T@;&5N*'-O60N961U+F%U"B @(" @(" @(" C(&5G
M(#QD=&UL(&EN(")F;V\B('-O2QA;F]T:&5R:V5Y/@H@(" @(" @
M(" @"B @(" @(" @("!S;W)T9FEE;&1S(#T@2!F;W)M(&UU2!$:6=I=&%L($-R96%T:6]N2!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=61E2!O9F9I8VEA;"!:;W!E(')E;&5A2!S97!A0T*(R @("!L86)E;&5D(&%S('5N;V9F:6-I
M86P@9&ES=')I8G5T:6]N2!F;W)M+"!A2!$:6=I=&%L($-R96%T:6]N2!I;F1I
M=FED=6%L6YT87@@9F]R('1H92!I;B!C
M;VUM86YD(&ES.CH-"@T*(" @(" @(" @("4H:6X@;F%M92E;#0H@(" @(" @
M(" @(" @("!T97AT#0H@(" @(" @(" @)2AI;B!N86UE*5T-"@T*(" @(" @
M(%1H92!(5$U,('-Y;G1A>"!F;W(@=&AE(&EN(&-O;6UA;F0@:7,Z.@T*#0H@
M(" @(" @(" @/"$M+2-I;B!N86UE+2T^#0H@(" @(" @(" @(" @("!T97AT
M( T*(" @(" @(" @(#PA+2TC+VEN(&YA;64M+3X-"@T*(" @(" @4V5E('1H
M92!E>&%M<&QE(&)E;&]W('1H870@2!B92!C;VUB:6YE9"!T;R!D
M:7-P;&%Y(&$@<&]SGD@86-T:79A=&EO;B!I;G-T86YC
M97,N( T*#0H@(" @("!7:71H:6X@86X@)VEN)R!B;&]C:RP@=F%R:6%B;&5S
M(&%R92!S=6)S=&ET=71E9"!F&%M<&QE+"!T;R!G970-"B @(" @(" @(" @86X@:71E
M;7,@)W1I=&QE)R!A='1R:6)U=&4L('5S92 G2<@+2T@5&AE(&ME>2!A"P@"P@65D(&ES
M('1H92!F:7)S="!O9B!T:&4@9&ES<&QA>65D(&5L96UE;G1S+ T*(" @(" @
M(" @("!A;F0@9F%L2!B92!U2!B92!S970Z#0H-
M"B @(" @(" @(" G7!I8V%L;'DL(&]N
M;'D@)W-T87)T)R!A;F0@)W-I>F4G('=I;&P@8F4@'0Z#0H-"B @(" @
M(" @(" G2!S
M=')I;F<@9VEV96X@:6X@82!G970-"B @(" @(" @(" @("!R97%U97-T('=I
M=&@@=&AE(&9O0T*(" @(" @
M(" @(" @(" @(" @(" @(" @(" M+3XF8F%T8VA?'0M#TQ)GD],B"<@+2T@5&AE
M(&EN9&5X+"!S=&%R=&EN9R!FF4@=7-E9"X-"@T*(" @(" @(" @("=PF4G
M("TM(%1H92!S:7IE(&]F('1H92!B871C:"!P65D+@T*#0H@(" @(" @(" @(" @16%C:"!O
M9B!T:&5S92!M87!P:6YG(&]B:F5C=',@:6YC;'5D92!T:&4@9F]L;&]W:6YG
M#0H@(" @(" @(" @(" @=F%R:6%B;&5S.@T*#0H@(" @(" @(" @(" @(" @
M8F%T8V@M"<@+2T@5&AE(&

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] Patch to allow expression syntax for attribute 'sort' 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]P>71H;VXO1&]C=6UE;G1496UP;&%T92]$5%]);BYP>2YO2 R-2 Q,CHS,SHT,R R,# P"BTM+2!L:6(O<'ET:&]N+T1O8W5M
M96YT5&5M<&QA=&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)C'!R7V=L;V)A;',*("!F'!R/7-O0H@( H@(" @(" @(" @:68@
M:&%S7VME>2@G0H@( H@(" @(" @(" @:68@:&%S7VME>2@G&-E<'0@4WEN=&%X17)R;W(L('8Z"B$@(" @(" @(" @(" @(" @(" @("!R
M86ES92!087)S945R6YT87@@97)R;W(\+W-T
M2@G'!R(&ES(&YO="!.;VYE.B!S;W)T/7-E
M;&8N3(@"B @(" @(" @("!M=6QT71H;VXO1&]C=6UE;G1496UP;&%T92]$5%],970N<'DN;W)G
M"51H=2!*=6P@,CD@,3$Z-38Z,CD@,3DY.0HM+2T@;&EB+W!Y=&AO;B]$;V-U
M;65N=%1E;7!L871E+T147TQE="YP>0E3=6X@2G5L(# R(# P.C(U.C(W(#(P
M,# **BHJ*BHJ*BHJ*BHJ*BHJ"BHJ*B Q,3(L,3$X("HJ*BH*(" @("!A"P@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] Zope2.2.0b2 doesn't work on win98

2000-06-23 Thread Adam Karpierz

-Wiadomo¶æ oryginalna-
Od: Brian Lloyd <[EMAIL PROTECTED]>
Do: 'Adam Karpierz' <[EMAIL PROTECTED]>
Data: 19 czerwca 2000 20:52
Temat: RE: [Zope] Re: [Zope-dev] Re: [Zope] Re: Zope 2.1.5/6/7 upgrading issues

>> 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),
>
>I think that Amos has fixed this for the next beta.
>
>Thanks for the feedback!


Unfortunately with 2.2.0b2 I have the same problems as in 2.2.0b1 :(

On my Win box Zope dont allow add _no one_  objects (eg. Folder),
dont allow enter Control Panel if product incorect installed, etc..
Zope 2.1.6 and 2.1.7 (with apropriate patches)  works very well.

What I am doing wrong or eventually how can I help to avoid this problems ?

platform: Win98, Zope2.2.0b2 from official installer, empty (default) Data.fs

Eg. if i try to add a Folder that is happend:

Error Type: SuperCannotOwn
Error Value: Objects cannot be owned by the superuser



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] 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] programatically generating images

2000-06-17 Thread Adam Karpierz


>I remember that I saw once a product, which could do this.
>I think it used the PIL-library from python. I can´t find it on Zope.org.
>Any hints ?

Photo Product
http://www.zope.org/Members/Drew/Photo/


--
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] Re: Zope 2.1.5/6/7 upgrading issues

2000-06-16 Thread Adam Karpierz

>And I thought I was the only one who had GPF's with 2.2b1!


Oh no !. You are not one :0
But its true too that I more prefer (and still love:) Zope with GFP
then something else without GFP :))

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] Odp: [Zope] Re: [Zope-dev] Zope ...2.1.7 update - patch for EMarket 0.1.03

2000-06-16 Thread Adam Karpierz

>Hi Adam,
>
>I looked at your patch...
>
>*** EMarket.py.orig Thu Jun 01 00:06:01 2000
>--- EMarket.py Fri Jun 16 02:56:35 2000
>***
>*** 258,265 
>  newMainF.transactionFolder = newTransF
>
>  Products.MailHost.MailHost.add(newMainF, 'eMarketMailhost',
>!smtp_host = smtp_host,
>!localhost = localhost)
>
>  theMailHost = getattr(newMainF,'eMarketMailhost')  ### TODO... change documents 
>that send mail to be proxies for Manager
>
>--- 258,264 
>  newMainF.transactionFolder = newTransF
>
>  Products.MailHost.MailHost.add(newMainF, 'eMarketMailhost',
>!smtp_host = smtp_host)
>
>  theMailHost = getattr(newMainF,'eMarketMailhost')  ### TODO... change documents 
>that send mail to be proxies for Manager
>
>
>Looking at the source, it's not clear what was broken by the localhost
>line in the factory. so what was the error that prompted the patch?

Hi Steve

(Apologize for my poor english and I hope that you will understand something :)).

Its happends _only_ for Zope 2.1.7 and 2.2b1
Currently I not have a traceback but was not possible to create
instance of EMarket (and other product which creates own MailHost insance too)
mesage was (or something like): 'localhost' is not keyword parameter.

My patch is _only_ for Zope2.1.7 and for Zope2.2 where API for MailHost was changed.
For this versions method MailHost.add() have a form:

def add(self, id, title='', smtp_host=None, smtp_port=25, REQUEST=None):

but old (for Zope 2.1.6 or ealier) had a form:

def add(self, id, title='', smtp_host=None, localhost='localhost', smtp_port=25, 
timeout=1.0, REQUEST=None):

For new MailHost API (which based on Python standard smtplib, and it seems will be 
'official' version
in the future) parameters localhost and timeout was removed.

Besause 2.1.7 was deleted and 2.1.6 stays back as last stable version, my patch not 
needed now
but for Zope 2.2 still will be (I think).

I think that portable solutions for EMarket its simply omitting localhost (as in my 
patch) because
its not needed anywhere in your excellent EMarket product.

Of course my previous patch is minimal, only  for compatibility.
I attached  more full patch with smtp_port support.
Take a look for attachements.

Best Regards

Adam

[EMAIL PROTECTED]




begin 666 EMarket.py.patch
M*BHJ($5-87)K970N<'DN;W)G"51H=2!*=6X@,#$@,# Z,#8Z,#$@,C P, HM
M+2T@14UA0E&&-E<'0Z"B @
M(" @(&1E9F%U;'1H;W-T(#T@)VQO8V%L:&]S="<**R!D969A=6QT<&]R=" ]
M(#(U"B @"B @"B @861D36%R:V5T271E;7-&;VQD97)&;W)M/4A434Q&:6QE
M*"=M87)K971)=&5M'0@/2 G061D(%1O($-A&EEhttp://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] 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 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] Re: [Zope-dev] Zope ...2.1.7 update - patch for EMarket 0.1.03

2000-06-15 Thread Adam Karpierz

Patch for EMarket v.0.1.3 product for Zope 2.1.7


begin 666 EMarket.py.patch
M*BHJ($5-87)K970N<'DN;W)I9PE4:'4@2G5N(# Q(# P.C V.C Q(#(P,# *
M+2TM($5-87)K970N<'D)1G)I($IU;B Q-B P,CHU-CHS-2 R,# P"BHJ*BHJ
M*BHJ*BHJ*BHJ*@HJ*BH@,C4X+#(V-2 J*BHJ"B @(" @(&YE=TUA:6Y&+G1R
M86YS86-T:6]N1F]L9&5R(#T@;F5W5')A;G-&"B @(" @( H@(" @("!0http://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 )