Re: [Zope-dev] EMarket and 2.2.0b3

2000-07-01 Thread Steve Spicklemire


Hi David,

   I think the design is flawed from the outset and should be
changed. Basically I was trying to have my cake and eat it too with
this one... and the solution (iterating through the folder class's
manage_options and slapping on my own was goofy anyway...) but there's
really no need. I'm moving MarketItem to a ZClassable object anyway
where this can by much more simply done with 'Views'. The thing I
haven't figured out is how to make the MarketItem ZClasses available
only inside a MarketItemsFolder. I'm thinking I may have to make
ZClasses for everything, but define the 'enclosed' ZClasses inside the
enclosing ZClasses. Also.. ZPatterns may affect this as well. I'm
looking into making all these things 'DataSkins' so that the actual
instance data can be kept in a very flexible way, but in ZODB by
default. ZPatterns looks really cool.. I feel sometimes like a kid
looking at a magic trick... sure that once I really get into it I'll
understand, but somehow not sure that it might *really* just be magic
after all. ;-)

-steve

 "RDM" == R David Murray [EMAIL PROTECTED] writes:

RDM On Fri, 30 Jun 2000, R. David Murray wrote:
 Darn, I should have done more testing.  I only fixed the prompt
 for permissions problem.  manage_workspace still goes to the
 import/export screen...back to the testing.

RDM Arg, it's worse than I thought.  My original test was broken.
RDM I haven't found the problem at all.  So please ignore all my
RDM recent posts about this and I'll crawl back under my rock and
RDM do some more careful testing.

RDM --RDM


___
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] FWIW, ZCVSMixin now at 0.1.1... and rising. ;-)

2000-07-01 Thread Steve Spicklemire


Hi Jim, et. al... 

 
 Steve and Shane,
 
 We've been positively *dying* to have cvs or cvs-like functionality. It's
 one of those things where we left the unix-everything-is-a-file-idiom and
 went, "Oh, um, heh, now what?" =)
 

Well.. I don't know much about cosource but I did just put the latest 
version on zope.org, with Shane's patches, and incorporating some of his
UI suggestions. (as much as I could get done in a few hours...)  I'm kinda
strapped for time right now.. since I'm working on active, deadline oriented
projects and all.. of course all contributions welcome! This latest for example
just saved me lots of time, since I was about to do the same thing Shane did
in a much less elegant way...  Thanks again Shane!

For what it's worth, we needed this so badly in my project that I was pretty
much forced to implement it, anyway I could! We are using now... and it's 
working pretty well for us. You have to 'understand' too much about what's
going on for my taste but it's getting better.

-steve



___
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] EMarket and 2.2.0b3

2000-07-01 Thread R. David Murray

On Sat, 1 Jul 2000, Adam Karpierz wrote:
 In installation of Zope Emarket and eTailer both installed
 and works ok on current 2.2.0 CVS.

Well, they may work OK, but there's still a problem.

 Then you should update some files from current CVS.

I did a full current CVS checkout, and if I access '/manage_main' I still
don't get prompted for a password.  Can you check to see if that happens
for you, as well?  Remember, call that URL as the first thing you do
in the browser session.  You ought to get prompted for a manager login,
but in my case I just get to see the directory listing, as if it
were viewable by Anonymous.

 In original version of 2.2.0b3 Emarket and eTailer even dont install
 correctly in my testing box (Win98).

Funny, I didn't have any install problems with b3.

Before I tried the CVS thing, I did some tracing under b3.  I'm
beyond my Zope Zen level here, so maybe someone else can point me
in the right direction to follow up on what I've found.  What I
did was to run Zope under debug and simply trace the execution of
publishing the URL "/manage_main" both with and without EMarket
installed.  I then diffed the results and looked at the place where
the execution path diverges.  It happens at line 369 of BaseRequest.py,
in the traverse function:

r = getattr(subobject, '__roles__', UNSPECIFIED_ROLES)

When EMarket is not installed, the next thing that happens is a
call to __of__ in PermissionRole.py.  This returns ('Manager',),
and so the page is protected.  If EMarket is installed, execution
continues immediately with line 370 of BaseRequest.py, making r
UNSPECIFIED_ROLES, and so I guess the page is not protected.
Given my limited understanding of what __of__ represents, I presume
this means that somehow the management method has become unwrapped
from its aquisition context after EMarket is installed?  But even
if I'm right about that I don't know where to go from here in
tracking down how it happens.  I tried to set a breakpoint at line
169 so I could inspect the object being manipulated, but I can't
seem to get the debugger to stop at that line.  I hit 'c' and it
just displays the page (or error message, depending on whether or
not EMarket is installed).

