Re: [Zope-dev] Python Product as DataSkin

2001-02-20 Thread Steve Alexander
Michael R. Bernstein wrote: In Zope 2.3) it is aliased to Globals.InitializeClass. So, if I'm developing this on 2.2, I need to use Globals.default__class_init__(FooClass) instead of Globals.InitializeClass(FooClass)? Yes. At least, using default__class_init__ will work on Zope 2.2 and

Re: [Zope-dev] ZPatterns goes crazy after ZClass change

2001-02-20 Thread Steve Alexander
Itai Tavor wrote: Hi, I have a Rack which uses ZClass Company for storage. I renamed Company to CompanyX and created a new Company ZClass, giving it the same methods, propertysheets and properties as CompanyX. When I tried to view editInstanceForm_html of an instance of this class, I

Re: [Zope-dev] Zope 2.3.1b1 bug? (:tokens)

2001-02-20 Thread Steve Alexander
Erik Enge wrote: Hiya. variable:tokens is a bit fubar. If I raise it on the next page it says stuff like ['item', 'item1', 'item', 'item'] ie. it repeats some of the items in variable for no apparent reason (variable contains only 'item' and 'item1'). Also, if I do:

[Zope-dev] Python Scripts Bug Question

2001-02-20 Thread Chris Withers
Hi, Got a bug and an old unanswered question: The Bug: If I use an name other than 'context' to bind to context, I quite often (but not always :-S) get a KeyError on that name. The Question: If I'm calling a Python Script from a Python Product (for example), how would I pass a namespace to

[Zope-dev] Unindex_Object, bug (Again)

2001-02-20 Thread Andy Dawkins
The bug with zope 2.3.0 that I reported with this mail: http://zope.nipltd.com/public/lists/dev-archive.nsf/ByKey/5FE0F6EF4EFF2299 Has made it in to 2.3.1b1 Can we please get rid of it this time?? Do I need to submit anything to the collector for this to happen? -Andy

Re: [Zope-dev] Unindex_Object, bug (Again)

2001-02-20 Thread Chris McDonough
Andy, Eek!! Please do submit this to the collector again. Apologies, - C - Original Message - From: "Andy Dawkins" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 20, 2001 7:18 AM Subject: [Zope-dev] Unindex_Object, bug (Again) The bug with zope 2.3.0 that I

Re: [Zope-dev] Unindex_Object, bug (Again)

2001-02-20 Thread Andy Dawkins
Chris McDonough wrote: Andy, Eek!! Please do submit this to the collector again. Apologies, - C I have submitted it to the collector with a patch, so there will be no excuses next time :) -Andy ___ Zope-Dev maillist - [EMAIL

Re: [Zope-dev] Unindex_Object, bug (Again)

2001-02-20 Thread Steve Alexander
Chris McDonough wrote: Andy, Eek!! Please do submit this to the collector again. Apologies, - C - Original Message - From: "Andy Dawkins" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 20, 2001 7:18 AM Subject: [Zope-dev] Unindex_Object, bug (Again)

Re: [Zope-dev] Python Scripts Bug Question

2001-02-20 Thread Evan Simpson
From: Chris Withers [EMAIL PROTECTED] The Bug: If I use an name other than 'context' to bind to context, I quite often (but not always :-S) get a KeyError on that name. I'll check this out. It's in the Collector, right? The Question: If I'm calling a Python Script from a Python Product

Re: [Zope-dev] Unindex_Object, bug (Again)

2001-02-20 Thread Chris Withers
Steve Alexander wrote: Can we please get rid of it this time?? Do I need to submit anything to the collector for this to happen? It is already fixed in 2.3 from public CVS. But, ominously, not in the 2.3.1b1 release ;-) cheers, Chris ___

Re: [Zope-dev] Python Scripts Bug Question

2001-02-20 Thread Chris Withers
Evan Simpson wrote: From: Chris Withers [EMAIL PROTECTED] The Bug: If I use an name other than 'context' to bind to context, I quite often (but not always :-S) get a KeyError on that name. I'll check this out. It's in the Collector, right? It is now ;-)

