[Zope] Zope 2.3b2 uploading File bug (win32)? (also LocalFS?)
When I try to add a new "File"... it gets an AttributeError. This doesn't seem to be a problem under a Linux install, but does under my Win32 install. Any advice? A created a new user etc.. wasn't done as the default user. Had full manager privileges. Also the LocalFS product seems to have trouble too, when I try to create the object. Could this be related? (also on Win32) Anyone else experienced this? Thanks, Alex. -- Zope Error Zope has encountered an error while publishing this resource. exceptions.AttributeError Sorry, a Zope error occurred. Traceback (innermost last): File C:\PROGRA~1\WebSite\lib\python\ZPublisher\Publish.py, line 222, in publish_module File C:\PROGRA~1\WebSite\lib\python\ZPublisher\Publish.py, line 179, in publish File C:\PROGRA~1\WebSite\lib\python\Zope\__init__.py, line 240, in abort File C:\PROGRA~1\WebSite\lib\python\ZODB\Transaction.py, line 163, in abort File C:\PROGRA~1\WebSite\lib\python\ZODB\Connection.py, line 433, in abort_sub AttributeError: _creating On Tue, 23 Jan 2001 10:35:11 +0100 ... Paul Zwarts [EMAIL PROTECTED] wrote: 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 ___ 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 ) Digital Garage [EMAIL PROTECTED] http://www.garage.co.jp/ http://www.zope.ne.jp/ http://www.webnation.co.jp/ ___ 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-dev] Inheritable Propertysheets!???!!?!?!?!!
Thanks, that does seem to do the trick. :) Much appreciation!! I added a propertysheets like this: ParentClass.Propertysheet.defaultProps.someprop ChildClass1.Propertyshoot.props.someprop ChildClass2.Propertyshoot.props.someprop (to override the parent's default when needed) It sees the ChildClass' "someprop" first so it doesn't go look for the parent's prop. This is useful for making lots of classes with only a few changed properties, but the bulk of which can be inherited. Alex. On Wed, 18 Oct 2000 10:50:44 +0100 "Seb Bacon" [EMAIL PROTECTED] wrote: AFAIK (but I'm no expert), a ZClass inherits its parents' propertysheets and you can access them in the normal way. The problem is that the all the propertysheets have to have different names. Example: If your parent class and the child class both have a property sheet called "Basic", but the child class is hoping to inherit someproperty from the parent class: ParentClass.Propertysheets.Basic.someproperty is ok, but ChildClass.Propertysheets.Basic.someproperty won't work, because "someproperty" is not in ChildClass's "Basic" propertysheet. If your parent class and child class do not share propertysheets with the same name, you *can* access parent properties: ChildClass.Propertysheets.ChildSheet.anotherproperty ChildClass.Propertysheets.Basic.someproperty will both work. If I'm correct, this is all wrong and a bad thing, surely? However that was the worst-explained thing I've ever been responsible for and it's probably wrong. That particular configuration of punctuation in the subject header just struck a chord with me... seb. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alexander Schonfeld Sent: 18 October 2000 10:25 To: [EMAIL PROTECTED] Subject: Re: [Zope-dev] Inheritable Propertysheets!???!!?!?!?!! I guess I can just use dtml methods that return lists and stuff, but is that as cool? On Wed, 18 Oct 2000 18:21:33 +0900 Alexander Schonfeld [EMAIL PROTECTED] wrote: I'm doing an experiment... If I add more '!' and '?' marks will I get a response. Soon with enough experimentation I can find the optimal number and frequency of variation. I want to inherit the properties of one zclass in another zclass, but it seems to cause some namespace clashing... shouldn't this be possible? Working with the instance of the class is fine, but inter-zclass inheritance (acquisition?) would be nice... Cool feature? Am I missing something? Thanks, Alex. 1010011010101001101010100110101010011010 0 Digital Garage$B!!%G%8%?%k<V8K!!(B:) 1 Alexander Schonfeld 0 [EMAIL PROTECTED] - pear - 03-5454-7219 1 http://www.zope.ne.jp/ http://www.garage.co.jp ___ 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 ) 1010011010101001101010100110101010011010 0 Digital Garage$B!!%G%8%?%k<V8K!!(B:) 1 Alexander Schonfeld 0 [EMAIL PROTECTED] - pear - 03-5454-7219 1 http://www.zope.ne.jp/ http://www.garage.co.jp ___ 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 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 ) 1010011010101001101010100110101010011010 0 Digital Garage$B!!%G%8%?%k<V8K!!(B:) 1 Alexander Schonfeld 0 [EMAIL PROTECTED] - pear - 03-5454-7219 1 http://www.zope.ne.jp/ http://www.garage.co.jp ___ 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] Inheritable properties(sheets)? Anyone? Anyone? Bueller?
I want to inherit the properties of one zclass in another zclass, but it seems to cause some namespace clashing... shouldn't this be possible? Working with the instance of the class is fine, but inter-zclass inheritance (acquisition?) would be nice... Am I missing something? Thanks, Alex. 1010011010101001101010100110101010011010 0 Digital Garage$B!!%G%8%?%k<V8K!!(B:) 1 Alexander Schonfeld 0 [EMAIL PROTECTED] - pear - 03-5454-7219 1 http://www.zope.ne.jp/ http://www.garage.co.jp ___ 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] Suggestion: Zope.org, products and testing...
On the zope.org site, how about adding a property for products: "tested versions of Zope". That way we could know, without doing all the testing ourselves, whether or not a product was useable. Thanks, Alex. 1010011010101001101010100110101010011010 0 Digital Garage$B!!%G%8%?%k<V8K!!(B:) 1 Alexander Schonfeld 0 [EMAIL PROTECTED] - pear - 03-5454-7219 1 http://www.zope.ne.jp/ http://www.garage.co.jp ___ 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 + ZSQLmethods bug in 2.2.2?
Hi, I've seen lots of ZSQLmethods patches and such and tried a few of them under 2.1.6, but thought upgrading to 2.2.2 would fix this problem. It didn't. Basically: 1. Create a ZClass 2. Inside create a DTML method and ZSQLmethod 3. from the dtml method call the ZSQLmethod 4. do a dtml-with "myClassInstanceObj" dtml-var myMethod /dtml-with 5. get a Unauthorized error no matter what the access privileges are set to This is with the "MySQLda". Is there a newer MySQLda somewhere that fixes this? Or some patch (that works with 2.2.2???)?! Running 2.2.2 from source... now with less hair... Sincerely, Alex. Zope Error Zope has encountered an error while publishing this resource. Unauthorized You are not authorized to access sqlGetValue. Traceback (innermost last): File /Zope-2.2.2/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /Zope-2.2.2/lib/python/ZPublisher/Publish.py, line 187, in publish File /Zope-2.2.2/lib/python/ZPublisher/Publish.py, line 171, in publish File /Zope-2.2.2/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: testmeth) File /Zope-2.2.2/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: testmeth) File /Zope-2.2.2/lib/python/OFS/DTMLMethod.py, line 172, in __call__ (Object: testmeth) File /Zope-2.2.2/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: testmeth) File /Zope-2.2.2/lib/python/DocumentTemplate/DT_With.py, line 146, in render (Object: testcrp) File /Zope-2.2.2/lib/python/OFS/DTMLMethod.py, line 168, in __call__ (Object: craptest) File /Zope-2.2.2/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: craptest) File /Zope-2.2.2/lib/python/DocumentTemplate/DT_In.py, line 633, in renderwob (Object: sqlGetValue(tableId='Artist',columnId='Name',keyId='3f69016017c39d5da0a1d60d0a98dbed55d46414')) File /Zope-2.2.2/lib/python/DocumentTemplate/DT_Util.py, line 331, in eval (Object: sqlGetValue(tableId='Artist',columnId='Name',keyId='3f69016017c39d5da0a1d60d0a98dbed55d46414')) (Info: sqlGetValue) File /Zope-2.2.2/lib/python/OFS/DTMLMethod.py, line 194, in validate (Object: testmeth) File /Zope-2.2.2/lib/python/AccessControl/SecurityManager.py, line 139, in validate File /Zope-2.2.2/lib/python/AccessControl/ZopeSecurityPolicy.py, line 209, in validate Unauthorized: (see above) 1010011010101001101010100110101010011010 0 Digital Garage$B!!%G%8%?%k<V8K!!(B:) 1 Alexander Schonfeld 0 [EMAIL PROTECTED] - pear - 03-5454-7219 1 http://www.zope.ne.jp/ http://www.garage.co.jp ___ 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 )