Can anyone point me in a useful direction?  Do I need to study the
aquisition module source code next?  Or suggest what I might be
doing wrong in setting the breakpoint in the debugger (I just do
'b ZPublisher/BaseRequest.py:169' and it *seems* happy with it...)

--RDM


___
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] Zope2.2.0b3 Image/File object create/upload bug (w/patch)

2000-07-01 Thread Martijn Pieters

On Wed, Jun 28, 2000 at 11:32:48AM +0200, Adam Karpierz wrote:
 Please, can you explain me why this bug and path was retracted from
 Collector with message ?:
 
 "Retracted by submitter (in Zope-Dev mailinglist, forgot to define
 USE_EXTENSION_CLASS)."

Sorry, that was my fault. I somehow mixed up your entries with that of Brad
Clements, who had retracted his issue:

  http://lists.zope.org/pipermail/zope-dev/2000-June/005632.html

I see that you refiled your issue. Again, apologies.

-- 
Martijn Pieters
| Software Engineermailto:[EMAIL PROTECTED]
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
| ZopeStudio: http://www.zope.org/Products/ZopeStudio
-

___
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] 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*(" @(" @(" @('-E8W1I;VX]V5L
M9BYS96-T:6]N(" @(" @(" *(" @(" @(" @(UA'!I;F]V5L9BYM87!P
M:6YG"B @"B$@(" @(" @("!I9B!S96QF+G-OG0@:7,@;F]T($YO;F4Z"B$@
M(" @(" @(" @(" @V5Q=65N8V4]V5L9BYS;W)T7W-E75E;F-E*'-E75E
M;F-E*0H@( H@(" @(" @(" @:68@V5L9BYR979EG-E(ES(YO="!.;VYE
M.@H@(" @(" @(" @(" @('-E75E;F-E/7-E;8NF5V97)S95]S97%U96YC
M92AS97%U96YC92D*+2TM(#8U.2PV-C@@+2TM+0H@(" @(" @(" @V5C=EO
M;CUS96QF+G-E8W1I;VX@(" @(" @( H@(" @(" @(" @;6%PEN9SUS96QF
M+FUA'!I;F*(" *(2 @(" @(" @('-OG0]V5L9BYS;W)T"B$@(" @(" @
M("!I9B!S;W)T(ES(YO="!.;VYE.@HA(" @(" @(" @(" @(EF('-E;8N
MV]R=5X'(@:7,@;F]T($YO;F4Z('-OG0]V5L9BYS;W)T97APBAM9"D*
M(2 @(" @(" @(" @("!S97%U96YC93US96QF+G-OG1?V5Q=65N8V4HV5Q
M=65N8V4L('-OG0I"B @"B @(" @(" @("!I9B!S96QF+G)E=F5RV4@:7,@
M;F]T($YO;F4Z"B @(" @(" @(" @(" @V5Q=65N8V4]V5L9BYR979EG-E
M7W-E75E;F-E*'-E75E;F-E*0HJ*BHJ*BHJ*BHJ*BHJ*BH**BHJ(#P,"PW
M,3(@*BHJ*@H@( H@(" @(" @(" @F5T=7)N(')EW5L= H@( HA(" @("!D
M968@V]R=%]S97%U96YC92AS96QF+"!S97%U96YC92DZ"B @"B @(" @(" @
M(" C($UO9EF:65D('=I=@@;75L=EP;4@V]R="!F:65L9',@8GD@4F]S
MR!,87IAG5S"B @(" @(" @(" C($%PFEL(#@,C P,"!R;W-S;$!M960N
M=7-Y9"YE9'4N874*(" @(" @(" @(",@96@/1T;6P@:6X@(F9O;R(@V]R
M=#UA:V5Y+%N;W1H97)K97D^"B @(" @(" @(" *+2 @(" @(" @('-OG0]
MV5L9BYS;W)T"B @(" @(" 

[Zope] RFC: is this the best way to make a referal app and a jumpnav menunav menu

2000-07-01 Thread George Donnelly

Basically i would like people's opinions as to whether i built these things
in the "right" way or not. tia!

jump menu

*created a selection list and told it to pass a variable (the url of the
selected item) called "url" to a method called "jump" which consists of the
following:

dtml-call "RESPONSE.redirect(url)"

its a little slow but it works :-)

referral product (as in http://www.recommend-it.com/)

i pass the variables on the first page (where people enter name, email, and
up to 5 of their friends email addresses) to a method called success

here's the problem i think: since i am enabling people to email up to 5
friends, i've got 5 copies of the same email message in the success method
inside the sendmail tags. the last 4 are in if statements.

i know there must be a better way but i really have no idea. any help?

(btw if anybody wants to use these things just email me and ill send you the
terribly simple yet useful code. :-)

tia!

Regards,
G e o r g e D o n n e l l y
[EMAIL PROTECTED]
http://www.LetsJapan.com/
Share Your Experiences, Learn From Others' !


___
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] 2.2b3 and INSTANCE_HOME problem

2000-07-01 Thread Ron Bickers

 -Original Message-
 From: Evan Simpson [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, July 01, 2000 2:02 AM
 To: Ron Bickers; [EMAIL PROTECTED]
 Subject: Re: [Zope] 2.2b3 and INSTANCE_HOME problem


 - Original Message -
 From: "Ron Bickers" [EMAIL PROTECTED]
  It's not looking in the right place for the image file in
 XMLDocument. You
  can see that if found the XMLDocument product in INSTANCE_HOME/Products
 (of
  course, or it wouldn't have tried to install it in the first place).

  Is this a bug, or do I need to set some other variable, or what?

 It's a bug.  I've been tracking down and squishing a few in corners where
 INSTANCE_HOME wasn't properly taken into account, but I hadn't gotten to
 XMLDocument yet.  This should be fixed in CVS shortly (and the
 next release
 of Zope).

Great!  Thanks!

For now, I just made links in the zope installation to the products so that
when it needs to find stuff, it can.
___

Ron Bickers
Logic Etc, Inc.
[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] Removing part of a string (in an URL)

2000-07-01 Thread T. J. Mannos

Walter,

Try a little trick I use with _.string.split().  split() splits a string into two (or 
more) parts based on a delimiter.  In this case, the delimiter could be any part of 
the URL directly to the left of /Zorba/busca/...

For example:
dtml-var "_.string.split(url, ':8080')[1]"

This splits the URL into 'http://zorba.com.mx' (which you don't want) and 
'/Zorba/busca/Zorba/...' (which you do want).  The [1] tells Zope to take only the 
second part, the part you want.

If you plan to make this code portable incase you switch servers or use a SiteRoot, I 
believe (and correct me if I'm wrong) you're safer using the 'BASE0' property for your 
delimiter.  For example:

dtml-var "_.string.split(url, BASE0)[1]"

Now, I don't know about the organizational problems that prevent you from dropping the 
/Zorba/busca, but I'd assume you would do the same thing, except replace "BASE0" with 
"BASE0 '/Zorba/busca'".  I'm thinking, though, you'll eventually want to set up a 
separate server and a SiteRoot so that your web address will be 
http://zorba.com.mx/Zorba/cacharrito/prueba -- right?

- T.J.

 "Walter A. Aprile" [EMAIL PROTECTED]  6/30 11:19p 

Hi,
more newbie questions, I am afraid. I have a ZCatalog result form
that boringly forms links this way:

dtml-var "busca.getpath(data_record_id_)"

Due to the way my site is organized, the URL I get has an unwanted
part at the beginning. The part is always the same size, and the same string
in fact. How do I remove it ? For example, the URL is

http://zorba.com.mx:8080/Zorba/busca/Zorba/cacharrito/prueba
^
and I would like to cut it here |
and turn it into 

/Zorba/cacharrito/prueba

The problem is that the URL above is still valid, but if I do another
search then the same /Zorba/busca gets added, and it gets longer and longer,
besides messing up my breadcrumb trail.

I tried using a regular expression method, but I do not really know
Python (not yet !), so it did not work. 

Thank you very much
Walter


-- Vita brevis, ars longa, occasio celeris, experimentum periculosum,
judicium difficile. Attention: Un train peut en cacher un autre
-- Eris aprueba este email ! -- http://redescolar.ilce.edu.mx


___
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 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] ZOracleDA

2000-07-01 Thread Kiran Jonnalagadda

Michal Bukovjan wrote:
 
 Avoid using Oracle 8.1.5 at all costs. It has mislinked executables and
 libraries, I can't believe Oracle could have released such a shit.
 
 Instead, download and try Oracle 8.1.6 R2 - the current release.
 It fixes a number of issues (though not all of them) and at least it works.

I've downloaded Oracle 8.1.6, but the 8.1.5 setup file doesn't work
anymore. Does anyone have the 8.1.6 setup file? I'm not sure how to make
it myself.

-- 

Kiran Jonnalagadda
http://lunateks.com

baby.sh: while true; do echo "^G^G^G^G^G"; sed -e 's/food/poop/';
sync; sync; sleep 15; done

___
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] ZClass in ZClass problem

2000-07-01 Thread Oleg Broytmann

Hello!

   (Nobody dared to answer, retrying...)

   I started to learn ZClasses. I created a product, added a Zclass in it,
and added a Zcalss inside outer ZClass - I want to create ZClass that's
addable only inside outer ZClass.

   Then the problems begin. All management URLs for inner ZClass contain
%20, so URLs look like
"propertysheets/methods/RandomZItem%20/manage_workspace" and
"propertysheets/methods/RandomZItem_add%20/manage_workspace".

   If I click on the link I got the AttributeError (of course). When I
manually remove the offending %20, I can manage the object, but it's
tiresome to remove it every time.

   The problem manifested on both 2.1.4 and 2.2.0b3. What's wrong?

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 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] Every user should have the Anonymous role everywhere (was :Re: [Zope]Authentication, Anonymous and Public)Authentication, Anonymous and Public)

2000-07-01 Thread Chris Withers

Dieter Maurer wrote:
 In Zope, each user has a set of roles.
 Any user has the "Anonymous" role. Log-in users may have
 additional roles.

I'm not convinced this is true...

Quoting from the LoginManager CHANGES.TXT file:
 Generic User Source, like the GenericUserFolder product it was inspired by,
 gave all users the Anonymous role. This seems to be incorrect according to 
 what other user folders do, including the standard Zope version, so GUS now 
 no longer does this.

...which is why Alan experiences this problem. I've also run into it
just using a normal acl_users folder and I've been mentioning every few
months since I bumped into it back in March. Here's my opriginal post:

http://zope.nipltd.com/public/lists/dev-archive.nsf/ByKey/82AE22A20C7E88AE

I wish this could get sorted out as it makes security a nightmare unless
you use a web of local roles, which is painful and messy to maintain.

Is there any reason why every user shouldn't have the anonymous role for
every accessible page/object/thing visitable through a protocol?

cheers,

Chris

___
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] (pas d'objet)

2000-07-01 Thread moch taufik

I have 1(one) sequence_item in a object and I was success insert them to
the database.
I have problem with 2 sequence_item. Anyone help me ??


___
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] Question

2000-07-01 Thread Jonathan Desp

Hi,

Do you know any software, for creating mailing list, under Zope ?

-- 
Very truly yours,


Jonathan Desp
Atoma
Matter will become Software
http://www.atoma.f2s.com


___
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: ZClass in ZClass problem

2000-07-01 Thread Oleg Broytmann

Followup to myself...

On Sat, 1 Jul 2000, Oleg Broytmann wrote:
Then the problems begin. All management URLs for inner ZClass contain
 %20, so URLs look like
 "propertysheets/methods/RandomZItem%20/manage_workspace" and
 "propertysheets/methods/RandomZItem_add%20/manage_workspace".

   I found that not only my ZClassess do this way. I imported SiteSummary -
and got the problem. Something broken in my installation?

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 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: Copy/Paste problem

2000-07-01 Thread Oleg Broytmann

Followup to myself...

On Sat, 1 Jul 2000, Oleg Broytmann wrote:
I (and some my friends) have problem with Copy/Paste. Sometimes it's
 wotking, but often Paste button does not appeared after Copy/Cut.

   After investigating I found that the problem is mostly related to
SiteAccess. I can copy FROM a folder with SiteRoot object, but cannot paste
INTO such folder. After removing SiteRoot object copy/paste worked. After
reinstalling SiteRoot copy/paste stopped working again.

   Both 2.1.4 with SiteAccess and 2.2.0b3 with SiteAccess2...

   I said "mostly" because sometimes Zope stops copy/pasting in random
folders without SA at all.

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 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] 2.2b3 and INSTANCE_HOME problem

2000-07-01 Thread Ty Sarna

In article 003901bfe321$e744b990$c7da5e3f@mozart,
Evan Simpson [EMAIL PROTECTED] wrote:
 It's a bug.  I've been tracking down and squishing a few in corners where
 INSTANCE_HOME wasn't properly taken into account, but I hadn't gotten to
 XMLDocument yet.  This should be fixed in CVS shortly (and the next release
 of Zope).

You may have already gotten to this, but ISTR that manage_readme on
products has this problems. You might also want to verify that the new
help system works with INSTANCE_HOME too (I forget).

___
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: Every user should have the Anonymous role everywhere

2000-07-01 Thread Alan Capesius, MCSE

My suggestion for splitting the role or allowing an "anyone" or "public" role would 
allow "anonymous" to be maintained and used to identify users that are not 
authenticated. (This seems to be the norm now for DTML.)
The new role would basically be defined as "ignore all security and allow access"

Placing the alternate User Folder at the root and using hierarchical roles defined at 
the root level would make it more manageable, but it would have several drawbacks I 
can think of off hand: more complex management, shared security model in virtual 
servers, and difficult for newbies to implement security without locking themselves 
out of the entire system.

Perhaps a flag for "use security"/"don't use security" on this folder/object would be 
useful?

I haven't seen this submitted to the Bug Collector yet..

  --
  From:   Chris Withers[SMTP:[EMAIL PROTECTED]]
 Dieter Maurer wrote:
  In Zope, each user has a set of roles.
  Any user has the "Anonymous" role. Log-in users may have
  additional roles.
 
 I'm not convinced this is true...
 
 Quoting from the LoginManager CHANGES.TXT file:
  Generic User Source, like the GenericUserFolder product it was 
 inspired by,
  gave all users the Anonymous role. This seems to be incorrect 
 according to 
  what other user folders do, including the standard Zope 
 version, so GUS now 
  no longer does this.
 
 ...which is why Alan experiences this problem. I've also run into it
 just using a normal acl_users folder and I've been mentioning every few
 months since I bumped into it back in March. Here's my opriginal post:
 
 http://zope.nipltd.com/public/lists/dev-archive.nsf/ByKey/82AE22A20C7E88AE
 
 I wish this could get sorted out as it makes security a nightmare unless
 you use a web of local roles, which is painful and messy to maintain.
 
 Is there any reason why every user shouldn't have the anonymous role for
 every accessible page/object/thing visitable through a protocol?
 
 cheers,
 
 Chris
 


___
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] sort=id, _.map, _.lambda woes

2000-07-01 Thread Marco Mariani

Hi all!

I need the following:

dtml-in "store.fileValues()" sort=id

where "id" is a filename representing a number.
Of course, sort uses it like a string and sorts it wrong.

Maybe, since sortexpr= is not implemented (yet?) I could
get away with:

dtml-in "_.map(_.int,store.fileValues())" sort=id

but _.map doesn't exist (nor _.lambda. Why?)


What is the Right Thing to do?

I already know the easy answer (external method) :-)

Of couse I cannot add an order property to the file objects,
as they're in LocalFS.


Thanks

-- 
"This company has performed an illegal operation and will be shut down.
 If the problem persists, contact your vendor or appeal to a higher court."
 - Signal11 on slashdot

___
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] Arrg! dtml-in can't handle lists of pairs!

2000-07-01 Thread Cary O'Brien


Ok.  I get a list of rows from a database query.  I want
to iterate over the rows.  If there are 3 or more
columns in the table, everythin is fine.  If there are 2 
columns, it doesn't work.

It seems as if dtml-in handles lists of pairs specially. 
Not a good thing.  Can I supress this behavior?

Here is an example of this:

---

h4Iterate over 3.tuples/h4
dtml-let list="[('a','b','c'),('d','e','f')]"
   dtml-in list
  dtml-var sequence-itembr
  dtml-in sequence-item
  dtml-var sequence-item/br
  /dtml-in
   /dtml-in
/dtml-let
h4Iterate Over 2-tuples/h4
dtml-let list="[('a','b'),('c','d')]"
   dtml-in list
  dtml-var sequence-itembr
  dtml-try
  dtml-in sequence-item
  dtml-var sequence-item/br
  /dtml-in
  dtml-except
h4Why can't I do this!/h4
  /dtml-try   
   /dtml-in
/dtml-let
h4Iterate Over 1-tuples/h4
dtml-let list="[('a',),('b',)]"
   dtml-in list
  dtml-var sequence-itembr
  dtml-in sequence-item
  dtml-var sequence-item/br
  /dtml-in
   /dtml-in
/dtml-let

---

-- cary

___
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] calling standard_html_header from external methods

2000-07-01 Thread Andy McKay

It sounds like it needs some arguments... the most obvious one I would try
is request.

HEADER=self.standard_html_header(REQUEST)
- Original Message -
From: "Marco Mariani" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, July 01, 2000 6:33 AM
Subject: [Zope] calling standard_html_header from external methods


 How may I access standard_html_header through acquisition
 form foo.py?

 I've tried

 HEADER=self.standard_html_header()

 It acquires, but gives me an error on title_or_id, on PARENTS,
 on whatever. What arguments should I pass to it?

 Thanks


 --
 "This company has performed an illegal operation and will be shut down.
  If the problem persists, contact your vendor or appeal to a higher
court."
  - Signal11 on slashdot

 ___
 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 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] Arrg! dtml-in can't handle lists of pairs!

2000-07-01 Thread Luis Cortes

I have confirmed that this is strange behavior can be reproduced on 2.1.6 --
why I don't know.  A work around may be to convert your tuples to lists (easy to
do in python)  sample working code:

dtml-var standard_html_header


h4Iterate over 3.tuples/h4
dtml-let list="[('a','b','c'),('d','e','f')]"
dtml-in list
dtml-var sequence-itembr
dtml-in sequence-item
dtml-var sequence-item/br
/dtml-in 
/dtml-in
/dtml-let

h4Iterate Over 2-tuples/h4

! My change here --
dtml-let list="[['a','b'],['c','d']]"
dtml-var listbr
dtml-in list
dtml-var sequence-itembr
dtml-try

dtml-in sequence-item
dtml-var sequence-item/br
/dtml-in

dtml-except
h4Why can't I do this!/h4
/dtml-try
/dtml-in
/dtml-let

h4Iterate Over 1-tuples/h4
dtml-let list="[('a',),('b',)]"
dtml-in list
dtml-var sequence-itembr
dtml-in sequence-item
dtml-var sequence-item/br   
/dtml-in 
/dtml-in
/dtml-let


dtml-var standard_html_footer


On Sat, 01 Jul 2000, Cary O'Brien wrote:
 Ok.  I get a list of rows from a database query.  I want
 to iterate over the rows.  If there are 3 or more
 columns in the table, everythin is fine.  If there are 2 
 columns, it doesn't work.
 
 It seems as if dtml-in handles lists of pairs specially. 
 Not a good thing.  Can I supress this behavior?
 
 Here is an example of this:
 
 ---
 
 h4Iterate over 3.tuples/h4
 dtml-let list="[('a','b','c'),('d','e','f')]"
dtml-in list
   dtml-var sequence-itembr
   dtml-in sequence-item
   dtml-var sequence-item/br
   /dtml-in  
/dtml-in
 /dtml-let
 h4Iterate Over 2-tuples/h4
 dtml-let list="[('a','b'),('c','d')]"
dtml-in list
   dtml-var sequence-itembr
   dtml-try
   dtml-in sequence-item
   dtml-var sequence-item/br
   /dtml-in
   dtml-except
 h4Why can't I do this!/h4
   /dtml-try 
/dtml-in
 /dtml-let
 h4Iterate Over 1-tuples/h4
 dtml-let list="[('a',),('b',)]"
dtml-in list
   dtml-var sequence-itembr
   dtml-in sequence-item
   dtml-var sequence-item/br
   /dtml-in  
/dtml-in
 /dtml-let
 
 ---
 
 -- cary
 
 ___
 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 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] how to invalidate an object in the cache?

2000-07-01 Thread Marco Mariani


I am working with photo rotating/resizing, via PIL on external
method.

All the images are kept on LocalFS.

There is a thumbnail bonanza page, when I select a thumbnail a
form is shown, and I can adjust rotation/contrast/brightness.
Upon submit, the new image+thumbnail is calculated and written
to the filesystem.

Then the method calls RESPONSE.redirect to show the index page again.

When I go back to the index thumbnail page, the
image I've just rotated is displayed with the right size (which means
that Zope gets it right), but not rotated (which means that Netscape
reads the old image from the cache). I mean, if it was 320x200 and is
now 200x320, the browser displays the old 320x200 image stretched to
200x320.

I'm not digging into contrast and brightness, but the same happens.

Is there a way to force the browser to discard the cache for that
image? If I go "right-button, view image, shift+reload" the new
image is displayed.

Any idea? I'm not very knowledgeable on this matter, I don't design
pages for a living.

Might javascript help?


Thank you.

-- 
"This company has performed an illegal operation and will be shut down.
 If the problem persists, contact your vendor or appeal to a higher court."
 - Signal11 on slashdot

___
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 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*(" @(" @(" @('-E8W1I;VX]V5L
M9BYS96-T:6]N(" @(" @(" *(" @(" @(" @(UA'!I;F]V5L9BYM87!P
M:6YG"B @"B$@(" @(" @("!I9B!S96QF+G-OG0@:7,@;F]T($YO;F4Z"B$@
M(" @(" @(" @(" @V5Q=65N8V4]V5L9BYS;W)T7W-E75E;F-E*'-E75E
M;F-E*0H@( H@(" @(" @(" @:68@V5L9BYR979EG-E(ES(YO="!.;VYE
M.@H@(" @(" @(" @(" @('-E75E;F-E/7-E;8NF5V97)S95]S97%U96YC
M92AS97%U96YC92D*+2TM(#8U.2PV-C@@+2TM+0H@(" @(" @(" @V5C=EO
M;CUS96QF+G-E8W1I;VX@(" @(" @( H@(" @(" @(" @;6%PEN9SUS96QF
M+FUA'!I;F*(" *(2 @(" @(" @('-OG0]V5L9BYS;W)T"B$@(" @(" @
M("!I9B!S;W)T(ES(YO="!.;VYE.@HA(" @(" @(" @(" @(EF('-E;8N
MV]R=5X'(@:7,@;F]T($YO;F4Z('-OG0]V5L9BYS;W)T97APBAM9"D*
M(2 @(" @(" @(" @("!S97%U96YC93US96QF+G-OG1?V5Q=65N8V4HV5Q
M=65N8V4L('-OG0I"B @"B @(" @(" @("!I9B!S96QF+G)E=F5RV4@:7,@
M;F]T($YO;F4Z"B @(" @(" @(" @(" @V5Q=65N8V4]V5L9BYR979EG-E
M7W-E75E;F-E*'-E75E;F-E*0HJ*BHJ*BHJ*BHJ*BHJ*BH**BHJ(#P,"PW
M,3(@*BHJ*@H@( H@(" @(" @(" @F5T=7)N(')EW5L= H@( HA(" @("!D
M968@V]R=%]S97%U96YC92AS96QF+"!S97%U96YC92DZ"B @"B @(" @(" @
M(" C($UO9EF:65D('=I=@@;75L=EP;4@V]R="!F:65L9',@8GD@4F]S
MR!,87IAG5S"B @(" @(" @(" C($%PFEL(#@,C P,"!R;W-S;$!M960N
M=7-Y9"YE9'4N874*(" @(" @(" @(",@96@/1T;6P@:6X@(F9O;R(@V]R
M=#UA:V5Y+%N;W1H97)K97D^"B @(" @(" @(" *+2 @(" @(" @('-OG0]
MV5L9BYS;W)T"B @(" @(" 

[Zope] Zope dumps core while querying on id

2000-07-01 Thread Luke Tymowski

Hello,

Actually I suppose it's Python that's dumping core.

The following query causes a core dump:
dtml-with history
   dtml-with 2000
 dtml-in "objectValues(['DTML Document'])" size=3 sort=id reverse
   dtml-var sequence-itembr
 /dtml-in
   /dtml-with
/dtml-with

The following query works as expected:
dtml-with history
   dtml-with 2000
 dtml-in "objectValues(['DTML Document'])" size=3 sort=title reverse
   dtml-var sequence-itembr
 /dtml-in
   /dtml-with
/dtml-with


Any idea why?

I'm using 2.1.6.

The other day I posted a question asking why my bobobase_modification_time 
was off by 1 day. I got no answer. But upgrading from 2.1.4 to 2.1.6 seems 
to have fixed that issue. The core dump happened in 2.1.4, so I upgraded to 
2.1.6, but the core dump issue remains.

thanks,

Luke


___
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] When does Zope become single-threaded?

2000-07-01 Thread Hung Jung Lu

Hi,

I seem to remember that in the old days, if one uses Zope with PCGI, it 
would only run single-threaded. Is the correct? Or is Zope now always 
multi-threaded?

(I know one can control the number of threads via the -t option in the start 
script.)

regards,

Hung Jung


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


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