[Zope-dev] bug in zpatterns-0.4 ?

2000-06-27 Thread Jephte CLAIN

hello,

Rack.createItem (low level method) first calls Rack.getItem (higher
level method) to check the existence of the item.
This causes infinite loop in certain cases. It should (IMHO) call
Rack.retrieveItem instead

regards,
jephte clain
[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] bug in zpatterns-0.4 ?

2000-06-27 Thread mike

Jephte CLAIN wrote:
 
 hello,
 
 Rack.createItem (low level method) first calls Rack.getItem (higher
 level method) to check the existence of the item.
 This causes infinite loop in certain cases. It should (IMHO) call
 Rack.retrieveItem instead
 

Could you provide an example please?

Mike

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




[Zope-dev] Full-text Indexing FOLLOW-UP

2000-06-27 Thread Thomas Weholt

Hi ( again )

Wouldn`t Zope as a web-database integrator benefit from a feature like
full-text searching? ( Everybody answers yes and nods. )
It seems as if Zope is aimed at information-publishing, using a RDBMS as
source for that information. An initiative from the Zope community to
either create products that support this using the most common RDBMS,
support these features in database-adapters if the RDBMS supports it and/or
create documentation
 ( HowTos/Tips ) on how to build a simple full-text searching, give ideas,
overviews etc, would make Zope a more viable solution for
information-publishing.

My reason for asking this is that I`m trying to sell OpenSource to my
co-workers, show that Open can be just as good as any commercial,
Closed-Sourced alternative. When I said that
full-text searching wasn`t running out-of-the-box I was laughed at. The
solution used in my company is Windows 2000 server, MS SQL 7.0 and
SiteServer/MS IIS. To compete with this
full-text searching is a must. I used PostgreSQL 7.0.2 with Zope and
PostgreSQL has a c-library for full-text searching included in the source.
If we could get this to work with Zope we would
be a bit closer. 

I`m going to dive into this, so if somebody wants to help, has tips or
whatever, please feel free to email me.

Thomas

___
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] Full-text Indexing FOLLOW-UP

2000-06-27 Thread Oleg Broytmann

Hi!

   http://mysearch.udm.net/

   It is not Zope-related, but pretty good. Integrate its engine with Zope
- and voila!

On Tue, 27 Jun 2000, Thomas Weholt wrote:
 Wouldn`t Zope as a web-database integrator benefit from a feature like
 full-text searching? ( Everybody answers yes and nods. )
 It seems as if Zope is aimed at information-publishing, using a RDBMS as
 source for that information. An initiative from the Zope community to
 either create products that support this using the most common RDBMS,
 support these features in database-adapters if the RDBMS supports it and/or
 create documentation
  ( HowTos/Tips ) on how to build a simple full-text searching, give ideas,
 overviews etc, would make Zope a more viable solution for
 information-publishing.
 
 My reason for asking this is that I`m trying to sell OpenSource to my
 co-workers, show that Open can be just as good as any commercial,
 Closed-Sourced alternative. When I said that
 full-text searching wasn`t running out-of-the-box I was laughed at. The
 solution used in my company is Windows 2000 server, MS SQL 7.0 and
 SiteServer/MS IIS. To compete with this
 full-text searching is a must. I used PostgreSQL 7.0.2 with Zope and
 PostgreSQL has a c-library for full-text searching included in the source.
 If we could get this to work with Zope we would
 be a bit closer. 
 
 I`m going to dive into this, so if somebody wants to help, has tips or
 whatever, please feel free to email me.

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




[Zope-dev] Re: [Zope] :xxx syntax (was: HTML Editors that recognize DTML)

2000-06-27 Thread Lalo Martins

On Fri, Jun 23, 2000 at 07:49:21PM -0400, Jon Franz wrote:
 
 Also, its not XML compliant either, but I have a shorter dtml syntax patch
 available for download at:
 
 http://www.zope.org/Members/Coventry/dtml_shortcut
 
 it is a really small patch, and just allows : to replace dtml- or !--#
 inside your documents, such as in the snippet below:
 
 :var foo
 :if expr="la=lala"
 So you think la and lala are the same!?
 :else
 Ah, so you see a diffrence!
 /:if

I like this syntax; I'm in favour of adding it to a future
version of Zope (2.2.1?).

Except that your patch says it's GPLed, and GPL code cannot be
added to a ZPL product; please re-release as ZPL (I'm all in
favour of GPL, but this is not a good case for it :-) )

[]s,
   |alo
   +
--
  Hack and Roll  ( http://www.hackandroll.org )
News for, uh, whatever it is that we are.


http://zope.gf.com.br/lalo   mailto:[EMAIL PROTECTED]
 pgp key: http://zope.gf.com.br/lalo/pessoal/pgp

Brazil of Darkness (RPG)--- http://zope.gf.com.br/BroDar

___
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] Confera fix

2000-06-27 Thread Jon Franz

Hrm, I'm using hot-fixed and updated 2.1.6, and cant seem to find this
anywhere on my box - and Zope throws up the error 'Invalid attribute' 
with an id of 'reg' When I try to use (unfixed) Confera with newlines 
in the body of a message... 

I'm not advocating removing or ignoring ts_regex, I just
can't find it and figured if I ran into this problem, so would others...
the code change to Confera.py was _very_ trivial, so I don't see any big 
benefit or requiring ts_regex, though...


-Original Message-
From: Pavlos Christoforou [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 27, 2000 6:19 PM
To: Jon Franz
Cc: '[EMAIL PROTECTED]'
Subject: Re: [Zope-dev] Confera fix


On Tue, 27 Jun 2000, Jon Franz wrote:

 Attached is a slightly modified Confera.py that does not require the
 ts_regex
 python package (something I do not have on my system and cant seem to 
 find - and yet something Confera will choke on during message posting if 
 it doesn't exist)
 

I have not been follwoing the email list so ignore my comments if not
applicable. ts_regex used to be part of the Zope distribution. I am not
sure what happened with the newer versions ...


Pavlos


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




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