Re: [Zope-dev] ZCatalog uniqueValuesFor() cached?

2000-10-04 Thread Chris Withers
Stick it in the collector: http://classic.zope.org:8080/Collector/ Chris Brett Carter wrote: How can I update the uniqueValuesFor()? Whenever I delete one of my ZCatalog-aware zclasses, they are still returned in uniqueValuesFor. What gives? is this cached or something? -Brett

[Zope-dev] Re: CoreSessionTracking proposal

2000-10-04 Thread gotcha
--- In [EMAIL PROTECTED], "Chris McDonough" [EMAIL PROTECTED] wrote: Without a client-checking scheme (such as encoding the IP address in the token), a token theft attack is very easy. As voiced by others in the thread, client-checking is not reliable, should not be a default, and maybe

Re: [Zope-dev] (no subject)

2000-10-04 Thread Dieter Maurer
[EMAIL PROTECTED] writes: using LocalFS 0.95 war fine until trying to upgrade to Zope 2.2.2. Both freshly installed, the following snippet raises the error: "Unauthorized", "You are not authorized to access read.": dtml-var standard_html_header dtml-var "frei['analog.html'].read()"

[Zope-dev] How to add a SessionID to each page

2000-10-04 Thread Loibl Johann
Hi, I would like to add a SessionID at the end of each requested URL because I would like to know which pages were requested by one user in one session. For example like AMAZON does it: www.amazon.com/books?SessionID=123456 http://www.amazon.com/books?SessionID=123456 My problem: There are to

Re: [Zope-dev] Need help tracking down the cause of a traceback

2000-10-04 Thread Dieter Maurer
Hi Skip, Skip Montanaro writes: I occasionally get tracebacks like No input for required field File /home/dolphin/skip/src/Zope/lib/python/ZPublisher/HTTPRequest.py, line 445, in processInputs File

Re: [Zope-dev] ZPatterns: SkinScript discovery

2000-10-04 Thread Phillip J. Eby
Just out of curiosity, did you find this out by reading the draft SkinScript reference documentation on the ZPatterns Wiki? At 03:45 PM 10/4/00 +0100, Steve Alexander wrote: I just found out that you can access all sorts of useful methods in SkinScript from the magical "_" namespace variable.

Re: [Zope-dev] ZPatterns: SkinScript discovery

2000-10-04 Thread Steve Alexander
"Phillip J. Eby" wrote: Just out of curiosity, did you find this out by reading the draft SkinScript reference documentation on the ZPatterns Wiki? No. I just guessed. I think I might have read it in the source the other day too. I'll take a look at the wiki now:

[Zope-dev] ConflictError

2000-10-04 Thread Andre Schubert
Hi, who can tell me a story about the following error. thanks as 2000-10-04T15:49:35 INFO(0) Z2 CONFLICT Competing writes at, /Management/Geyer/Cluster_1/Verstaerker_1/Modem_7/chart_images Traceback (innermost last): File /usr/share/zope_2.2/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py,

RE: [Zope-dev] RFClarification: Security on Product Attributes

2000-10-04 Thread Brian Lloyd
If I have the following lines in a Python Product: def __init__(self, id): """initialise a new instance of product""" self.id = id self.title = 'Title!' self.anInt = 0 self.aString = 'testing' Are these attributes protected by the security

Re: [Zope-dev] Zope Suitability for Computer Lab Project

2000-10-04 Thread Andy McKay
Zope is just simply not suited to lots of writes. Use Access as the relational database and use Zope as the reporting tool using ZODBCA to connect to Access. Then you get the best of both worlds. - Original Message - From: "John Hopkins" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

[Zope-dev] ZODB

2000-10-04 Thread Roch'e Compaan
I am getting really funny problems with my Zope installation and I have no idea where to start looking. I for instance deleted a python product from the Products directory and when I start Zope the product is still listed in the Product list. I then packed the ZODB, cleared my Browser's cache,

RE: [Zope-dev] RFClarification: Security on Product Attributes

2000-10-04 Thread Phillip J. Eby
At 12:27 PM 10/4/00 -0400, Brian Lloyd wrote: I've verified (any of my previous comments to the contrary) that simple attributes (python types) do not really play in the permissions machinery. The canonical way to expose such things for now is to expose them through method calls (which can

Re: [Zope-dev] ZODB

2000-10-04 Thread Lalo Martins
For the third time, I have a similar problem. I deleted a ZClass-based Product, but the objects of those ZClasses still work - except for not having an icon or constructor, so I'm not able to create or cut/copy/paste them. Then, when I tried to import the newer version of the Product, Zope gave

[Zope-dev] Zope 2.2.2 Issue: AttributeError: __call__

2000-10-04 Thread knight
I hope I haven't overlooked anything here, and not posting ignorantly. After installing a fresh copy of Zope 2.2.2 on Python 1.5.2, everything seems to look ok. I created a new user with Manager, and then proceeded to create a subfolder for a new web site to test out some things in 2.2.2. I

Re: [Zope-dev] CORBA-ZODB: Is replacing global get_transaction() the only way...

2000-10-04 Thread John D. Heintz
Hi Jim! Glad to here from you. I don't think I'm clearly sharing the problem I'm having. See my comments below. John Heintz Jim Fulton wrote: "John D.Heintz" wrote: Hi all, I am about to embark on integrating ZODB with CORBA, Woo hoo! and am in the deep thinking phase of

[Zope-dev] Trying to catch up - what are the best Zope tools today?

2000-10-04 Thread Itai Tavor
Hi, I've been out of the Zope world for a few months... now I'm back and I need to quickly write a small-scale e-commerce application. It's got enough peculiarities to make it impossible to do with eTailer or EMarket, so I'm trying to figure out the best tools and approach to use for writing

[Zope-dev] Success! Was: Re: [Zope-dev] How is 'retrieveItem intended to work with TTWSpecialists? Specialists?

2000-10-04 Thread Steve Spicklemire
Thanks again... I just wanted to report that this worked like a treat! The actual syntax I ended up using was: WITH ProductSpecialist.getItem(self.id) COMPUTE theRealThing = (RESULT is _.None) and NOT_FOUND or RESULT WITH self.theRealThing COMPUTE

Re: [Zope-dev] ZPatterns design questions

2000-10-04 Thread Michael Bernstein
"Phillip J. Eby" wrote: Ty and I use ZClasses because you can see your changes much more quickly than if you have to restart Zope. Basing your ZClasses on DataSkin makes the limitations pretty much disappear, from our point of view, because we never put any actual "implementation" code in

Re: [Zope-dev] Trying to catch up - what are the best Zope tools today?

2000-10-04 Thread Michael Bernstein
Itai Tavor wrote: Can anyone provide a quick rundown of the best choices for building a production site at this time? I'm going to need sessions, user registration and login, and the usual array of e-commerce pieces (products, carts, orders, payments...), with all data stored in SQL. As far