[Zope-dev] AttributeError: __call__

2000-10-04 Thread knight
I just installed a fresh copy of 2.2.1 also, and I'm getting the same issue. Any items starting with a subfolder has a __call__ AttributeError. Zope version: Zope 2.2.1 (source release, python 1.5.2, linux2) Python version: 1.5.2 (#2, Jun 3 2000, 12:50:41) [GCC 2.95.2 19991024 (release)] System

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

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

[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 price=RESULT.discountPrice(self.theRealTh

[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

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 > > th

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

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 m

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 ca

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

2000-10-04 Thread Jim Fulton
"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 the endeavor. ;-) > > What I want to do is _explicitly_ manage connections and transactions > without being able to depend on what thread is running.

[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, a

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

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 secu

[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, lin

Re: [Zope-dev] ZPatterns: SkinScript discovery

2000-10-04 Thread Steve Alexander
Steve Alexander wrote: > > "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

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: http://www.zope.org//Memb

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. >

[Zope-dev] ZPatterns: SkinScript discovery

2000-10-04 Thread Steve Alexander
I just found out that you can access all sorts of useful methods in SkinScript from the magical "_" namespace variable. Let's say I have a DataSkin that has a propertysheet "journey", which has a "steps" property of type "lines". I can expose its "steps" property as an attribute, and also a neatl

Re: [Zope-dev] ZPatterns design questions

2000-10-04 Thread Phillip J. Eby
At 03:46 PM 10/3/00 -0700, John Eikenberry wrote: > >Ok, I'm feeling pretty stupid right now but I have to ask what you mean by >"define the property sheets as part of your class"? Do you mean using >something like this in the DataSkin subclass: > >def __init__(self,id): >self.DataSkin.__init_

Re: [Zope-dev] DynPersist.so from ZPatterns 0-4-2a3

2000-10-04 Thread Steve Alexander
Danny William Adair wrote: > Hi all! > > I'm desperately looking for the DynPersist shared library (new for ZPatterns > 0-4-2a3) in compiled form. > Can someone help me (send it to me)? I'm running a Zope instance at NIP > (www.nipltd.net), that's 2.2.1 on Unix platform. comtastic.nipltd.net Y

Re: [Zope-dev] Re: CoreSessionTracking proposal

2000-10-04 Thread Anthony Baxter
>>> Toby Dickenson wrote > > Are you suggesting that the session token should actually > > store session > > data? > As an alternative SessionManager, it appears to have some advatanges that > others do not. It also has a major disadvantage, if you don't want the users to be able to monkey wit

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 /home/dolphin/skip/src/Zope/lib/python/ZPublishe

[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 My problem: There are to

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.": > > > > In earlier Zope versions, a method without a permission me

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

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