Re: [Zope-dev] Unindex_Object, bug (Again)

2001-02-20 Thread Martijn Pieters
On Tue, Feb 20, 2001 at 01:38:26PM +, Chris Withers wrote: Steve Alexander wrote: Can we please get rid of it this time?? Do I need to submit anything to the collector for this to happen? It is already fixed in 2.3 from public CVS. But, ominously, not in the 2.3.1b1

Re: [Zope-dev] Python Scripts Bug Question

2001-02-20 Thread Chris Withers
Evan Simpson wrote: From: Chris Withers [EMAIL PROTECTED] Cool :-) And even though I pass it in as _, it'll get bound to whatever is specified on the bindings tab, right? Nope. If you called it "fred" on the bindings tab, pass it as "fred". rats :-( How hard would it be to make it

Re: [Zope-dev] Python Scripts Bug Question

2001-02-20 Thread Evan Simpson
From: Chris Withers [EMAIL PROTECTED] Cool :-) And even though I pass it in as _, it'll get bound to whatever is specified on the bindings tab, right? Nope. If you called it "fred" on the bindings tab, pass it as "fred". Cheers, Evan @ digicool 4-am

RE: [Zope-dev] Unindex_Object, bug (Again)

2001-02-20 Thread Brian Lloyd
It is already fixed in 2.3 from public CVS. But, ominously, not in the 2.3.1b1 release ;-) Probably because the fix was checked in *after* the 2.3.1b1 release. Steve was pointing out tthat the fix is on the 2.3 branch, which means it will be in the next 2.3 series release (likely to be

[Zope-dev] Re: Photo Product Strangeness

2001-02-20 Thread Ron Bickers
I noticed this behavior a while ago. The author said he didn't have time to mess with it and it was a low priority. I've been able to get the photos back the way they should be by some combination of saving properties on the properties screen and other such fumbling around. I haven't bothered

[Zope-dev] Editing DTML Documents

2001-02-20 Thread Philipp von Weitershausen
Hi there, Is there an efficient way to use an external editor to edit DTML Documents? Some people in my homepage group are tired of the ZMI and I can understand them, especially because of a lack of syntax highlighting. There is the possibility of copy'n'paste and upload again, but that's

Re: [Zope-dev] Python Scripts Bug Question

2001-02-20 Thread Evan Simpson
From: Chris Withers [EMAIL PROTECTED] I'm calling a python script with the context bound to, lets say, 'fred'. I call the python script like this: result = self.aq_acquire(variable_containing_name_of_PS)(a_dictionary) ...where self is an instance of my python product, and a_dictionary, is,

Re: [Zope-dev] Python Scripts Bug Question

2001-02-20 Thread Chris Withers
Evan Simpson wrote: "aimed at"? This will pass the dictionary as a single positional parameter. It won't do anything with bound names or keyword parameters. Cool, that's what I meant... I just wondered if the way I was calling it might have had something to do with cotnext not being bound

Re: [Zope-dev] Editing DTML Documents

2001-02-20 Thread Martijn Pieters
On Tue, Feb 20, 2001 at 03:54:29PM +0100, Philipp von Weitershausen wrote: Hi there, Is there an efficient way to use an external editor to edit DTML Documents? Some people in my homepage group are tired of the ZMI and I can understand them, especially because of a lack of syntax

[Zope-dev] Re: Photo Product Strangeness

2001-02-20 Thread Michael R. Bernstein
Ron Bickers wrote: I noticed this behavior a while ago. The author said he didn't have time to mess with it and it was a low priority. I've been able to get the photos back the way they should be by some combination of saving properties on the properties screen and other such fumbling

[Zope-dev] Re: [Zope] New Python Script Logo?

2001-02-20 Thread Andy Dawkins
[EMAIL PROTECTED] wrote: Hi, Here's take II of the funky logo for python scripts (adapted from the Win32 Python distribution) This one is transaparent where it needs to be... enjoy :-) Chris Totally Groovy Its made its way in to my Zope installation's -Andy

[Zope-dev] Re: Photo Product Strangeness

2001-02-20 Thread Ron Bickers
I'll take a look at it when I get a chance. I just moved into my new house (perhaps you've seen the photos using the Photo product at bickersfamily.org) and I don't have everything setup yet. It sounds like it might be something fairly simple to fix once you know what you're looking for.

