[Zope-dev] date formatting / extracting substrings

2000-09-06 Thread Jeff Nielsen / Ugo Fast
Hello out there in Zope world! Again, I'm completely baffled by Zope and the docs are no help either. I'm trying to take an input of a date in the form MM as the variable MonthID and create a string in the form Month, as a variable named MonthName. For instance, a MonthID of 29 shoul

Re: [Zope-dev] PARENTS

2000-09-06 Thread Bill Anderson
Bill Anderson wrote: > > Chris Withers wrote: > > > > From > > http://www.zope.org/Members/michel/Projects/Interfaces/PublisherRequest: > > > Deprecated attributes: > > > - PARENTS > > > > What are we supposed to use instead now? > > Glancing it over .. perhaps: > steps: list of names traversed.

Re: [Zope-dev] PARENTS

2000-09-06 Thread Bill Anderson
Chris Withers wrote: > > From > http://www.zope.org/Members/michel/Projects/Interfaces/PublisherRequest: > > Deprecated attributes: > > - PARENTS > > What are we supposed to use instead now? Glancing it over .. perhaps: steps: list of names traversed. ?? -- Do not meddle in the affairs of sy

Re: [Zope-dev] Acquisition in a DTML Tag

2000-09-06 Thread Brett Carter
> "Brett" == Brett Carter <[EMAIL PROTECTED]> writes: Brett> I've defined my own dtml tag (i.e. ) Brett> and I am trying to look up an object depending on the Brett> arguments passed to my tag. The python class that defines Brett> the tag inherits from Acquisition.Implicit, b

[Zope-dev] (no subject)

2000-09-06 Thread James Johnson
Ok I'm going over most of the ZPatterns stuff again. It seems simple enough. Yet I can't seem to put a specialist and a dataskin based ZClass in a product folder and get them to do anything persistently. I've been through all of the tutorials and can't seem to get anything to click. You know t

[Zope-dev] Test(Persistent) failing with AttributeError: __hash__

2000-09-06 Thread John D. Heintz
In the following code either I am using dictionaries wrong or I'm missing something with ExtensionClass in general. Can someone explain the best way for me to map from one instance to another? I have tried searching Zope and Python mailing lists and resources for an answer to this question but h

[Zope-dev] Acquisition in a DTML Tag

2000-09-06 Thread Brett Carter
I've defined my own dtml tag (i.e. ) and I am trying to look up an object depending on the arguments passed to my tag. The python class that defines the tag inherits from Acquisition.Implicit, but 'self' doesn't contain any of the Acquisition hiarchy. It seems like this must be possible, since t

[Zope-dev] CalendarTag, year mode image

2000-09-06 Thread Ibañez Palomar Juan David
Hi all, I'd like to release the 0.9.21 version of the CalendarTag soon, but first I want to change the year mode image, currently it's an "Y" which is not very international, I'd like to see a language neutral image. The interface of the CalendarTag is based in the Palm Pilot, but the Palm III

Re: [Zope-dev] Python 1.6, "Expected node type 12, got 312"

2000-09-06 Thread Toby Dickenson
On Wed, 06 Sep 2000 13:48:09 +, "John Hayward-Warburton (Programming account)" <[EMAIL PROTECTED]> wrote: >Hi, > >Clean build of Python 1.6 (downloaded immediately following release >notification), clean build of Zope-2.2.1-src; > >Accessing /manage brings an error in gparse.py, line 293 (as

Re: [Zope-dev] TCPWatch How-To

2000-09-06 Thread Shane Hathaway
Chris Withers wrote: > > Shane Hathaway wrote: > > TCPWatch is a simple Python script that lets you monitor a TCP > > connection. > > ...now this really is extremely useful to me, but not for Zope ;-) > > However, it did take me a while to wrap my head around it. So here's a > little How-To/Exa

[Zope-dev] Re: ZDebug questions

2000-09-06 Thread Shane Hathaway
Chris Withers wrote: > Using your sample 'bad' DTML, I got the same but the 'Contains name?' > column didn't show up :-( > > Any ideas? (yes, I was tracking down a security exception, and that > column may have been really useful ;-) My guess is you're using Zope 2.1.6. ZDebug doesn't have a wa

[Zope-dev] Python 1.6, "Expected node type 12, got 312"

2000-09-06 Thread John Hayward-Warburton (Programming account)
Hi, Clean build of Python 1.6 (downloaded immediately following release notification), clean build of Zope-2.2.1-src; Accessing /manage brings an error in gparse.py, line 293 (ast=sequence2ast) , "Expected node type 12, got 312". Anyone else seeing this? Anyone know what it means? Naturally, e