Re: [Zope-dev] ZCatalog Lazy Results

2001-02-20 Thread Casey Duncan
--- Johan Carlsson [EMAIL PROTECTED] wrote: Hi, I need to check an assumption I have made on the ZCatalog Brains and Lazy Results from reading the source. 1. The Brains gets its schema from the ZCatalog and this schema is basicly fixed. E.g. a search result always has the

Re: [Zope-dev] ZCatalog Lazy Results

2001-02-20 Thread Johan Carlsson
I would rather be able to construct a Brain Schema at search time equivalent to the way theSELECT statement sets up the result attributes in SQL. Example: resultset = Catalog.searchResults(query,schema=('id','title','keywords')) Why is this important? I would

[Zope-dev] Product release: ExtFile/ExtImage 1.1.0.beta1

2001-02-20 Thread Gregor Heine
ExtFile/ExtImage Product 1.1.0.beta1 has just been released. Get it at http://www.zope.org/Members/MacGregor/ExtFile The new Version comes with many, many internal changes and some new features which will (hopefully) make ExtFile/ExtImage even more reliable: - You can set a 'level of undo'

Re: [Zope-dev] Zope 2.2.4 Dying

2001-02-20 Thread Dieter Maurer
Andre Schubert writes: my problems are going on :( and i need help. ... 2001-02-19T20:21:07 ERROR(200) zdaemon zdaemon: Mon Feb 19 21:21:07 2001: Aiieee! 20154 exited with error code: 13 This is a SIGPIPE. Zope probably has opened a communication (socket or pipe) with an external process

[Zope-dev] kill Zserver zombie channels

2001-02-20 Thread JĂșlio Dinis Silva
Hi, blatantly taken from ZServer/HTTPServer.py and adultered is this code to kill zhttp channels used in zope by way of an external method: def killzombies(): import ZServer from ZServer import HTTPServer from ZServer import medusa from ZServer.medusa import

Re: [Zope-dev] ZCatalog Lazy Results

2001-02-20 Thread Johan Carlsson
How many is "a lot" of meta datas? At least 20-30. Johan Catalog.searchResults(query,schema=('id','title','keywords')) Why is this important? I would suggest not putting big stuff in the meta-data that might warrant this. Just use the nifty new (v2.3) getObject

[Zope-dev] DTML Documents/Folders in ZClasses fail to access anything

2001-02-20 Thread Itai Tavor
Hi, I got a ZClass 'Test', with a DTML Method 'view' containing dtml-var id, and a DTML Document 'view2' with the same line. instance/view works. instance/view2 returns (ZDebug output): Error type: Unauthorized Error value: The object /test/view2, which is contained in /test/view2, is marked

Re: [Zope-dev] ZPatterns goes crazy after ZClass change

2001-02-20 Thread Phillip J. Eby
At 10:29 AM 2/21/01 +1100, Itai Tavor wrote: I think I've severely misunderstood how Racks work. I thought persistent Racks just store properties, and then use the ZClass set in the Storage tab to wrap that data when providing it. Which means that I can change the class set for storage and

[Zope-dev] FTP error messages

2001-02-20 Thread richard
One of our developers just spent another annoying morning trying to figure why his FTP transfers to Zope were sometimes responding with "426 Error creating file." with no other information being supplied. I've now added the ability to set the message to be sent back to the FTP client on

Re: [Zope-dev] FTP error messages

2001-02-20 Thread Jonothan Farr
I've now added the ability to set the message to be sent back to the FTP client on FTPResponse. The patch is attached. We'll be using it and I hope that it, or something similar, makes it into the 2.3.1. Try submitting it to the collector. It's likely to get lost on the mailing list. --jfarr