[Zope-dev] TCPWatch How-To

2000-09-06 Thread Chris Withers
Shane Hathaway wrote: > TCPWatch is a simple Python script that lets you monitor a TCP > connection. ...now this really is extremely useful to me, but not for Zope ;-) However, it did take me a while to wrap my head around it. So here's a little How-To/Example (If anyone thinks I should do thi

[Zope-dev] Distribution Tab TTW Products

2000-09-06 Thread Chris Withers
Tres Seaver wrote: > the distribution tab > products don't seem to work properly, at least not on all systems (I > tested before checking in on my RH 6.2 Linux box, where all was well; > on my NT box, a fresh checkout bombs out with a GPF!?) I noticed this too but I thought it was fixed in Zope 2

[Zope-dev] ZDebug questions

2000-09-06 Thread Chris Withers
Shane Hathaway wrote: > http://www.zope.org/Members/hathawsh/ZDebug/index_html > > ZDebug is a set of patches to Zope that help in the deciphering of DTML > errors and authorization exceptions. Because this is the first > release, remember to make a backup before installing. Saw the screenshots

Re: [Zope-dev] ZPatterns: DropZone example

2000-09-06 Thread Steve Spicklemire
Hi Steve, > "Steve" == Steve Alexander <[EMAIL PROTECTED]> writes: >> ShopperManager.InsertItemIntoShoppersBasket(shopper=aShopper, >> mi=aMarketItem, quantity=qty), Steve> Seeing as the context is clearly ShopperManger (or Steve> Shoppers), I don't think there's any need f

Re: [Zope-dev] ZPatterns: DropZone example

2000-09-06 Thread Steve Alexander
Steve Spicklemire wrote: > > Hi Steve, (and any others who might care to comment) > >I've been sorting through old ZPatterns email looking for > inspiration and I came upon this: > > > "Steve" == Steve Alexander <[EMAIL PROTECTED]> writes: > > Steve> Hi folks, > > Steve> I

Re: [Zope-dev] ZPatterns: DropZone example

2000-09-06 Thread Steve Spicklemire
Hi Steve, (and any others who might care to comment) I've been sorting through old ZPatterns email looking for inspiration and I came upon this: > "Steve" == Steve Alexander <[EMAIL PROTECTED]> writes: Steve> Hi folks, Steve> I've been looking at the DropZone example Phill

Re: [Zope-dev] Call for a creation_datetime property!

2000-09-06 Thread Toby Dickenson
On Wed, 6 Sep 2000 09:58:44 +1100 , "Jay, Dylan" <[EMAIL PROTECTED]> wrote: >It is really a painful thing to do without. I realize I can add this >capability to factories of my own objects but I don't want to have to create >my own versions of dtml-document and everything else just to ensure tha

[Zope-dev] Traversal Questions ;-)

2000-09-06 Thread Chris Withers
Evan Simpson wrote: > > From: Chris Withers <[EMAIL PROTECTED]> > > It looks like REQUEST.steps is the replacement for PARENTS? > > Is that so? Okay, so given that PARENTS is living in a 'deprecated' list on the Interfaces Wiki, what are we supposed to use instead?! > Agreed. Jim pretty much

Re: [Zope-dev] Call for a creation_datetime property!

2000-09-06 Thread Rik Hoekstra
"Jay, Dylan" wrote: > > It is really a painful thing to do without. I realize I can add this > capability to factories of my own objects but I don't want to have to create > my own versions of dtml-document and everything else just to ensure that a > creation date is kept. I've tried using tra

Re: [Zope-dev] 'import Zope' problem

2000-09-06 Thread Ibañez Palomar Juan David
This bug was reported to the Debian bug tracking system, look at http://cgi.debian.org/cgi-bin/bugreport.cgi?bug=61446 Do, $ export INSTANCE_HOME=/var/lib/zope ... > > Hi everybody, > > I am quite new to Zope and I want to use the Python debugger as > described in the How-To: The Debugg

[Zope-dev] 'import Zope' problem

2000-09-06 Thread Christian Couder
Hi everybody, I am quite new to Zope and I want to use the Python debugger as described in the How-To: The Debugger Is Your Friend. I installed Zope with the Debian zope package version 2.1.6-5, so my zope directory is /usr/lib/zope (this is where I have a lib/python directory), but I have my 'a